Did you know....
The sun is not yellow at all. It actually shines pure white, as white as snow. Only on the earth, when light streams through Earth's atmosphere, does the sun look yellow..
Color of the Sun
In popular culture, the Sun is yellow. But did you know that the color of the Sun is actually white? It’s only when light from the Sun passes through the Earth’s atmosphere that in changes in color, from white, to the yellow we see here on Earth.
All stars have a color. From red dwarfs and red giants, to white and yellow stars to blue giants and supergiants. The color of a star comes from its temperature. As photons escape the interior of a star out into space, they have different amounts of energy. A star can be emitting infrared, red, blue and ultraviolet light all at the same time. They’re even emitting X-rays and gamma rays.
If a star is cool, less than 3,500 Kelvin, its color will be red. This is because there are more red photons being emitted than any other kind of visible light. If a star is very hot, above 10,000 Kelvin, its color will be blue. Once again, because there are more blue photons streaming from a star.