These are both related to the stellar temperature. Stars 10 times as massive as the sun shine more than a thousand times as much. The mass and luminosity of a star also relate to its color. More massive stars are hotter and bluer, while less massive stars are cooler and have a reddish appearance.