Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Currently i am setting the color of the QMainWindow using this line of code.
w.setStyleSheet("QMainWindow {background: 'lightgrey';}");
How can i set the color by RGB values like (255 , 255 ,255)
Hi,
You can use rgb(255, 255, 255). There's an example here in the documentation.
rgb(255, 255, 255)