This article explains why the sun appears white at midday and has a red hue during sunrise and sunset.