ColorHSL.CreateFromHSV Method

ColorHSLCreateFromHSV Method

Constructs the nearest HSL equivalent of an HSV color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static ColorHSL CreateFromHSV(
	ColorHSV hsv
)
Public Shared Function CreateFromHSV ( 
	hsv As ColorHSV
) As ColorHSL

Parameters

hsv
Type: Rhino.DisplayColorHSV
Target color in HSV space.

Return Value

Type: ColorHSL
The HSL equivalent of the HSV color.
Version Information

Rhino for Windows

Supported in: 6.14
See Also