How come fire is blue/purple on the bottom then orange on the top?

i thought of this while i was looking at my candle!


It has to do with the temperature. The bottom part has a lot of heat, emiting more energy, that's why the light is blue. The top has less heat, so there is less energy, and the color is different: orange.

Ain't that interesting and beautiful?

I hope I helped!