You can see different parts of the Sun by looking in different colors
Different colors of light come from gases at different temperatures.  The white light you see with your eye comes from the cool photosphere and sunspots; X-rays come from the hot corona.
• Visible light, extreme ultraviolet, and X-ray images are used here