Rayleigh scattering
For the example of the Sun at zenith, in broad daylight, the sky is blue due to Rayleigh scattering, which also involves the diatomic gases and . Near sunset and especially during twilight, absorption by ozone () significantly contributes to maintaining blue color in the evening sky.