Why is the colour of the light emitted by an element in the gaseous state characteristic of the element?

Various elements absorb some wavelengths while letting others move on.

Since this is not my area of expertise, I searched Google under the key words "Spectrum elements explanation" to get these possible sources:

(Broken Link Removed)
http://online.cctt.org/physicslab/content/Phy1/lessonnotes/atomic/atomicmodelsandspectra.asp

I hope this helps. Thanks for asking.

Brilliant, thanks

You're welcome! I'm glad I could help. If you have any more questions, feel free to ask.