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