is a graphics directive specifying that objects that follow are to be displayed, in the color given.


specifies opacity a.


  • CMYKColor is a subtractive color model, typically used in printing. CMYK refers to the cyan, magenta, yellow, and black inks used in printing.
  • Color and opacity levels outside the range 0 to 1 will be clipped. »
  • CMYKColor can be used to specify colors for color printing.
  • CMYKColor[c,m,y] is equivalent to CMYKColor[c,m,y,0].
  • CMYKColor specifications are automatically converted to RGBColor when simulated lighting calculations are done. »
  • ColorConvert can be used to convert CMYKColor to other color spaces.
  • The alternative forms CMYKColor[{c,m,y,k}] and CMYKColor[{c,m,y,k,a}] can also be used.
  • Style[expr,CMYKColor[]] specifies that expr should be displayed with the specified color. »
  • For 3D surfaces, explicit CMYKColor directives define surface colors; the final shading depends on lighting and contributions from specularity and glow. »
  • Glow[CMYKColor[]] specifies color independent of lighting. »
  • CMYKColor[c,m,y,k,a] is equivalent to Directive[CMYKColor[c,m,y,k],Opacity[a]]. »
  • If no opacity has been specified, CMYKColor[c,m,y,k] is equivalent to CMYKColor[c,m,y,k,1].


open allclose all

Basic Examples  (4)

Specify the color of graphics primitives:

Specify the color with opacity:

Specify the output color of expressions:

Specify the color of plots:

Scope  (3)

Colors in 3D  (1)

Use diffuse surface color:

Use diffuse and specular surface color:

Use glow color, setting the diffuse surface color to black:

Color Operations  (2)

Use Blend to mix two or more colors:

Use Lighter and Darker to mix with white and black, respectively:

Generalizations & Extensions  (2)

CMYKColor[{c,y,m,k}] is equivalent to CMYKColor[c,y,m,k]:

Use Opacity with CMYKColor:

Use the opacity argument in CMYKColor directly:

Properties & Relations  (3)

CMYKColor is related to RGBColor in the following way:

For economy of printing, black is usually separated out:

By using the same parameters in CMYKColor and RGBColor, you get complementary colors:

CMY values are complementary to RGB values:

Possible Issues  (1)

Values outside of the 0, 1 range will be clipped:

In plot functions, use ColorFunctionScaling to control global scaling of variables:

Neat Examples  (2)

Visualizing the CMY color space:

CMYK noise with opacity:

Wolfram Research (1991), CMYKColor, Wolfram Language function, (updated 2008).


Wolfram Research (1991), CMYKColor, Wolfram Language function, (updated 2008).


@misc{reference.wolfram_2020_cmykcolor, author="Wolfram Research", title="{CMYKColor}", year="2008", howpublished="\url{}", note=[Accessed: 27-February-2021 ]}


@online{reference.wolfram_2020_cmykcolor, organization={Wolfram Research}, title={CMYKColor}, year={2008}, url={}, note=[Accessed: 27-February-2021 ]}


Wolfram Language. 1991. "CMYKColor." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008.


Wolfram Language. (1991). CMYKColor. Wolfram Language & System Documentation Center. Retrieved from