This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / Graphics Primitives  /
CMYKColor

  • CMYKColor[ cyan , magenta , yellow , black ] is a graphics directive which specifies that graphical objects which follow are to be displayed in the color given.
  • Color levels outside the range 0 to 1 will be clipped.
  • CMYKColor can be used to specify colors for color printing.
  • CMYKColor specifications are automatically converted to RGBColor when simulated lighting calculations are done.
  • See the Mathematica book: Section 2.9.17.
  • See also: RGBColor, ColorOutput.
  • Related package: Graphics`Colors`.

    Further Examples

    Here is a disk colored using a CYMK color.

    Evaluate the cell to see the graphic.

    In[1]:=

    This transforms an RGBColor object to a CMYKColor object.

    In[2]:=

    Evaluate the cell to see the graphic.

    In[3]:=