Mixing pigments is color subtraction. Each pigment absorbs at least one color of light. When you mix pigments together, more colors of light are absorbed or taken away.
The primary pigments are yellow, cyan, and magenta. They can be combined to produce any other color, including black.