2.1.6.37 RGBtoLCH


Description

convert RGB color to LCH

Syntax

void RGBtoLCH(COLORREF cr, double* L, double* C, double* H)

Parameters

cr
[input] rgb values to convert
L
[output] pointer to receive Lightness
C
[output] pointer to receive Chroma
H
[output] pointer to receive Hue

Return

Examples

Remark

See Also

LCHtoRGB

Header to Included

origin.h

Reference