Added convenience method to convert RGBColor to QRgb.