the ray is refracted (bent). This fact allows the design of lens that refract the light in specific ways, simply by changing the shapes of the lens.
The amount of refraction also depends on the frequency of light. If we bend the light in the same direction twice as in a 60° prism, then the combined colours of white light separate out as they are refracted by different amounts:
The colours that are refracted the least have the lowest frequencies (and the longest wavelengths). The colours in order are: , , , , , and .