Sunspots are temporary phenomena on the surface of the Sun (the photosphere) that appear visibly as dark spots compared to surrounding regions. They are caused by intense magnetic activity, which inhibits convection, forming areas of reduced surface temperature. Although they are at temperatures of roughly 3,000–4,500 K (4,940–7,640 °F), the contrast with the surrounding material at about 5,780 K leaves them clearly visible as dark spots, as the intensity of a heated black body (closely approximated by the photosphere) is a function of T (temperature) to the fourth power.