BCGControlBar Pro for MFC
BOOL CBCGPColor::ReplaceColors ( COLORREF  clrOld,
COLORREF  clrNew 
)

If the color matches the clrOld parameter, clrNew will take its place.

Parameters
clrOldThe source color.
clrNewThe destination color.