Both dyes and pigments are colored because they absorb some wavelengths of light more than others.
Mixing of dyes is a subtractive combination of colors.
A distinction is usually made between:
In contrast to dyes, pigments are insoluble and have no affinity for the substrate.