 In pairs where the two stars are of equal brightness, they are also of the same spectral type.In systems where the brightnesses are different, the fainter star is bluer if the brighter star is a giant star, and redder if the brighter star belongs to the main sequence.The mass of a star can be directly determined only from its gravitational attraction.