Click or drag to resize

ColorHSL Constructor (Color)

Constructs a new instance of ColorHSL that is equivalent to an RGB color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public ColorHSL(
	Color rgb
)

Parameters

rgb
Type: System.DrawingColor
RGB color to mimic.
Remarks
Exact conversions between color spaces are often not possible.
Version Information

Rhino for Mac

Supported in: 5.4 WIP

Rhino for Windows

Supported in: 6.0 BETA
See Also