A spectrum is a condition that is not limited to a specific set of values but can vary, without gaps, across a continuum. The word spectrum was first used scientifically in optics to describe the rainbow of colors in visible light after passing through a prism. As scientific understanding of light advanced, it came to apply to the entire electromagnetic spectrum. It thereby became a mapping of a range of magnitudes (wavelengths) to a range of qualities, which are the perceived "colors of the rainbow" and other properties which correspond to wavelengths that lie outside of the visible light spectrum.
The spectrum in a rainbow
Light, visible light, or visible radiation is electromagnetic radiation that can be perceived by the human eye. Visible light spans the visible spectrum and is usually defined as having wavelengths in the range of 400–700 nanometres (nm), corresponding to frequencies of 750–420 terahertz. The visible band sits adjacent to the infrared and the ultraviolet, called collectively optical radiation.
A triangular prism dispersing a beam of white light. The longer wavelengths (red) and the shorter wavelengths (green-blue) are separated.
Beam of sun light inside the cavity of Rocca ill'Abissu at Fondachelli-Fantina, Sicily
Due to refraction, the straw dipped in water appears bent and the ruler scale compressed when viewed from a shallow angle.
Hong Kong illuminated by colourful artificial lighting