RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
GraphUtil.ColorHLSToRGB Function

Returns a converted color from HLS to RGB.

Pascal
function ColorHLSToRGB(Hue: Word; Luminance: Word; Saturation: Word): TColorRef;
C++
TColorRef ColorHLSToRGB(Word Hue, Word Luminance, Word Saturation);

ColorHLSToRGB converts colors from HLS/HBS (Hue, Lightness, Saturation/Hue, Brightness, Saturation) to RGB (Red, Green, Blue).  

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!