Using this model the effective temperature of stars is estimated, defined as the temperature of a black body that yields the same surface flux of energy as the star. If a star were a black body, the same effective temperature would result from any region of the spectrum. For example, comparisons in the B (blue) or V (visible) range lead to the so-called B-V color index, which increases the redder the star, with the Sun having an index of +0.648 ± 0.006. Combining the U (ultraviolet) and the B indices leads to the U-B index, which becomes more negative the hotter the star and the more the UV radiation. Assuming the Sun is a type G2 V star, its U-B index is +0.12. The two indices for two types of most common star sequences are compared in the figure (diagram) with the effective surface temperature of the stars if they were perfect black bodies. There is a rough correlation. For example, for a given B-V index measurement, the curves of both most common sequences of star (the main sequence and the supergiants) lie below the corresponding black-body U-B index that includes the ultraviolet spectrum, showing that both groupings of star emit less ultraviolet light than a black body with the same B-V index. It is perhaps surprising that they fit a black body curve as well as they do, considering that stars have greatly different temperatures at different depths. For example, the Sun has an effective temperature of 5780 K, which can be compared to the temperature of its photosphere (the region generating the light), which ranges from about 5000 K at its outer boundary with the chromosphere to about 9500 K at its inner boundary with the convection zone approximately 500 km (310 mi) deep.