RhinoCommon API
ColorHSLCreateFromLAB Method |
Create the nearest HSL equivalent of a LAB color.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
public static ColorHSL CreateFromLAB( ColorLAB lab )
Public Shared Function CreateFromLAB ( lab As ColorLAB ) As ColorHSL
Parameters
- lab
- Type: Rhino.DisplayColorLAB
Target color in LAB space.
Return Value
Type: ColorHSLThe HSL equivalent of the LAB color.