Red shift

The diagram shows the red shift of the light from a star (or galaxy) as moves away from the observer. The greater the speed the greater the red shift.
By measuring the amount of red shift for a certain line we can calculate the speed of recession of the star (or galaxy).