HSLToColor

From SCAR Divi Manual
Revision as of 18:14, 5 July 2011 by Freddy (talk | contribs) (See Also)
(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