How does a prism produce colors from white light?

Glass changes the speed of white light, causing the colors to separate.
A prism blocks white light and only lets colored light pass through.
A prism reflects different wavelengths of light by different amounts.
A prism bends different wavelengths of light by different amounts.

A prism bends different wavelengths of light by different amounts. This is known as refraction, and it causes the colors to separate and create a rainbow effect. The shorter wavelengths (such as blue and violet) are bent more than the longer wavelengths (such as red and orange), causing the colors to spread out into a spectrum. The prism then disperses the white light into all of its component colors, creating a beautiful display of the rainbow.