Difference between revisions of "XYZToColor"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function XYZToColor(X, Y, Z: Extended): Integer; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Converts ...") |
(→See Also) |
||
Line 23: | Line 23: | ||
*[[ColorToXYZ]] | *[[ColorToXYZ]] | ||
*[[XYZToRGB]] | *[[XYZToRGB]] | ||
− | *[[ | + | *[[XYZToHSL]] |
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Color Functions]] | [[Category:Color Functions]] | ||
[[Category:Conversion Functions]] | [[Category:Conversion Functions]] |
Latest revision as of 19:38, 5 July 2011
Definition
function XYZToColor(X, Y, Z: Extended): Integer;
Availability
SCAR Divi 3.00 > Current
Description
Converts XYZ values specified by X, Y and Z to a regular color value. The result can be split back into XYZ values using ColorToXYZ.
Example
begin WriteLn(XYZToColor(75, 50, 30)); end.
Output:
9143090