System.UIConsts.RGBtoHSL

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also