In actuality, the colours in fireworks are derived from a basic source: pure chemistry. This is because they are made using metal salts. Naturally, these salts differ from table salt, and in chemistry,'salt' refers to any substance containing both metal and nonmetal atoms. Some of these chemicals emit bright colours when burned, making them excellent for pyrotechnics.
Let’s discuss on what minerals produce colors in fireworks
Color Produced - bright greens Element - barium Primary mineral ore - barite
Color Produced - deep reds Element - strontium Primary mineral ore - celestite
Color Produced - blues Element - copper Primary mineral ore - chalcopyrite
Color Produced - yellows Element - sodium Primary mineral ore - halite (rock salt)
Color Produced - brilliant orange Element - strontium + sodium Primary mineral ore - celestite, halite
Color Produced - silvery white Element - titanium + zirconium + magnesium alloys Primary mineral ore - ilmenite, rutile, zircon, dolomite, magnesite, brucite, carnallite, olivine
Color Produced - lavendar Element -copper + strontium Primary mineral ore - chalcopyrite, celestite