right click on form -> change style sheet -> add gradient -> apply -> ok
right click on form -> change style sheet -> add gradient -> background-color - apply -> ok, also make sure QtDesigner should show the background color.

is there a way to change a label color dynamically like if some value is one label color will be read and other wise green
you can use setStyleSheet() in run time