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

public static ColorXYZ CreateFromHSL( ColorHSL hsl )
Public Shared Function CreateFromHSL ( hsl As ColorHSL ) As ColorXYZ
Parameters
- hsl
- Type: Rhino.DisplayColorHSL
Target color in HSL space.
Return Value
Type: ColorXYZThe XYZ equivalent of the HSL color.

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