BCGControlBar Pro for MFC
void CBCGPToolBarImages::AdaptColors ( COLORREF  clrBase,
COLORREF  clrTone,
BOOL  bClampHue = TRUE 
)

Replaces encapsulated image list color with specified tone color. All colors with similar hue component (specified by clrBase parameter) will be replaced with adapted colors based on clrTone.

Parameters
clrBaseBase image color (source).
clrToneTone image color (destination).
bClampHueSpecifies whether hue value of result colors should be clamped.