Click or drag to resize

ColorHSLCreateFromXYZ Method

Create the nearest HSL equivalent of an XYZ color.

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


Type: Rhino.DisplayColorXYZ
Target color in XYZ space.

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also