Why are fireworks so colorful?

Jun 17, 2026 / By Jane

Every firework is a tiny chemistry experiment, set off a few hundred feet above your head. Once you know what's making each color, a fireworks show turns into something you and your kids can read together.

Here's the cheat sheet to teach them before the show starts.

Every color is a different metal

Fireworks are packed with small pellets called stars, and the metal inside each star sets the color you see overhead. When those metals burn, each one gives off light at its own color. So the rainbow overhead is really a chemistry lesson:

  • Red is strontium. The same metal shows up in old-school glow-in-the-dark paint and some ceramic magnets.

  • Orange is calcium. Yes, the same element in their bones and in a glass of milk.

  • Yellow is sodium. That's table salt's metal. It's also why salty water flares orange-yellow when it boils over on the stove.

  • Green is barium. Doctors use it in a chalky drink that makes your stomach show up on an X-ray.

  • Blue is copper. The same metal as a copper pipe or old wiring.

  • Purple is copper and strontium together, blue and red mixed into one burst.

  • White and silver are magnesium or titanium, burning hot and bright.

firework_color_metal_reference_stacked.png

Why does burning metal make colored light?

When a metal salt gets hot enough, its electrons soak up the energy and jump to a higher level. They can't hold that spot, so they fall back almost instantly, releasing the extra energy as light. How far the electrons travel decides the color, and every element has its own signature jump. That's why each metal gives off its own signature color. It's the same science behind the flame tests kids do in chemistry class.

The blue ones are the hardest to make

Here's the fact that always gets a reaction: blue is the toughest color in the whole show. Copper makes it, but copper's blue washes out if the firework burns too hot. Getting a deep, clean blue takes precise temperature control, so pyrotechnicians (the people who design fireworks shows) treat a rich blue as a mark of real skill. Next time you see a strong blue burst, you're watching an expert at work.

A quick safety note

Real fireworks are best left to the professionals. Watching a public show is the safest way to enjoy the Fourth, and it gives everyone the best view anyway.

Try this at home

Want the wow without the bang? KiwiCo's Underwater Fireworks experiment uses oil, water, and food coloring to make colorful bursts that "explode" in slow motion in a glass. It's a real lesson in density, it's mess-friendly, and it works for a range of ages.

If your kids are more in the crafting mood, we also have Salt Art Fireworks and Popsicle Stick Fireworks to keep little hands busy before the real show.

The show is real science

You don't need a chemistry background to love what's happening overhead. Every burst is a split-second reaction, designed by someone who spent years learning which metals to combine and at what temperature. 

Which color will your kids be hunting for this year? Let us know in the comments.


You might also like

Top categoriesBurst graphic