The metal salts used in fireworks coul be one of two things that are used, oxidisers such as KNO3 are used to consume the fuel, and other, often group II and transition metal salts are used to add color to the flame, some, such as strontium nitrate, are used because they fulfil both functions.