Click or drag to resize

ColorRGBACreateFromHSL Method

Constructs the nearest RGBA equivalent of an HSV color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public static ColorRGBA CreateFromHSL(
	ColorHSL hsl
)

Parameters

hsl
Type: Rhino.DisplayColorHSL
Target color in HSL space.

Return Value

Type: ColorRGBA
The RGBA equivalent of the HSL color.
See Also