RhinoCommon API
ColorXYZ Structure |
Represents an XYZ (Hue, Saturation, Luminance) color with double precision floating point channels.
XYZ colors are based on the CIE 1931 XYZ color space standard and they mimic the natural
sensitivity of cones in the human retina.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

The ColorXYZ type exposes the following members.

Name | Description | |
---|---|---|
![]() | ColorXYZ(Color) |
Constructs a new instance of ColorXYZ that is equivalent to an RGB color.
|
![]() | ColorXYZ(Double, Double, Double) |
Constructs a new instance of ColorXYZ with custom channel values.
|
![]() | ColorXYZ(Double, Double, Double, Double) |
Constructs a new instance of ColorXYZ with custom channel values.
|

Name | Description | |
---|---|---|
![]() | A |
Gets or set the Alpha channel value. Channel will be limited to 0~1.
|
![]() | X |
Gets or set the X channel value. Channel will be limited to 0~1.
|
![]() | Y |
Gets or set the Y channel value. Channel will be limited to 0~1.
|
![]() | Z |
Gets or set the Z channel value. Channel will be limited to 0~1.
|

Name | Description | |
---|---|---|
![]() ![]() | CreateFromCMYK |
Create the nearest XYZ equivalent of a CMYK color.
|
![]() ![]() | CreateFromHSL |
Create the nearest XYZ equivalent of an HSL color.
|
![]() ![]() | CreateFromHSV |
Constructs the nearest XYZ equivalent of an HSV color.
|
![]() ![]() | CreateFromLAB |
Create the nearest XYZ equivalent of a Lab color.
|
![]() ![]() | CreateFromLCH |
Create the nearest XYZ equivalent of an LCH color.
|
![]() | Equals | (Inherited from ValueType.) |
![]() | GetHashCode | (Inherited from ValueType.) |
![]() | GetType | (Inherited from Object.) |
![]() | ToString | (Inherited from ValueType.) |

Name | Description | |
---|---|---|
![]() ![]() | (ColorXYZ to Color) |
Implicitly converts a XYZ color into a .Net library color.
|

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8