Answer:
they are comer than their surroundings.
Sunspots are cooler because their magnetic fields inhibit the replenishing of heat from convective flows (due to the interaction between plasma and magnetic fields). This allows them to cool radiatively. The rest of the solar surface is constantly being replenished by convective cells that reheat it.