Skip to content
NEW Today's quiz is live — 10 questions, 5 minutes. Play now

How Do Fireworks Get Their Colours? The Chemistry Explained

Fireworks produce their colours when heated metal compounds release light. Strontium creates red, barium creates green and copper compounds create blue, but producing a bright, pure blue requires particularly careful temperature control.

· 1 November 2026 · 8 min read

How do fireworks get their colours? The answer lies in metal salts, heat and the way atoms release light. Strontium compounds produce red, barium compounds produce green and copper compounds produce blue, while other chemicals create yellow, orange, purple and silvery effects.

What makes fireworks glow in different colours?

When a firework lights up, heat from its burning chemical mixture energises atoms in the colour-producing compounds. Their electrons absorb energy and move to higher energy levels, called excited states, before returning to lower levels and releasing some of that energy as light.

Each element releases light with characteristic wavelengths, which our eyes perceive as particular colours. This is why changing the compounds inside a firework can change the colour of its burst, even when the firework reaches the same height or creates a similar shape.

The effect differs from a rainbow, which appears when water droplets separate sunlight into its component colours. Fireworks generate coloured light through chemical and thermal processes instead. For more everyday science explanations, readers can explore the site's collection of interesting facts.

Which salts produce red, green, blue and other colours?

Different metal compounds are selected because they emit characteristic colours when heated. These colour-producing materials are combined with other ingredients in professionally manufactured fireworks, allowing the display to produce anything from a single red burst to a mixture of purple and gold.

ColourCommon colour-producing materialTypical appearance
RedStrontium saltsDeep or bright red bursts
GreenBarium saltsBright green stars
BlueCopper compoundsBlue or blue-green light, depending on the composition
YellowSodium compoundsStrong yellow light
OrangeCalcium compoundsOrange or orange-red effects
PurpleA combination of strontium and copper compoundsA mixture of red and blue light
White or silverHot metals, including magnesium, aluminium or titaniumBright white flashes or silvery sparks

These are common associations rather than a guarantee of an identical shade in every firework. The final appearance depends on the particular compounds, their proportions, the burning conditions and the surrounding light. Sodium provides a familiar comparison: its intense yellow emission is also associated with the yellow-orange glow of traditional sodium-vapour street lamps.

The element's name alone does not tell the whole story. The exact chemical compound and the conditions in which it releases light both matter. This is one reason the chemistry of fireworks is a useful subject for general knowledge quizzes and school science discussions, including those readers can practise through RochakDuniya's GK quizzes.

Why is blue the hardest fireworks colour to create?

Blue fireworks are difficult because copper-based colour-producing compounds need a suitable temperature range to give a rich, clear blue. If the composition becomes too hot, the compounds responsible for the colour may break down or the intense light from other hot materials may overwhelm the blue emission.

If the temperature is too low, the blue may appear weak or dull. The challenge is to produce enough heat for a bright display without losing the chemical conditions needed for the desired colour. A strong blue therefore depends on careful formulation and precise control by experienced fireworks manufacturers.

This is also why a blue burst can look less vivid than a red or green one when viewed in a bright setting. The human eye, distance, smoke and competing light can affect how clearly each colour appears, so a chemical's ability to emit blue light is only part of the result.

Did you know? Purple fireworks are commonly created by combining compounds that produce red and blue light. The purple you see is therefore often the result of mixing two colour-producing systems rather than relying on just one.

How do fireworks create patterns as well as colours?

The coloured points in an aerial display are commonly called stars in fireworks terminology. They contain the materials that produce the visible effects, and their arrangement within a professionally made shell helps determine how the burst spreads across the sky.

When a shell reaches its intended altitude, its timed bursting action disperses those colour-producing components. Their positions and movement create different patterns, such as a circle, a spreading flower-like burst or long trails that fall slowly like a willow tree's branches.

Colour and shape are separate parts of the design. The chemical composition influences the light, while the arrangement and timing influence the pattern. During Diwali, for example, two fireworks may form similar circles but look completely different because one produces red points and the other produces green or gold.

To keep learning about how everyday objects and natural events work, readers can browse RochakDuniya's collection of articles. Comparing fireworks with familiar things such as a yellow street lamp or a glowing metal object helps show that visible colour can reveal information about the material producing the light.

How can you enjoy fireworks safely?

Fireworks involve energetic chemical reactions, high temperatures and burning materials, so their colourful appearance should not be confused with harmlessness. Watch organised displays from a safe distance and follow local rules, product warnings and instructions from the responsible adults or event staff.

Never open a firework to inspect its chemicals, attempt to mix colour-producing compounds at home or approach a firework that has failed to ignite. Do not relight a dud or try to dry a damp firework, particularly after monsoon rain; leave its handling and disposal to the procedures recommended by the relevant authorities or product instructions.

Children can learn the science by observing a display and discussing why different bursts have different colours, rather than handling pyrotechnic materials. A simple question to consider is why the same Diwali display can contain red, green, yellow and blue light even though all the bursts are seen against the same night sky.

Key points

  • Firework colours come from heated metal compounds releasing light.
  • Strontium compounds commonly produce red, barium produces green and copper compounds produce blue.
  • Sodium compounds give yellow, while calcium compounds commonly give orange.
  • Purple effects can be created by combining red-producing and blue-producing compounds.
  • Blue is difficult to produce vividly because the colour depends on a carefully controlled temperature range.

Frequently asked questions

Why do fireworks have different colours?

Different metal compounds release characteristic colours when heated during a firework's chemical reaction. The selected compounds determine whether a burst appears red, green, blue, yellow or another colour.

Which chemical makes fireworks blue?

Copper compounds are commonly used to produce blue fireworks. The temperature must be carefully controlled because excessive heat can weaken or alter the desired blue effect.

Can all firework colours be made by mixing red, green and blue?

Not quite, because fireworks rely on the light emitted by particular compounds, not simply on mixing coloured paints. Some effects combine different colour-producing compounds, while yellow, orange and white effects can use other chemical systems or hot metals.

Sources: The United States Geological Survey's explanation of the minerals behind firework colours lists the common associations between elements and colours. The Australian Nuclear Science and Technology Organisation's guide to firework science explains how heated compounds emit light and why blue is particularly difficult to produce.

How Do Fireworks Get Their Colours? The Chemistry Explained

Found this useful? Share it.

Report an error

Keep reading