RAD Studio VCL Reference
|
Returns a converted color from RGB to HLS.
procedure ColorRGBToHLS(clrRGB: TColorRef; var Hue: Word; var Luminance: Word; var Saturation: Word);
ColorRGBToHLS(TColorRef clrRGB, Word Hue, Word Luminance, Word Saturation);
ColorRGBToHLS converts colors from RGB (Red, Green, Blue) to HLS/HBS (Hue, Lightness, Saturation/Hue, Brightness, Saturation).
TColorRef represents the base color.
Hue represents the hue.
Luminance represents the luminance.
Saturation represents the saturation.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|