 
 
 
 
 
 
 
  
The CMY color space describes colors in terms of the subtractive
primaries: cyan, magenta, and yellow.  CMY is used mainly for hardcopy
devices such as color printers.  Generally, the conversion from
RGB to CMY follows the equation [27]:
![\begin{displaymath}\left[
\begin{array}{c}
C \\
M \\
Y
\end{array}\right]
=
\l...
...ht]
-
\left[
\begin{array}{c}
R \\
G \\
B
\end{array}\right]
\end{displaymath}](img215.gif) 
![\begin{displaymath}\left[
\begin{array}{c}
C \\
M \\
Y \\
1
\end{array}\right...
...\left[
\begin{array}{c}
R \\
G \\
B \\
1
\end{array}\right]
\end{displaymath}](img216.gif) 
A related color space, CMYK, uses a fourth channel (K) to represent black. Since conversion to CMYK requires a min() operation, it cannot be performed using the color matrix.
The extension EXT_CMYKA also supports conversion to and from CMYK and CMYKA. This extension is currently supported by Evans & Sutherland.