The H-R diagram compares the brightness of a star with its temperature. The diagonal line running from the upper left to the lower right is called the Main Sequence. Stars lying on the Main Sequence are blue when they are bright and red when they are dim. The Sun lies in the center of the Main Sequence.