HSLtoRGB

Graphics32

HSLtoRGB

function HSLtoRGB(H, S, L: Single): TColor32; overload;

function HSLtoRGB(H, S, L: Integer): TColor32; overload;

Description

Conversion from HSL to RGB color space. Each argument should normally be in [0…1] range for the float version and in the [0...255] range for the integer version, although the H value is automatically wrapped.

See Also

Gray32, RGBtoHSL, TColor32