Just before sunset, the sunlight passes through a greater depth of air than near the middle of the day. this and the greater dustiness of the air at the time of day increases the amount of redness. The brilliant colors of sunset clouds are due to their illumination by light taht has passed through different depths of air.