Fireworks get their colors from compounds that emit particular wavelengths of light when heated. The burst heats atoms and ions in the firework, exciting their electrons; as the electrons return to lower energy states, they release light. Different elements produce different color signatures, and the final shade also depends on the mixture and conditions.
Heat turns chemistry into light
Aerial fireworks contain small color-producing stars that scatter when the shell bursts. Heat energizes atoms in these compounds. Their electrons move into higher-energy states and then release energy as visible light while returning to lower states. Because energy differences vary by element, emitted light has different wavelengths—and therefore different colors. [1]
Different elements make different colors
Strontium compounds are commonly used for red, sodium compounds for yellow, and barium compounds for green. Copper compounds can produce blue tones. The color is not simply the metal burning like a candle; it comes from light emitted by heated atoms or molecules. The U.S. Geological Survey lists minerals and elements used to create fireworks’ colors. [2]
Why some colors are harder to make
A bright, pure color depends on more than choosing an element. Reaction temperature, the chemical form of the colorant and surrounding ingredients can affect what light reaches the viewer. Blue is particularly challenging because its compounds must emit strongly at temperatures that do not wash the color out. Professionals design mixtures to balance light, heat and timing.
Are fireworks colors just painted on?
No. Their colors are produced by light from heated chemical compounds during the burst. Different elements emit characteristic wavelengths, which is why one shell can create red sparks and another green or blue ones.
Sources and evidence
- University of Pennsylvania — The chemistry behind fireworks ↗
Chemist explains how metals and electron energy levels produce firework colors.
- U.S. Geological Survey — What minerals produce the colors in fireworks? ↗
USGS identifies mineral elements used to provide color in fireworks.
Sources consulted: 15 October 2026. Written with AI assistance and checked against the linked references; not independently reviewed by a subject specialist. Sources do not endorse this article. See our editorial policy.
Revision: Initial publication; the explanation was checked against the linked institutional and research sources.

