Why do elements burn different colors?

1 Answer

The test carried out to detect certain elements in a compound is known as Flame Test. Consider the following explanation :-

Explanation:

When elements are burnt or in heated in a flame, the electrons in the atoms of such elements are excited to higher energy states. On de-excitation from higher to low energy level, these electrons emits photons (light) of different wavelengths in different regions of electromagnetic (visible)spectrum.

Since each wavelength corresponds to a specific color, therefore each element burns in a different color due to emitting specific wavelengths ; one example is shown in the pic below :-

https://www.google.co.in/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwj53LaAh6vaAhVMtY8KHRtlDr4QjRx6BAgAEAU&url=http%3A%2F%2Fchemskills.com%2F%3Fq%3Demission_spectra_old&psig=AOvVaw22s8qeYMRcqDikpWm1WfCf&ust=1523289371102052

The Flame test is mostly done for cations of Inorganic salts.

The way of doing flame test :-

https://www.google.co.in/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjF6IqYhqvaAhVEQo8KHaOOAXYQjRx6BAgAEAU&url=https%3A%2F%2Fwww.thoughtco.com%2Fperform-and-interpret-flame-tests-603740&psig=AOvVaw22s8qeYMRcqDikpWm1WfCf&ust=1523289371102052

For example, Na gives intense yellow color, Mg gives an intense white color, K gives mostly Violet/Lilac color etc as shown in the pic given below :-

https://www.google.co.in/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwi9sZHGhavaAhUIpY8KHbJwAHAQjRx6BAgAEAU&url=https%3A%2F%2Fsites.google.com%2Fa%2Fdivini.org%2Fclasse-1e-chimica%2Fhome%2Fattivita%2F4aprile2012comegliatomiemettonolaluce&psig=AOvVaw22s8qeYMRcqDikpWm1WfCf&ust=1523289371102052