Home
|
GR32
|
|
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-2012 Alex Denisov and the Graphics32 Team - Graphics32 v1.9.1 - Build on 28-August-2012