BCGSuite for MFC
void CBCGPBrush::AdaptColors ( COLORREF  clrBase,
COLORREF  clrTone,
BOOL  bClampHue = TRUE 
)

Replaces colors with specified tone color. If the clrBase parameter specifies a similar hue component for the brush's color, it will replace it with an adapted color based on clrTone.

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