Navigation: Scripting Reference Manual > Functions & Subroutines > TriStimulusToRGB

 

TriStimulusToRGB

 

Contact Us: fredsupport@photonengr.com

 

Description

Converts a tristimulus XYZ  value to RGB values.

 

Syntax

TriStimulusToRGB x, y, z, r, g, b

 

Parameters

x As Double

The X component of the tristimulus value to be converted

 

y As Double

The Y component of the tristimulus value to be converted

 

z As Double

The Z component of the tristimulus value to be converted

 

r As Integer

The red component of the RGB value

 

g As Integer

The green component of the RGB value

 

b As Integer

The blue component of the RGB value

 

Remarks

This subroutine converts a tristimulus XYZ  value to RGB values. This subroutine does not give any error messages.

 

See Also

WavelengthToRGB

WavelengthToTriStimulus

RGBToTriStimulus

 

 

 

 

 

Copyright © Photon Engineering, LLC