Rayleigh scattering is the cause of different colors in the sky at sunset. This is because shorter-wavelength light (blue and violet) scatter more than long-wavelength light (red, yellow, and orange). That's why the sky looks red, orange, and yellow when the sun sets. Rayleigh scattering causes these colors to be diluted in the sky, but it also allows some of these colors to reach our eyes.