Cyan, magenta, yellow, and key (black)
CMYK (or sometimes YMCK) is a subtractive color model used in color printing. This color model is based on mixing pigments of the following colors in order to make other colors:
The mixture of ideal CMY colors is subtractive (Cyan, Magenta and Yellow printed together on white result to black). CMYK works through light absorption . The colors that are seen are from the part of light that is not absorbed. In CMYK magenta plus yellow produces red, magenta plus cyan makes blue, cyan plus yellow generates green and the combination of cyan, magenta and yellow form black.
Because the 'black' generated by mixing the subtractive primaries is not as dense as that of a genuine black ink (one that absorbs throughout the visible spectrum), four-color printing uses black ink in addition to the subtractive primaries yellow, magenta and cyan.
Use of four-color printing generates a superior final printed result with greater contrast. However the color a person sees on a computer screen is often slightly different from the color of the same object on a printout since CMYK and the RGB color model used in computer monitors have different gamuts. RGB color is made by the emission of light (additive color) whereas CMYK works by the absorption of it (subtractive color).
Converting between RGB and CMYK
To convert between RGB and CMYK, an intermediate CMY value is used. Color values are represented as a vector, with each color component varying from 0.0 (no color) to 1.0 (fully saturated color).
- tCMYK = [0,1]4 is the CMYK quadruple;
likewise,
- tCMY = [0,1]3 is the CMY triple,
and
- tRGB = [0, 1]3 is the RGB triple.
Converting CMYK to RGB
To convert, we first convert CMYK to CMY, then convert the CMY value to RGB
Converting now:
- tCMYK = (c,m,y,k)
then:
- tCMY = (c',m',y') = (c(1 - k) + k,m(1 - k) + k,y(1 - k) + k)
and:
- tRGB = (r,g,b) = ((1 - c'),(1 - m'),(1 - y'))
Converting RGB to CMYK
Converting RGB → CMY, with the same color vectors as before:
- tRGB = (r,g,b)
converting to CMY:
- tCMY = (c',m',y') = (1 - r,1 - g,1 - b)
and then to CMYK:
- K = min(c',m',y')
- if K = = 1 then tCMYK = (0,0,0,1), else
- tCMYK = (c,m,y,k) = ((c' - K) / (1 - K),(m' - K) / (1 - K),(y' - K) / (1 - K),K)
where min(x, y, z) is the minimum of those three values.
See also
External links
- A song about YMCK, to the tune of 'YMCA' http://www.bookbuilders.org/news/9701/ymck.htm
- Lists the CMYK values for hundreds of colors http://www.december.com/html/spec/colorcmyk.html
- Convert CMYK to RGB and back http://www.forret.com/projects/hizmo/cmyk_rgb.asp
Last updated: 02-07-2005 01:59:36
Last updated: 05-03-2005 02:30:17