If you cast your mind back to school and can remember when your teacher shone light through a prism to create an artificial rainbow, then you’ll probably already know the answer to this question. 

“The entire sun and all of its layers are glowing,” said Christopher Baird, an assistant professor of physics at West Texas A&M University in Canyon, Texas. “The ‘color of the sun’ is the spectrum of colors present in sunlight, which arises from a complex interplay of all parts of the sun.”