I don't think that's right. Sunlight is white in the atmosphere too. Scattering causes the sun, not the light, to look yellow, and so sunlight is thought of as yellow.