Click or drag to resize
ColorCMYKFromCMY Method (Single, Single, Single, Single)
Converts the given CMY 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 FromCMY(
	float c,
	float m,
	float y,
	float a
)

Parameters

c
Type: SystemSingle
The cyan component of the CMY color to convert to CMYK.
m
Type: SystemSingle
The magenta component of the CMY color to convert to CMYK.
y
Type: SystemSingle
The yellow component of the CMY 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