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 ...")
 
(See Also)
 
Line 22: Line 22:
 
==See Also==
 
==See Also==
 
*[[ColorToHSL]]
 
*[[ColorToHSL]]
*[[HSLToHSL]]
+
*[[HSLToRGB]]
 
*[[HSLToXYZ]]
 
*[[HSLToXYZ]]
  

Latest 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