Perchlorate and blackpowder are measured and mixed with binding and coloring agents. The coloring agents are magnesium or aluminum for white, sodium salts for yellow, strotium nitrate or carbonate for red, barium nitrate for green, copper salts for blue, or charcoal or other forms of coal for orange. Most fireworks are launched from rows of steel tubes which are secured in sand. The sand helps to keep them stable when the fireworks are launched. The firework has to fit in tightly in its launching tube or the pressure create from the lift charge will escape and the firework won't become airborn.
FUSE Fuses are electrical wires the connect fireworks to a master control board.
With the push of a button, an electrical current rushes through the wire and creates a spark at the point of contact. The main fuse lights two secondary fuses at the same time. The first fuse is a fast-acting side fuse that ignites the lift charge. The second is a time-delayed fuse that is buried inside the shell that leads to the heart of the firework. If the gun powder is contained in a pouch at the bottom of a fireworks cylinder the heat and gas would be trapped and would push wildly at the inside of the launch tube until an explosion results.