The splitting of white sunlight into its seven constituent colors (red, orange, yellow, green, blue, indigo, violet) is called dispersion. This phenomenon occurs when light passes through a prism or water droplets, creating a rainbow. Refraction is the bending of light, but dispersion specifically refers to the separation of colors by wavelength.