Replymessage unavailable
@Numerlor you can get the background color of a widget from the widget's palette property. The color role you want is either QPalette.Window or QPalette.Button, depending on the widget. Have a look at the QPalette docs for more information.