BCGControlBar Pro for MFC
void CBCGPBrush::InvertLuminosity ( )

Inverts the brush color's luminosity.