BCGSuite for MFC
int CBCGPColorComboBox::SelectColor ( COLORREF  color)

Select a color with a specified RGB value.

Parameters
colorAn RGB value of color to be selected.
Returns
Zero-based index of the selected color or CB_ERR if there is no color with a given RGB value.