convert RGB color to LCH
void RGBtoLCH(COLORREF cr, double* L, double* C, double* H)
LCHtoRGB
origin.h