
The average gas temperature of the solar surface is about 6050 K, but inside a sunspot, the gas temperature is only 4200 K. The reason a sunspot appears dark is that the gas inside the spot where the magnetic field is strongest is only emitting about 1/4 as much light as from the rest of the solar surface. If you were to rip a sunspot out from the solar surface and put it in the night sky, it would appear as a bright, orange gas, not a dark void.