It is used in pyrotechnics to produce a green color .
Barium chlorate is used in fireworks to make a green color .