Home▸Articles▸Chemistry & Materials

Firework Colors: Metal Salt Flame Test

Understanding how different metal salts produce distinct colors when heated provides insight into atomic emission spectra.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Metal Salt Flame Tests Are

Metal salt flame tests are a method used to identify metallic elements by observing the colors produced when a sample is heated. The principle behind this technique relies on the electronic transitions within atoms of different metals, which emit light at specific wavelengths corresponding to their unique spectral lines.

In firework stars, these metal salts are mixed with fuel and oxidizers, and when ignited, they produce vibrant colors due to the excited electrons in the metal ions returning to lower energy states.

Why It Happens

The phenomenon of color production during a flame test is based on the electronic structure of atoms. When an atom's electron absorbs energy, it transitions from a ground state to an excited state. As the electron returns to its original or lower energy states, it releases this excess energy in the form of light, which we perceive as a specific color.

Different metals have different electronic configurations and thus emit light at distinct wavelengths corresponding to their unique spectral lines. This is why each metal salt produces a characteristic color.

live demo · related simulation● LIVE

Real-World Applications

The principle of atomic emission spectra has numerous applications beyond just firework displays, including in spectroscopy for identifying elements in distant stars and planets, in forensic science to analyze trace evidence, and in industrial processes where specific metals are needed.

In the field of chemistry education, flame tests serve as a simple yet effective demonstration of quantum mechanics principles and atomic structure.

Common Metal Salts and Their Colors

Some common metal salts used in firework displays include strontium (red), copper (blue-green), sodium (yellow), barium (green), calcium (brick red), and potassium (violet). Each salt produces a distinct color due to the specific electronic transitions of its ions.

The intensity of these colors can be adjusted by varying the temperature, which affects the energy levels available for electron transitions.

Frequently asked questions

How do different metals produce unique flame colors?

Different metals have unique electronic configurations that allow their electrons to transition between energy states at specific wavelengths. These transitions result in the emission of light with distinct colors, which we observe as the characteristic flame color.

Why does temperature affect the brightness but not the color of the flame?

Temperature affects the number and distribution of electrons across different energy levels, thus changing the intensity of the emitted light. However, the specific wavelengths (and therefore colors) remain constant because they are determined by the electronic transitions within the metal ions.

Are all flame tests safe to perform at home?

No, performing flame tests with certain metal salts can be dangerous and should only be done in a controlled laboratory setting. Some metal compounds are toxic or produce harmful fumes, making them unsuitable for amateur experiments.

How do scientists use flame tests to identify elements?

Scientists observe the distinct colors produced by different metal salts under heat and compare these observations with known emission spectra of various elements. This allows them to identify the presence of specific metals in a sample without needing to isolate or purify the element.

Try it live

Everything above runs in your browser — open Firework Colors: Metal Salt Flame Test and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Firework Colors: Metal Salt Flame Test simulation

What did you find?

Add reproduction steps (optional)