The color (yellow) is due to the metal ion (sodium), the other element does not participate.
The color is from sodium, not from Cl or Nitrate - NO3.
The (yellow) sodium color is the same in all.
Because the color is due to the sodium. All of them have sodium, all of them give the same color. Technically nitrogen, oxygen, and chlorine have spectral lines as well; it's just that sodium's are much more prominent.
white/gray
The color remain unchanged.
impart to
Hcl liberates the ions of the salt which enables it to impart colour to flame easily.
By placing atoms of a metal into a flame, electrons can be induced to absorb energy and jump to an excited energy state, a quantum jump. They then return to their ground state by emitting a photon of light (the law of conservation of energy indicates that the photon emitted will contain the same amount of energy as that absorbed in the quantum jump). The amount of energy in the photon determines its color; red for the lowest energy visible light, increasing energy through the rainbow of orange yellow green blue indigo, and finally violet for the highest energy visible light. Photons outside the visible spectrum may also be emitted, but we cannot see them.
The flame test is not used to detect magnesium; a magnesium oxide rod is used as a support for the solutions of other elements in the flame test.
To impart knowledge, I'm answering your question.Verne has endeavored to impart only what is known to exist.Our history professor tried to impart some of his wisdom to us.
"Impart your wisdom to me, O wise one."
Floating matter in water known as suspended impurities Salts , minerals, aquatic matter etc. They impart colour, turbidity & taste to water.