CmykColorHelper.FromComponents

CmykColorHelper.FromComponents method

Creates CMYK from a 32-bit cyan, magenta, yellow and black values.

public static int FromComponents(int cyan, int magenta, int yellow, int black)
ParameterTypeDescription
cyanInt32The cyan component. Valid values are 0 through 255.
magentaInt32The magenta component. Valid values are 0 through 255.
yellowInt32The yellow component. Valid values are 0 through 255.
blackInt32The black component. Valid values are 0 through 255.

Return Value

The CMYK color presented as a 32-bit integer value.

See Also