Click or drag to resize
ColorCMYKFromHCY Method (Single, Single, Single, Single)
Converts the given HCY 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 FromHCY(
	float h,
	float c,
	float y,
	float a
)

Parameters

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