Clamp colours for QColor