Barium chlorate in some sodium contamination, which is undesirable for pyrotechnic purposes, where the strong yellow of sodium can easily overpower the green of barium. Sodium-free barium chlorate can be produced directly through electrolysis: It can also be produced by the reaction of barium carbonate with boiling ammonium chlorate solution: The reaction initially produces barium chlorate and ammonium carbonate; boiling the solution decomposes the ammonium carbonate and drives off the resulting ammonia and carbon dioxide, leaving only barium chlorate in solution. When exposed to heat, barium chlorate alone will decompose to barium chloride and oxygen: Barium chlorate is used to produce chloric
Potassium chlorate perchlorate decomposes to potassium chloride and oxygen: The safe performance of this reaction requires very pure reagents and careful temperature control. Molten potassium chlorate is an extremely powerful oxidizer and spontaneously reacts with many common materials such as sugar. Explosions have resulted from liquid chlorates spattering into the latex or PVC tubes of oxygen generators, as well as from contact between chlorates and hydrocarbon sealing greases. Impurities in potassium chlorate itself can also cause problems. When working with a new batch of potassium chlorate, it is advisable to take a small sample (~1 gram) and heat it strongly on an