Overview | Methods | Fields | This Package | All Packages
OverviewMethodsFieldsThis PackageAll Packages
Color.fromCMYK
Creates a new Color object based on the specified color values.
Syntax
public static final Color fromCMYK(intcyan, intmagenta, intyellow, intblack**)**
Parameters
cyan
The level of cyan in the color.
magenta
The level of magenta in the color.
yellow
The level of yellow in the color.
black
The level of black in the color.
Return Value
Returns the new Color object.
Remarks
If any of the color levels specified exceed 255, the color is reduced to 255.
See Also fromHSB