ColorXYZ.CreateFromHSL Method

ColorXYZCreateFromHSL Method

Create the nearest XYZ equivalent of an HSL color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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: ColorXYZ
The XYZ equivalent of the HSL color.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also