HSLToColor

From SCAR Divi Manual
Jump to: navigation, search

Definition

function HSLToColor(H, S, L: Extended): Integer;

Availability

SCAR Divi 3.00 > Current

Description

Converts HSL values specified by H, S and L to a regular color value. The result can be split back into HSL values using ColorToHSL.

Example

begin
  WriteLn(HSLToColor(25, 50, 75));
end.

Output:

10477503

See Also