Click or drag to resize
ColorCMYKFromHSL Method (Single, Single, Single, Single)
Converts the given HSL color to the CMYK color space.

Namespace: Experilous.MakeItColorful
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static ColorCMYK FromHSL(
	float h,
	float s,
	float l,
	float a
)

Parameters

h
Type: SystemSingle
The hue component of the CMYK color to convert to CMYK.
s
Type: SystemSingle
The saturation component of the CMYK color to convert to CMYK.
l
Type: SystemSingle
The lightness component of the CMYK color to convert to CMYK.
a
Type: SystemSingle
The opacity of the color.

Return Value

Type: ColorCMYK
The CMYK representation of the given color.
See Also