Click or drag to resize

ColorRGBACreateFromXYZ Method

Create the nearest RGBA equivalent of an XYZ color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public static ColorRGBA CreateFromXYZ(
	ColorXYZ xyz
)

Parameters

xyz
Type: Rhino.DisplayColorXYZ
Target color in XYZ space.

Return Value

Type: ColorRGBA
The RGBA equivalent of the XYZ color.
See Also