Lighting the fuse…
Glasses on: each spark has a copy for every wavelength it gives off.
This browser cannot draw the live show, so a still picture stands in for it.
Chemistry you can see
Where firework colours come from
The red, green and blue of a firework each come from one metal, giving off light in a handful of narrow bands of wavelength; gold and white are glowing heat. Diffraction glasses split every spark into its wavelengths, the way a chemist reads them. The colours here are computed from published band tables.
Tap or click the sky to launch a shell.
1
Each colour is a metal in a flame#
A coloured star, the burning pellet that flies out of a shell, carries a salt of one metal. In the flame the metal forms small molecules (sodium and lithium stay as free atoms), and these give off light only at certain wavelengths: strontium makes red, barium green, copper blue, sodium yellow, calcium orange.
In 2003 the pyrotechnics researchers W. Meyerriecks and K. L. Kosanke sprayed each salt into a burner flame at about 1,900 °C and recorded the light. The coloured stars on this page are drawn from their tables, with sodium and lithium from the NIST atomic tables, and turned into colour with the standard model of human colour vision.
2
Through diffraction glasses, a spark becomes copies#
The glasses drawn here carry 500 lines to the millimetre, a density sold for watching fireworks. They bend each wavelength by its own angle: violet at 400 nm by 11.5°, deep red at 700 nm by 20.5°. Beside every spark you see a copy for each wavelength it gives off, on both sides, blue nearest.
Sodium gives off one colour: two lines at 589.0 and 589.6 nm, too close to tell apart here. So a sodium shell throws one sharp copy of itself to each side.
3
Two reds that look the same#
Above, strontium; below, lithium. To the eye they are almost the same red. Through the glasses they come apart. Almost all of lithium's light is in one line, at 670.8 nm, so it makes one clean copy.
Strontium makes a smeared ladder of copies from two molecules: strontium monochloride (SrCl), strongest at 674 and 661 nm, and strontium monohydroxide (SrOH), at 682, 671 and an orange 606 nm. This is how a spectroscope tells elements apart when the colour cannot.
4
Green is barium chloride#
The green of barium comes mostly from barium monochloride (BaCl), a molecule formed in the flame, with two strong bands at 514 and 524 nm. Through the glasses the copies are narrow and close together.
That is why a classic barium green needs chlorine in its mix. Without it, barium forms barium hydroxide and barium oxide instead; barium oxide glows across a broad range from green to red, and the green turns pale.
5
Why blue is the hardest colour#
Blue comes from copper chloride, which glows mostly between about 410 and 500 nm, strongest at 436 nm. Above a certain flame temperature the molecule breaks up. One estimate puts that ceiling near 1,500 kelvin (about 1,230 °C), thermodynamic modelling near 2,500 kelvin (about 2,230 °C); the 2003 measurements recorded strong copper chloride light in a flame of about 1,900 °C.
Above the ceiling, copper hydroxide, which glows green, takes over, and hot particles glow white. Below, a blue star drawn as burning too hot. Chemists call blue the most challenging colour of all: in a 2021 comparison of ten blue mixtures, the purest averaged a colour purity of 56%.
Put the glasses on: the good blue has narrow blue and blue-green copies close to the spark; the hot one adds strong green copies and a rainbow smear.
6
Gold and white are heat, not chemistry#
Some light has no wavelengths of its own. Burning charcoal and hot metal particles glow like the element of a stove: every colour at once, weighted by temperature. Through the glasses they make a full rainbow smear with no gaps.
The gold willow above is charcoal sparks; they cool and redden as they fall. Below, white stars of hot particles from burning metal. Magnesium came into fireworks about 1865 and aluminium in 1894. The temperatures drawn here are chosen to look right; they were not measured.
7
A pinch of sodium turns red into orange#
Sodium is in almost everything, and its yellow line is so strong that a trace of it changes a colour. The 2003 measurements found the 589 nm peak even when the team sprayed distilled water.
Above, a strontium star; below, the same star with a third of its light from sodium. To the eye it is orange. Through the glasses, a sharp yellow copy stands out of the red ladder.
8
Purple has no wavelength of its own#
The rainbow runs from red to violet, but the purple that mixes red with blue is not in it. A purple star burns a red metal and a blue one together, strontium and copper, and the eye mixes the two.
Through the glasses they separate again: blue copies close to the spark, red copies far out, and between them a faint blue-green from copper's weaker bands.
9
A heart turned sideways is a line#
A heart shell carries its stars laid flat in the shape of a heart. Seen face on, it is a heart (left). Turned a little, it narrows (middle). Seen edge on, it is a line (right).
The shell bursts at a random angle, and it cannot know where you are standing. That is why hearts and smiling faces in the sky so often come out wrong.
10
First the flash, then the bang#
Light arrives almost at once. Sound travels through air at about 343 m/s at 20 °C, so the bang comes later the further away you stand.
Turn the sound on with the button on the picture, then move the launch site. The bang is synthesised; the delay is the real one.
Make a shell#
Choose a colour and a shape, then launch it or tap the sky. Put on the glasses to see what it is made of. You can send the shell you made: the link opens it here.
Name the metal from its copies#
The glasses are on. A shell bursts: which metal is it? Five rounds. Look at the copies, not the colour.
Were early fireworks colourless?#
It is often said so. The historian Simon Werrett has argued that manuals of the 16th and 17th centuries already held recipes for coloured fire; colour then lived more in painted scenery, decorations and costumes than in the flames.
Bright coloured flames came with potassium chlorate. "The exact date of this innovation appears to be about 1830," wrote the pyrotechnist Alan St. H. Brock in 1922.
Four places that love fireworks#
England
The first bonfires were lit in November 1605, with the Council's leave, for the failed Gunpowder Plot; the next January an Act, the Observance of 5th November Act 1605, made the day a yearly thanksgiving. It was repealed in 1859; the bonfires stayed.
In April 1749 a rehearsal at Vauxhall of Handel's music for the Royal Fireworks drew a crowd claimed to be over 12,000. On the night of the display in Green Park it rained and one pavilion caught fire.
China
The oldest surviving written recipes for gunpowder are in the Wujing Zongyao, a military manual compiled around 1040 to 1044. In Kaifeng, Meng Yuanlao described a sudden crash like thunder "called a baozhang" at the court entertainments.
In Hangzhou, Zhou Mi wrote that on the Lantern Festival, late in the night, more than a hundred frames of fireworks were set off. Today Hunan's market regulator reports that Liuyang makes more than 70% of China's firework exports (February 2024).
Spain and Mexico
The Fallas of Valencia, inscribed by UNESCO in 2016, run from 14 to 19 March, but the mascletà goes off every day at two in the afternoon from 1 to 19 March: a daytime display in which rhythm and noise matter more than colour.
In Mexico, Tultepec is known as the national capital of pyrotechnics. The Spanish dictionary defines fuegos artificiales as "lights of colours and detonations" made by gunpowder devices.
Romania
The Romanian word artificii came from the French artifice. In Bucharest, the opening of the Kiseleff garden on 29 June 1844 was celebrated with public feasts, illuminations and "focuri de artificii", as the historian Florian Georgescu recorded.
Accounts of New Year at the princely courts in earlier centuries, by Anton Maria Del Chiaro and Dimitrie Cantemir, describe cannon and musket salvos at the toasts.
How the colours on this page are made#
What comes from measurements
The position and relative height of every band peak, as the 2003 paper lists them for strontium, calcium, barium and copper molecules (fitted, rounded to 1 nm, each emitter's strongest peak set to 100); the atomic lines of sodium and lithium from the NIST handbook.
What is chosen
How wide each band is drawn (a bell curve with a spread of 2.2 nm for molecules); how much of each molecule a star holds (half and half for strontium and calcium, 85% barium chloride); the strength of lithium's weak 610 nm line in a flame (3%); the temperatures of gold and white sparks; the brightness of the copies in the glasses; the burst sizes, the water and the smoke.
From spectrum to colour
Each spectrum is turned into a colour with the CIE 1931 standard observer, the model of human colour vision that colour science uses. The pure emitters drawn here are mostly purer than a screen can show, and are brought into its range by lowering the saturation while keeping hue and lightness, the method of CSS Color 4. Real stars mix in other light and are paler: the blues measured in 2021 all fall within a screen's range.
A check
The colours computed here from the band tables, set beside the colours the 2003 paper computed from its isolated spectra. Close agreement means the tables and the method reproduce the paper's own result. Calcium hydroxide and copper hydroxide differ most; the reason is not established.
Left out
Strobes and crackle are not drawn: rapid flashing can trigger seizures in some people, and the sources found do not describe the light of either. Bursts are kept small on screen and flash less than three times a second.
| Molecule or atom | Gives | Computed here x, y | In the 2003 paper x, y |
|---|---|---|---|
| strontium chloride | red | 0.719, 0.281 | 0.720, 0.280 |
| strontium hydroxide | red | 0.670, 0.330 | 0.679, 0.321 |
| calcium chloride | orange | 0.665, 0.335 | 0.661, 0.338 |
| calcium hydroxide | orange | 0.578, 0.421 | 0.630, 0.369 |
| barium chloride | green | 0.088, 0.811 | 0.094, 0.811 |
| barium hydroxide (approximated) | blue-green | 0.062, 0.656 | 0.066, 0.606 |
| copper chloride | blue | 0.155, 0.047 | 0.156, 0.073 |
| copper hydroxide | green | 0.194, 0.741 | 0.290, 0.666 |
| sodium | yellow | 0.570, 0.429 | 0.576, 0.423 |
Sources#
- W. Meyerriecks and K. L. Kosanke, Color values and spectra of the principal emitters in colored flames, Journal of Pyrotechnics 18 (2003).
- NIST Handbook of Basic Atomic Spectroscopic Data: sodium, lithium.
- J. Glück, T. M. Klapötke, T. Küblböck, Fine-tuning: advances in chlorine-free blue-light-generating pyrotechnics, European Journal of Inorganic Chemistry (2020).
- D. Juknelevicius et al., An experimental comparison of selected blue flame pyrotechnics, Propellants, Explosives, Pyrotechnics 46 (2021).
- CIE 1931 2° colour matching functions, Colour & Vision Research Laboratory; CSS Color 4, gamut mapping.
- A. St. H. Brock, Pyrotechnics: the history and art of firework making (1922), part II, chapter VIII.
- S. Werrett, Fireworks and color in the sixteenth and seventeenth centuries, Early Science and Medicine 20 (2015).
- Wujing Zongyao (Wikipedia, citing Needham); Meng Yuanlao, Dongjing meng hua lu, chapter 7; Zhou Mi, Wulin jiushi, chapter 2; Liuyang: Hunan market regulator, 18 February 2024.
- UNESCO, decision 11.COM 10.B.30 (Valencia Fallas, 2016); Mascletà and Tultepec (Wikipedia); Real Academia Española, fuego.
- Observance of 5th November Act 1605 and the 1749 Royal Fireworks: Guy Fawkes Night, Music for the Royal Fireworks (Wikipedia, with their cited sources).
- F. Georgescu, București. Materiale de istorie și muzeografie IV (1966), p. 103; DEX, artificiu.
- New Year at the princely courts: Del Chiaro, Cantemir and the Condica lui Gheorgachi, quoted in Magazin istoric (Politeia).
- Speed of sound in air: 343 m/s at 20 °C.