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 smaller the color index, the more blue the object is. Conversely, the larger the color index, the more red the object is. This is a consequence of the logarithmic magnitude scale, in which brighter objects have smaller magnitudes than dimmer ones. For comparison, the yellowish Sun has a B−V index of 0.656 ± 0.005, whereas the bluish Rigel has a B−V of −0.03.