represents a color in the CMYK color space with cyan, magenta, yellow and black components.


specifies opacity a.


returns a color from an HTML color name etc.


returns the CMYK representation of color.


  • 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. »
  • If no black component is specified, 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. »
  • If no opacity has been specified, CMYKColor[c,m,y,k] is equivalent to CMYKColor[c,m,y,k,1].
  • The alternative forms CMYKColor[{c,m,y,k}] and CMYKColor[{c,m,y,k,a}] can also be used.
  • ColorConvert can be used to convert CMYKColor to other color spaces.
  • Style[expr,CMYKColor[]] specifies that expr should be displayed with the specified color. »
  • Glow[CMYKColor[]] specifies color independent of lighting. »
  • CMYKColor[c,m,y,k,a] is equivalent to Directive[CMYKColor[c,m,y,k],Opacity[a]]. »
  • For 3D surfaces, explicit CMYKColor directives define surface colors; the final shading depends on lighting and contributions from specularity and glow. »


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 2021).


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


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


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


@misc{reference.wolfram_2023_cmykcolor, author="Wolfram Research", title="{CMYKColor}", year="2021", howpublished="\url{}", note=[Accessed: 07-June-2023 ]}


@online{reference.wolfram_2023_cmykcolor, organization={Wolfram Research}, title={CMYKColor}, year={2021}, url={}, note=[Accessed: 07-June-2023 ]}