ColorHSL.CreateFromXYZ Method
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.7
See Also