Physical chemistry 2 · The particle in a box
A simple box model explains why some dyes absorb the colors they do and how the color changes with molecular size.