RhinoCommon API
ColorLCHCreateFromXYZ Method |
Create the nearest LCH equivalent of an XYZ color.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

public static ColorLCH CreateFromXYZ( ColorXYZ xyz )
Public Shared Function CreateFromXYZ ( xyz As ColorXYZ ) As ColorLCH
Parameters
- xyz
- Type: Rhino.DisplayColorXYZ
Target color in XYZ space.
Return Value
Type: ColorLCHThe LCH equivalent of the XYZ color.

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