Vcl.GraphUtil.ColorHLSToRGB
Delphi
function ColorHLSToRGB(Hue, Luminance, Saturation: Word): TColorRef;
C++
extern DELPHI_PACKAGE unsigned __fastcall ColorHLSToRGB(System::Word Hue, System::Word Luminance, System::Word Saturation);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.GraphUtil.pas Vcl.GraphUtil.hpp |
Vcl.GraphUtil | Vcl.GraphUtil |
Description
Returns a converted color from HLS to RGB.
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.