Refraction by a prism - the effect of colour
This animation shows refraction by a prism. Drag the incident ray on the left hand side of the diagram to change the passage of light through the prism.
Moving the slider will change the colour of the incident ray and therefore the refractive index of the material of the prism. The change with colour has been exaggerated to make it easier to see.