Solar radiation closely matches a black body radiator at about 5,800 K. As it passes through the atmosphere, sunlight is attenuated by scattering and absorption; the more atmosphere through which it passes, the greater the attenuation.