First, much of what the above poster says is incorrect. It is best to start with the chlorides, as fireworks give their color by the molecular ion, not the atomic ion, and those with the best colors are metallic chloride ions. This comes usually from 'chlorine donors', or chlorine-rich fuels added to a fireworks formula in order to give more of the molecular chloride ions in the flame envelope. Using the nitrates in place of the chlorides of color-producing metals will wash out the color. Color production in fireworks was discussed a couple of years ago on the boards:
http://www.chemicalforums.com/index.php?topic=3598.0;prev_next=nextThe above poster is correct in asserting that the products of firework combustion are complicated, as there is always incomplete combustion and not everything is oxidized to its full potential. However, most of the metals wind up as the metal oxides or occasionally the metal chlorides (like KCl) when all is said and done. Where you get a lot of HCl production are with fireworks such as lances, which use ammonium perchlorate as an oxidizer.
If you are interested in making fireworks, I would suggest starting by reading up on rec.pyrotechnics (some of the stuff is junk there, but searching the archives can be very useful), and I would recommend
Introductory Practical Pyrotechnics by Tom Peregrin. Make sure that fireworks are legal in your country, state and jurisdiction before proceeding.
You'll find out, too, that certain materials need to be taken carefully, such as mixing nitrates with aluminum. Aluminum is a reactive metal, but its hard oxide coating prevents it from oxidizing too quickly. That oxide coating is eaten away by base, and if the mixture is allowed to become basic (which can happen in a self-promoting exothermic reaction with nitrate salts), the oxide coating can get eaten away and the aluminum can react, causing the entire mixture to spontaneously ignite. So do some reading.
Of the two metal chlorides you mentioned, copper(I) and copper(II) chloride are both excellent for blue and green flames. Barium chloride is also used for green, but more is needed, and the barium salt itself is toxic. By the way, barium chloride is BaCl
2, not BaCl.