ImageEn, unit hyieutils

RGB2HSL


Declaration

procedure RGB2HSL(px: TRGB; var Hue, Sat, Lum: Double);


Description

Converts a TRGB color to HSL values.

Note: Hue, Sat and Lum will be in range 0 to 1.


See Also

CreateRGB
HSL2RGB
RGB2HSV
TRGB2TColor
TColor2TRGB