Verified Answer :

they are cooler than their surroundings and they're cooler because of the intense magnetic fields in them

They appear darker because they are are much cooler than the rest of the surface