Boron-based compounds are used in fireworks to create vibrant colors.
When these compounds are heated, they release the light of a particular color. https://borates.today/boron-fireworks/
The most common colors produced by boron-based compounds are green, blue, and purple.
Borates vaporize easily and while most boron-based fireworks use sodium borate, some use potassium perchlorate instead.
Ammonium bifluoride is another popular choice because it produces brilliant white light.
When pyrotechnicians mix borates with other materials such as aluminium powder or magnesium ribbon, they can produce even more colors like pink, orange, or yellow.