Color of a flame depends on various factors such as temperature, fuel composition and oxygen proportion during the combustion. Different parts of the flame will have different colors depending on thetemperature.
The main factor that determines flame colour is the chemical makeup of the flame . This , ofcourse depends on what is burning. Temperature can be factor too.
Hope this will help you !!!
Rajkumar Yadav Yadav answered this
1.Nature of fuel 2.Quantity of oxygen received by flame.