Topic summary
Chromophores

Extracted from the Wikipedia article Chromophore.
Conjugated pi-bond system chromophores
Just like how two adjacent p-orbitals in a molecule will form a pi-bond, three or more adjacent p-orbitals in a molecule can form a conjugated pi-system. In a conjugated pi-system, electrons are able to capture certain photons as the electrons resonate along a certain distance of p-orbitals - similar to how a radio antenna detects photons along its length. Typically, the more conjugated (longer) the pi-system is, the longer the wavelength of photon can be captured. In other words, with every added adjacent double bond we see in a molecule diagram, we can predict the system will be progressively more likely to appear yellow to our eyes as it is less likely to absorb yellow light and more likely to absorb red light. ("Conjugated systems of fewer than eight conjugated double bonds absorb only in the ultraviolet region and are colorless to the human eye", "Compounds that are blue or green typically do not rely on conjugated double bonds alone.")