The light coming from a galaxy moving away from the earth appears “red shifted” as the wavelengths of the light coming from that galaxy are stretched out or lengthened. The light coming from a galaxy moving toward the earth appears “blueshifted” as the wavelengths of the light coming from that galaxy are compressed or shortened.