cold.fyi/The Finale

Firework colors: which element makes which color

The palette

11 colors and what makes them

ColorMade withWhy
Red
Strontium
strontium chloride (strontium compounds)Strontium paired with chlorine forms a short-lived molecule in the flame that glows deep red. source
Red / pink
Lithium
lithium compoundsLithium glows its own red, described as pink by some sources and deep red by others. source
Orange
Calcium
calcium chlorideCalcium is the textbook orange emitter, though one retailer says most display orange is red and yellow burning together. source
Yellow
Sodium
sodium compoundsSodium is one of the most potent atomic light emitters; even small sodium impurities can ruin a flame meant to be another color. source
Green
Barium
barium chlorideBarium paired with chlorine in the flame gives green, a neon green when chlorine is plentiful. source
Blue
Copper
copper chlorideA copper species glows blue, but too much heat destroys it and leaves washed-out white, so blue is the hardest color. source
Turquoise
Copper
copper with chlorineCopper combined with chlorine in the flame gives turquoise. source
Purple
Strontium and copper (or potassium)
strontium and copper compounds together, or potassium compoundsPurple pairs strontium's red with copper's blue, so it inherits blue's difficulty; one university chemist also lists potassium. source
White (glow)
Magnesium
magnesium oxide particlesMagnesium burns so hot that its oxide particles glow white-hot. source
White (flash)
Aluminum
aluminumFine aluminum burns as a bright white flash. source
Silver / white sparks
Titanium
titanium metal fuelTitanium burns bright silver-white, and larger grains keep burning as they fly to leave sparks. source

The story behind it is in the color chapter.