RhinoCommon API
ColorXYZCreateFromLAB Method |
Create the nearest XYZ equivalent of a Lab color.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)

public static ColorXYZ CreateFromLAB( ColorLAB lab )
Public Shared Function CreateFromLAB ( lab As ColorLAB ) As ColorXYZ
Parameters
- lab
- Type: Rhino.DisplayColorLAB
Target color in LAB space.
Return Value
Type: ColorXYZThe XYZ equivalent of the LAB color.

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