The appearance of blue for the sky has a name... Rayleigh scattering after John William Strutt (Lord Rayleigh) a British physicist and mathematician of the late 1800's, who calculated a mathematical formula that demonstrated that, even in an atmosphere without smoke and dust, gas molecules like oxygen could redirect sunlight and scatter it in many directions. Sunlight is a form of visible light that contains all of the colors. When it is scattered, it is perceived by the human eye as having a specific color. When sunlight encounters gas molecules in the atmosphere, high frequency blue light is scattered out first. The most intense blues are usually seen between 10:00 a.m. and 3:00 p.m. on cloudless days, if we look at the sky about 45 degrees above the horizon with our with our backs to the Sun.
As the Sun begins to set, the sky at the horizon often appears to be red. Sunlight entering at the horizon level travels through more atmosphere than sunlight entering overhead. Most of the shorter wavelength light has been scattered out, allowing longer wavelengths of light to reach our eyes. When particles of dust provide additional opportunities for scattering, sunsets have a red glow. The brilliance is often enhanced in the sky by clouds. (With partial assistance from Teacher's Guide)