Neon, sodium, and in fact all atoms have the color they do because the electrons in these atoms have a predominant absorption (and emission) at only specific colors of light. The chemical differences between neon, with ten electrons (and ten protons in its nucleus), and sodium, with eleven electrons (balanced by eleven nuclear protons), leads to the separation between the relevant orbits corresponding to light in the red and yellow portions of the electromagnetic spectrum, respectively.
One can test this quantum principle tonight at dinner. Sprinkle a little bit of salt into the table candle (not so much that you smother the flame) and you will see a distinct yellow tinge to the candle’s light. The energetic atoms in the flame will excite electronic transitions in the sodium in the salt crystals, with electrons moving from one quantum orbit to another, and when the electrons return to their original orbits, they give off yellow light. In fact, independent of sodium, the light we see from a candle results from the electrons in the hot gas atoms near the wick being excited into high-energy orbits. When the electrons return to their lower energy states, they emit photons—which is the source of the light in a flame. We cannot have a complete understanding of fire— the oldest technology—without an understanding of quantum mechanics.
Figure 12: Sketch of Bohr’s proposed discrete electron orbits about a positively charged nucleus. Only certain trajectories are allowed, and an electron has a different energy depending on which orbital path it is on. The electron emits or absorbs light only when moving from one orbit to another.
Each element has its own unique spectrum of absorption (or emission) lines, specific wavelengths of light that correspond to allowed transitions from one electron orbit to another. Just as in the case of fingerprints or snowflakes, no two elements have exactly the same spectrum of absorption lines. By measuring the different wavelengths of the light emitted by an atom, one can identify the element or molecule. In fact, this is how the element helium, the second most common element in the universe (after hydrogen), was discovered. When absorption lines from light from the sun were studied, the line spectra for hydrogen were observed, but there was another series of lines that did not correspond to any element known on Earth. This newly detected element was named helium after the Greek god of the sun, Helios.
If you want to see what a line spectrum for a previously un-known element would look like, consider the November 1955 issue of Strange Adventures, a science fiction anthology comic book published by National Allied Periodicals, home of Superman and Batman. As shown in Figure 13, scientist Ken Warren uncovers the existence of a “radioactive metallic element hitherto 22 undiscovered in the entire solar system.” In order to trace the source of this new metallic element, Dr. Warren uses a scintillometer. A caption box in the story informs the readers that this is a device capable of detecting “even the smallest amount of radioactivity.” While nowadays a scintillometer refers to a device that detects small variations in the optical properties of the atmosphere, back in 1955 this was indeed the term used to measure the presence of ionizing radiation. Dr. Warren discovers that the radioactive element was brought to Earth by an alien spacecraft. This in turn leads to his capture by two would-be invaders who intend to set the entire planet aflame. Apparently if Earth could be converted into a flaming sun, then the temperature on the moon would rise to a point that would accommodate the aliens’ physiology. The fact that the sun is not actually a large planet that has been set on fire seems to have escaped these aliens, who have nevertheless managed to master interstellar flight, but it turns out to be a moot point, as Dr. Warren and his chemist colleague Hank Forrest are able to trick the