ColorHSLCreateFromLCH Method |
Create the nearest HSL equivalent of a LCH color.
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic 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:
ColorHSLThe HSL equivalent of the LCH color.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also