System.UIConsts.RGBtoHSL

提供: RAD Studio API Documentation
移動先: 案内検索

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)の値を取り出して返します。

関連項目