why do dry sodium chloride, the solutions of sodium nitrate and solution chloride all impart the same color to the flame?

2 answers

The flame color is due to the excitation of the Na^+ in the flame. Solutions dry out in the flame so there is no difference between the solid and the liquid. The yellow color you see is due to the Na and not nitraate or chloride ion
Thanks a lot for this solution.