A chemical compound having the ability to absorb visible light over a certain range of wavelengths so that the diffusely reflected light appears colored. Dye can be basic, acidic or direct.