Hi,

Normally this is how I use to set the background color of my pushbutton:
Qt Code:
  1. colorButton->setStyleSheet("background:red;");
To copy to clipboard, switch view to plain text mode 
But how do you do it using RGB colors?
This doesn't work:
Qt Code:
  1. colorButton->setStyleSheet("background:QColor(200,100,150);");
To copy to clipboard, switch view to plain text mode