XYZToColor

From SCAR Divi Manual
Revision as of 20:38, 5 July 2011 by Freddy (talk | contribs) (See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

See Also