ColorHSL.CreateFromLCH Method

ColorHSLCreateFromLCH Method

Create the nearest HSL equivalent of a LCH color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static ColorHSL CreateFromLCH(
	ColorLCH lch
)
Public Shared Function CreateFromLCH ( 
	lch As ColorLCH
) As ColorHSL

Parameters

lch
Type: Rhino.DisplayColorLCH
Target color in LCH space.

Return Value

Type: ColorHSL
The HSL equivalent of the LCH color.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also