BCGSuite for MFC
int CBCGPColorComboBox::FindIndexByColor ( COLORREF  color) const

Searches for the item which has a given color.

Parameters
colorThe color.
Returns
The found index by color.