Difference between revisions of "HSLToColor"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function HSLToColor(H, S, L: Extended): Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Converts ...")
(No difference)

Revision as of 18:14, 5 July 2011

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