Home | GR32 |
RGBtoHSL
procedure RGBtoHSL(RGB: TColor32; var H, S, L : Single); overload;
procedure RGBtoHSL(RGB: TColor32; var H, S, L : Byte); overload;
Description
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.
See Also
Copyright ©2000-2007 Alex Denisov and Contributors - Graphics32 v1.8.3 - Build on 4-March-2007