First of all you should do research on what types of chemicals produce which colors. Then figure out which chemicals are more volatile and how fireworks work.
Didn't find the answer you were looking for?