void RGBtoHLS (r, g, b, h, l, s) COLOR.C Level 13
 
int r, g, b The input red, green, and blue values. r, g, and b range from 0 to 63.
int *h, *l, *s Pointers to the output hue (0360), lightness (0100) and saturation (0100) values
 
RGBtoHLS() converts color representations in the RGB color system to the hue, lightness and saturation (HLS) system.