When light is refracted as it enters a prism, each colour is refracted by a different amount. Because each colour has a different wavelength, the speed of each colour is different. This means that ...
As the light was shifted towards the red end of the spectrum (lower frequency/longer wavelength) this phenomenon was termed 'redshift'. Figure caption, Lower diagram shows spectrum of light ...