Fingerprints of light
Emission spectra and flame colors
Heat a gas, or run an electric current through it, and its atoms give off light only at certain colors. Every element has its own set of lines, so chemists and astronomers can identify elements by this fingerprint.
Flame test colors
Hold a salt of certain metals in a flame and the flame takes on a color of its own. Fireworks get their colors the same way.
Flame tests should only be done in a school or research lab, supervised by a teacher or other expert. Colors on screen are approximate.
How spectra revealed new elements
In 1859–1860, Robert Bunsen and Gustav Kirchhoff passed the light of substances heated in a flame through a prism and showed that every element produces its own pattern of lines. With this method they discovered cesium in 1860 and rubidium in 1861, naming them after the sky-blue and deep red lines in their spectra. Thallium and indium were found the same way, from a bright green line and an indigo-blue one.
During a solar eclipse in 1868, astronomers saw a yellow line in the Sun’s spectrum that matched no known element. It was the first sign of helium, which would not be found on Earth for another 27 years.
Source: NIST Atomic Spectra Database (strong visible lines, wavelengths in air). See also: sodium, neon, more tools.