Click or drag to resize

ColorHSLCreateFromXYZ Method

Create the nearest HSL equivalent of an XYZ color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static ColorHSL CreateFromXYZ(
	ColorXYZ xyz
)

Parameters

xyz
Type: Rhino.DisplayColorXYZ
Target color in XYZ space.

Return Value

Type: ColorHSL
The HSL equivalent of the XYZ color.
See Also