ColorHSL.CreateFromCMYK Method
Click or drag to resize

ColorHSLCreateFromCMYK Method

Create the nearest HSL equivalent of a CMYK color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static ColorHSL CreateFromCMYK(
	ColorCMYK cmyk
)

Parameters

cmyk
Type: Rhino.DisplayColorCMYK
Target color in CMYK space.

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.7
See Also