Color.FromCmyk

Color.FromCmyk method

Returns a new Color with the requested cyan, magenta, yellow, key (black) values.

public static Color FromCmyk(float cyan, float magenta, float yellow, float key)
ParameterTypeDescription
cyanSingleA float that represents the cyan component of the color.
magentaSingleA float that represents the magenta component of the color.
yellowSingleA float that represents the yellow component of the color.
keySingleA float that represents the key component of the color.

Return Value

A new instance of the Color class

See Also