BCGControlBar Pro for MFC
void CBCGPColorPickerCtrl::GetHLS ( double *  hue,
double *  luminance,
double *  saturation,
int  nIndex = -1 
)

Retrieves the hue, luminance and saturation values of the selected color

Call this function to retrieve the hue, luminance and saturation values of the selected color.

Parameters
huePointer to the double value to receive a hue information
luminancePointer to the double value to receive a luminance information
saturationPointer to the double value to receive a saturation information
nIndexSpecifies a color index. If this parametr is -1, the currently selected color is used.