Firework color science

Why metals and firework materials create different colors

Pyro Lab uses flame-test colors and firework material references to organize its simulator presets. Some presets come from classic flame-test reactions, while others represent spark materials such as magnesium, iron, aluminum, titanium, zinc, and boron-inspired firework effects.

Interactive flame-color lab

Compare elements on the visible spectrum

This visualization uses the app’s educational reference values. It compares emitted color and brightness; it is not a real pyrotechnic recipe or laboratory procedure.

Primary

Sodium

Wavelength

589.0 nm

Brightness

95%

Virtual blend

78.4 nm apart

Visible spectrum position

NaCu
380 nm · violet565 nm750 nm · red

What changes?

Sodium and Copper are 78.4 nm apart in this reference set. Their average brightness is 88%. The mixed preview is a screen-color comparison, not a prediction of chemical behavior.

Sortable reference

How firework colors work

The simplified version starts with heat, electron movement, and visible color. Real fireworks add more variables: oxidizers, binders, chlorine donors, burning temperature, and spark-producing metals.

Heat excites electrons

When a metal compound is heated, electrons in the atoms absorb energy and move to higher energy levels.

Light is released

As those electrons return to lower energy levels, they release energy as light at characteristic wavelengths.

Elements differ

Different elements and compounds emit different colors, which is why sodium, copper, lithium, barium, boron, and other materials can suggest different firework colors.

Color preset reference

These presets connect the simulator controls to common flame-test colors and firework material effects. They are practical color labels for the app, not instructions for making real fireworks.

PresetSymbolWave
Lithium
Li670.8 nm
Sodium
Na589.0 nm
Potassium
K766.5 nm
Calcium
Ca622.0 nm
Strontium
Sr460.7 nm
Barium
Ba553.6 nm
Copper
Cu510.6 nm
Cesium
Cs455.5 nm
Magnesium
Mg518.4 nm
Iron
FeMultiple
Aluminum
AlBroad spectrum
Titanium
TiBroad spectrum
Zinc
ZnBroad spectrum
Boron
BBroad molecular emission
Rubidium
Rb780.0 nm

Try the colors in the simulator

Open the simulator, choose a color preset, then click the sky to see how the selected flame-test or firework material reference changes the virtual fireworks.