Color.FromCmyka

Color.FromCmyka method

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

public static Color FromCmyka(float cyan, float magenta, float yellow, float key, float alpha)
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.
alphaSingleA float that represents the alpha component of the color.

Return Value

A new instance of the Color class

See Also