In complete combustion of hydrocarbons the colour of the flame is blue. But what is the reason behind the flame being blue and not green or black or any other colour?
Edit: I've searched the web for an answer to my question but all of them just equate blue flame to complete combustion and yellow to incomplete combustion. A similar or rather the same question has been asked here on chemistry stack exchange by a user but it just has one relevant answer. The motive behind asking this question again is to get a few more answers or in other words a few more second opinions so as to get a more balanced and clearer understanding of the matter.