ColorLAB.CreateFromHSL Method

ColorLABCreateFromHSL Method

Create the nearest LAB equivalent of an HSL color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static ColorLAB CreateFromHSL(
	ColorHSL hsl
)
Public Shared Function CreateFromHSL ( 
	hsl As ColorHSL
) As ColorLAB

Parameters

hsl
Type: Rhino.DisplayColorHSL
Target color in HSL space.

Return Value

Type: ColorLAB
The LAB equivalent of the HSL color.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also