5800 K at the base of the photosphere and 106  K