Light Beam Path for a Prism
The light beam dispersion rainbow color effect of a prism.
The refractive index for light at the interface between two media varies with the wavelength of the light. Blue light has a wavelength λ between 420 and 490 nm, where red light has a wavelength between 650 to 750 nm.
When white light shines on a prism surface it is broken down to different color components.