>>18927564The blue color of the sky is a result of the way the Earth's atmosphere scatters sunlight. The Earth's atmosphere is composed of several gases and particles. When sunlight reaches the Earth's atmosphere, it encounters molecules and particles that cause the light to scatter in all directions. The shorter blue wavelengths of light are scattered more effectively than the other colors in the spectrum. This scattering of blue light is what gives the sky its blue appearance.
During sunrise and sunset, when the sun is lower in the sky, the light has to pass through more of the atmosphere, which scatters out most of the shorter blue wavelengths. This process allows the longer red and orange wavelengths to dominate, giving the sky a reddish or orange hue.