You might want to review the background section of the project. It has a pretty good explanation of how different colors result from heating different elements. And more information is provided in the references at the end of the background section. For example, the following link shows flame colors for various elements: