Fireworks masters manufacture their creations ... strontium nitrate or carbonate for red, barium nitrate for green, copper salts for blue, and charcoal or other forms of carbon for orange.
Red, for instance, comes from strontium, green from barium, and mixing titanium, zirconium and magnesium gives a bright white. A ‘perfect’ blue is very difficult to for fireworks designers ...