Well, I was only musing late at night. Sadly, at least on CiC, my physics is way better than my photography (which may not be saying much)., and I'd certainly bow to Manfred on anything photographic!
But for the record, it is the surface temperature that mostly determines the effective temperature. From Wikipedia:
Hey ho. Dr D. E. Stott, MA (Oxon), PhDThe sun, with an effective temperature of approximately 5800 °C,[13] is an approximately black body with an emission spectrum peaked in the central, yellow-green part of the visible spectrum, but with significant power in the ultraviolet as well.