White light, or nearly white light from the Sun, contains a continuous distribution of wavelengths. The light from the Sun is essentially that of a blackbody radiator at 5780 K. The wavelengths (spectral colors) of white light can be separated by a dispersive medium like a prism. Even more effective separation can be achieved with a diffraction grating.