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 | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (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.14