Parallel beams of light strike a prism. Red, orange, yellow, green, blue, indigo, and violet (ROYGBIV) rays are refracted by slightly different amounts. This is called dispersion, Shorter wavelengths are refracted more. If all the rays were the same colour, then they would emerge from the right side of the prism parallel to each other. Instead, they diverse slightly.