Step outside on a clear day and the sky is a deep, even blue from horizon to horizon. Wait a few hours until the Sun sinks low, and the same sky can blaze orange, pink, and red. Nothing about the Sun itself has changed. What changes is the path sunlight takes through the atmosphere, and the way tiny molecules of air treat different colors of light. The whole show comes down to one physical process with an unglamorous name: scattering.
White light is a mixture of colors
Sunlight looks white, but it is actually a blend of all the colors of the rainbow, each corresponding to a different wavelength. Red and orange light have long wavelengths. Blue and violet light have short wavelengths. When Isaac Newton passed a beam of sunlight through a prism, he showed that white light fans out into this spectrum. The atmosphere performs a subtler version of the same trick every single day, but instead of bending the colors it scatters them.
How air molecules scatter light
The atmosphere is mostly nitrogen and oxygen molecules, far smaller than the wavelength of visible light. When light waves encounter particles this small, they are scattered in a way described by the physicist Lord Rayleigh. The key fact is that the amount of scattering depends very strongly on wavelength. Shorter wavelengths are scattered far more powerfully than longer ones. In fact, the effect scales with the inverse fourth power of the wavelength, which means blue light is scattered roughly ten times more than red light.
So as sunlight streams through the air, the blue and violet portions are bounced around in every direction, ricocheting from molecule to molecule. When you look up at a patch of sky away from the Sun, the light reaching your eye is this scattered light, and it is dominated by blue. You are essentially seeing blue light that has been redirected toward you from all over the sky.
A reasonable question is why the sky is not violet, since violet is scattered even more strongly than blue. There are two reasons:
- The Sun emits somewhat less violet light than blue to begin with.
- Human eyes are more sensitive to blue than to violet, and our vision blends the scattered colors into the blue we perceive.
Why sunsets are red
At sunset the geometry flips. When the Sun is near the horizon, its light has to travel through a much thicker slice of atmosphere to reach you than when it is overhead. Along that long path, almost all of the blue light is scattered away sideways, out of the direct beam, long before it arrives. What survives the journey to your eye is the light that resists scattering, namely the reds and oranges. That is why the Sun itself and the clouds around it glow warm at dusk and dawn.
This also explains a few everyday observations:
- The Sun looks yellowish at midday because a little blue has been removed from its direct light, but not much.
- Sunsets look especially vivid after dust, smoke, or pollution add extra particles that scatter light in additional ways.
- The sky near the horizon often looks paler than straight overhead because that light has passed through more air and picked up more mixed scattering.
The same physics, different worlds
Scattering is not unique to Earth. On Mars, where the thin atmosphere is full of fine dust, the daytime sky tends toward a butterscotch tan, and sunsets can appear bluish, the reverse of ours, because the dust scatters light in its own way. The color of a planet's sky is a direct readout of what its air is made of and how its particles interact with light.
Next time you notice the sky, remember that its color is not painted on. It is the visible result of countless collisions between sunlight and the air, a physics experiment running continuously above your head, sorting the colors of the spectrum by their wavelength.