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
The color depends on which substances emit light and on the conditions inside the burst. These common examples summarize the USGS reference; they identify color-producing elements, not a recipe. [2]
| Color | Common source |
|---|---|
| Red | Strontium compounds |
| Green | Barium compounds |
| Blue | Copper compounds |
| Yellow | Sodium compounds |
| Silvery white | Metals such as magnesium and titanium |
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.
Why the same color can appear in different shapes
A red ring and a red sphere need not use different color chemistry. The placement of small effect pellets, called stars, helps determine the pattern; the emitting compounds help determine the hue. Color, shape, and timing are separate design choices that interact during the display.
White and golden sparks add another distinction: a hot solid particle can emit a broad range of wavelengths, while an excited atom or molecule produces characteristic emission. That is why one simple explanation does not cover every bright effect. [3]
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.
- American Chemical Society — Further Exploration: Fireworks ↗
Firework stars, emission from color-producing compounds, and the design of display effects.
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: 17 October 2026: Consolidated overlapping explanations into this article; added evidence-specific comparisons and retained useful material from both versions.

