Why Are Fireworks Different Colours? The Science Explained
On this page
Quick answer: fireworks produce different colours because their burning stars contain carefully selected metal compounds. Heat raises electrons to higher energy states; as those electrons fall back, they release light at characteristic wavelengths. Strontium is associated with red, sodium with yellow, barium with green and copper with blue.
The Welsh word lliwiau means colours. A display may look like painted light, but the palette depends on chemistry, temperature and the way each firework has been professionally designed.

Why are fireworks different colours?
Aerial fireworks contain small pyrotechnic units commonly called stars. When a star burns, heat supplies energy to atoms and molecules in its colour-producing compounds. Electrons absorb some of that energy and move into excited states. They quickly return to lower states and release the energy as photons of light.
Different compounds favour different parts of the visible spectrum, which is why the same basic burst can be designed to change from one recognisable colour to another as it opens.
The gaps between energy states differ from one element to another, so the emitted light differs too. That is why a compound containing sodium can create an intense yellow while suitable copper compounds can contribute blue. The result is related to the flame tests used in chemistry lessons, although a working firework is a much more complicated and carefully controlled system.
| Colour | Common chemical source | Useful detail |
|---|---|---|
| Red | Strontium compounds | Often used for rich crimson and red effects. |
| Orange | Calcium compounds | Can produce orange or orange-red light. |
| Yellow | Sodium compounds | The yellow emission is extremely strong and can mask weaker colours. |
| Green | Barium compounds | Used for bright green effects. |
| Blue | Copper compounds | Blue is difficult because the useful colour-producing species is sensitive to excessive heat. |
| Violet | A combination of red and blue sources | Careful balance creates a convincing purple or violet. |
| White and silver | Hot-burning metals such as aluminium or titanium | These brilliant effects rely strongly on glowing particles. |
The table is a guide rather than a recipe. Professional compositions use particular compounds, oxidisers, fuels, binders and temperatures to produce a stable effect. A visible colour alone does not prove exactly which formulation was used.

Why is blue one of the hardest colours?
Royal Society of Chemistry material describes blue as a longstanding challenge. Copper-based colour can be weakened if the temperature is too low, yet the delicate colour-producing copper chloride molecule can be destroyed if conditions become too hot. The designer needs enough heat for brightness without washing out the blue.
Yellow creates almost the opposite problem. Sodium light is so intense that even a small contamination can overpower subtler colours. A display that moves cleanly from blue to yellow therefore depends on both chemistry and careful manufacturing quality.

Why do gold sparks look different from coloured light?
Not every visible effect comes from the same process. Many coloured flames involve characteristic light emitted by excited chemical species. Long gold, silver or white trails can also come from incandescent particles: tiny hot pieces of metal or carbon glowing as they burn and cool.
Particle size and burning time influence whether an effect appears as a brief flash, a glitter, a crackling trail or a slow golden fall. The camera changes what viewers remember as well. A long exposure stretches moving sparks into lines, while smoke, cloud and the brightness of nearby bursts can shift the apparent colour.

How do fireworks make rings and other shapes?
The arrangement of stars inside an aerial shell helps determine the pattern. When the shell bursts, stars travel outward from their positions. A circular arrangement can produce a ring, while more complex layouts can suggest hearts or other outlines. Wind, viewing angle and imperfect symmetry mean the result may not look identical from every part of the crowd.
Timing also creates movement. Stars can contain layers that burn in sequence, making a trail change colour as it falls. A display designer then combines shells fired at different heights and moments so that colour, shape, sound and empty sky work together.

Enjoy the chemistry without experimenting
Firework chemistry belongs in regulated manufacture and professional displays, not in home experiments. Do not dismantle fireworks, mix their contents or relight a failed item. Follow the instructions on legal consumer products and keep the distances stated on the packaging.
For the rules on sale, age and permitted hours, read our guide to fireworks law in Wales. Our 2026 display guide covers organised events, while the Welsh thread in the Gunpowder Plot explains the history behind the date.
Sources, further reading and image credits
- Royal Society of Chemistry: fire and light in the sky.
- American Chemical Society: where firework colours come from.
- American Chemical Society: the chemistry of fireworks.
- UK Government: fireworks and pyrotechnics safety context.
- Feature photograph adapted from WelshDave on Wikimedia Commons, licensed CC BY-SA 4.0.