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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.UIConsts.pas System.UIConsts.hpp |
System.UIConsts | System.UIConsts |
説明
指定したアルファ色から HSL 値を返します。
RGBtoHSL メソッドは、指定したアルファ色RGB
から色相(H
)、彩度(S
)、輝度(L
)の値を取り出して返します。