RhinoCommon API
ColorLCHCreateFromHSL Method |
Create the nearest LCH equivalent of an HSL color.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
public static ColorLCH CreateFromHSL( ColorHSL hsl )
Public Shared Function CreateFromHSL ( hsl As ColorHSL ) As ColorLCH
Parameters
- hsl
- Type: Rhino.DisplayColorHSL
Target color in HSL space.
Return Value
Type: ColorLCHThe LCH equivalent of the HSL color.