Another diagram describing the scattering of light by the gases in the atmosphere is provided in this link.
WORD document containing additional notes on blue sky and red sunrise and sunset