In astronomy, the color index is a simple numerical expression that determines the color of an object, which in the case of a star gives its temperature. The lower the color index, the more blue (or hotter) the object is. Conversely, the larger the color index, the more red (or cooler) the object is. This is a consequence of the inverse logarithmic magnitude scale, in which brighter objects have smaller (more negative) magnitudes than dimmer ones. For comparison, the whitish Sun has a B−V index of 0.656 ± 0.005, whereas the bluish Rigel has a B−V of −0.03 (its B magnitude is 0.09 and its V magnitude is 0.12, B−V = −0.03). Traditionally, the color index uses Vega as a zero point. The blue supergiant Theta Muscae has one of the lowest B−V indices at −0.41, while the red giant and carbon star R Leporis has one of the largest, at +5.74.
To measure the index, one observes the magnitude of an object successively through two different filters, such as U and B, or B and V, where U is sensitive to ultraviolet rays, B is sensitive to blue light, and V is sensitive to visible (green-yellow) light (see also: UBV system). The set of passbands or filters is called a photometric system. The difference in magnitudes found with these filters is called the U−B or B−V color index respectively.