procedure RGBtoHSL(RGB: TColor32; var H, S, L : Single); overload;
procedure RGBtoHSL(RGB: TColor32; var H, S, L : Byte); overload;
Conversion from RGB to HSL color space. The H, S and L components are returned in corresponding var parameters ranging from 0 to 1 for the float version and 0 to 255 for the byte version.
Copyright ©2000-2024 Alex Denisov and the Graphics32 Team - Graphics32 2.0 - Help file built on 18 Feb 2024