Understanding the Fundamentals of Dyes and Pigments