Well, Due to the electrons returning to ground state from excited state. Neon lighting consists of brightly glowing, electrified glass tubes or bulbs. The lengths that the electrons have to travel differ, thus the color produced are different and the color of the light depends on the gas in the tube.