System.UIConsts.RGBtoHSL
Delphi
procedure RGBtoHSL(RGB: TAlphaColor; out H, S, L: Single);
C++
extern DELPHI_PACKAGE void __fastcall RGBtoHSL(System::Uitypes::TAlphaColor RGB, /* out */ float &H, /* out */ float &S, /* out */ float &L);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.UIConsts.pas System.UIConsts.hpp |
System.UIConsts | System.UIConsts |
Description
Returns the HSL values from a specific alpha color.
The RGBtoHSL method returns the Hue (H
), Saturation (S
), Luminance (L
) values obtained from the given RGB
alpha color.