Why Fireworks Have Colors

A firework's color is not paint or dye — it is atoms themselves glowing. Each burst contains metal salts chosen because their electrons emit light at specific wavelengths when heated: strontium burns red, barium burns green, sodium burns yellow. The night sky becomes a giant demonstration of atomic emission spectra, the same phenomenon behind flame tests and starlight analysis.

Electron excitation and emission

Heat from the burning firework excites electrons in the metal atoms to higher energy levels. When the electrons fall back down, they release the extra energy as light — and each element's energy levels are unique, so each element emits its own characteristic colors. This is the same atomic emission behind flame tests in the lab.

Strontium makes red

Strontium salts (such as strontium nitrate or strontium carbonate) emit strongly in the red region of the spectrum, around 606–620 nm. Nearly every red firework, road flare, and emergency signal gets its color from strontium's excited electrons.

Barium makes green

Barium salts (like barium chlorate) emit green light near 514–524 nm. Firework makers prize barium green, though they must handle barium compounds carefully since soluble barium salts are toxic — another reason fireworks are strictly for licensed professionals.

Sodium makes yellow

Sodium's famous double emission lines near 589 nm produce an intense yellow-orange — the same color as sodium street lamps. Even trace sodium contamination can wash out other colors, so pyrotechnicians go to great lengths to keep sodium out of blue and purple formulations.

Other colors and atomic spectra

Copper compounds give blue-green, calcium salts give orange, and potassium gives violet — each tied to that element's unique emission spectrum. Astronomers use the same principle in reverse, reading starlight's spectral lines to identify the elements inside distant stars.

Try this yourself

  • Watch a fireworks display (in person at a safe distance or a video) with an adult and try to identify red, green, and gold bursts. Match each to its element — strontium, barium, sodium — from the explanations above.
  • With an adult's supervision, observe the yellow color of a candle or gas-stove flame and discuss why trace sodium makes ordinary flames yellowish.
  • Research how astronomers use emission spectra to identify elements in stars, and explain the connection to firework colors. Never attempt to make or take apart fireworks — that is work for licensed professionals only.