HSLToColor

From SCAR Divi Manual
Revision as of 18:14, 5 July 2011 by Freddy (talk | contribs) (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 ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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