White light is a combination of various colors of light, each with its own wavelength. When all these colors are combined, they result in what we perceive as white light. The visible spectrum of light spans a range of wavelengths from approximately 400 to 700 nanometers (nm).
If we break down white light using a prism or a diffraction grating, we can observe a continuous spectrum of colors called a rainbow. The colors in the visible spectrum, in order of increasing wavelength, are violet, blue, green, yellow, orange, and red. Violet light has the shortest wavelength among the visible colors, around 400 nm, while red light has the longest wavelength, around 700 nm.
It's important to note that the perception of color is subjective and can vary depending on factors such as individual differences in color vision and the lighting conditions.