RhinoCommon API
ColorHSVCreateFromHSL Method |
Constructs the nearest HSV equivalent of an HSL color.
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0

public static ColorHSV CreateFromHSL( ColorHSL hsl )
Public Shared Function CreateFromHSL ( hsl As ColorHSL ) As ColorHSV
Parameters
- hsl
- Type: Rhino.DisplayColorHSL
Target color in HSL space.
Return Value
Type: ColorHSVThe HSV equivalent of the HSL color.
