Click or drag to resize
ColorCMYKFromHSY Method (Single, Single, Single, Single)
Converts the given HSY 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 FromHSY(
	float h,
	float s,
	float y,
	float a
)

Parameters

h
Type: SystemSingle
The hue component of the HSY color to convert to CMYK.
s
Type: SystemSingle
The saturation component of the HSY color to convert to CMYK.
y
Type: SystemSingle
The luma component of the HSY 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