Well, you can always print the color to debug output:
Qt Code:
  1. #include <QtDebug>
  2. ...
  3. qDebug() << color;
To copy to clipboard, switch view to plain text mode 
Or you can fill a widget with the color so you can see it with your own eyes:
Qt Code:
  1. widget->setStyleSheet(QString("background: %1").arg(color.name()));
To copy to clipboard, switch view to plain text mode