ImageEn, unit hyieutils

ColorToHSL


Declaration

procedure ColorToHSL(cl: TColor; var Hue, Sat, Lum: Double);


Description

Converts a TColor to HSL values.

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