Want this question answered?
So in terms of of color red is cool, yellow is medium, blue-violet is hot.
The relationship is that the color is an indication of the star's surface temperature. For example, red stars are cooler, while blue stars are hotter. You can find more details in the Wikipedia article "Stellar classification".
Blue stars are the hottest, and red stars the coolest. Our sun is orangey, so it's kinda in between blue (hot) and red (cool).
The sun is also a star.
There is no simple relation. The color does not depend only on the mass. The same star can change color, without a significant change in mass. For example, our Sun is currently yellow; in a few billion years, it is expected to get much larger, becoming a red giant. However, if we limit the sample of stars to those on the "main sequence" of the "HR diagram", there is something of a relation between mass and color. The most massive stars are blue or white. They are also hottest and most luminous. The least massive are the red dwarf stars, which are relatively cool and dim. Our Sun, which is a "main sequence" star at present, is somewhere in between those extremes. (There is a strong relationship between mass and luminosity for main sequence stars. The HR diagram, of course, shows there is a relationship between luminosity and color for the main sequence stars.)
So in terms of of color red is cool, yellow is medium, blue-violet is hot.
The relationship is that the color is an indication of the star's surface temperature. For example, red stars are cooler, while blue stars are hotter. You can find more details in the Wikipedia article "Stellar classification".
The color of a star is related with the wavelength of the light observed. Wien's Law states that: Peak Wavelength x Surface Temperature = 2.898x10-3 Peak Wavelength is the wavelength of the highest intensity light coming from a star.
Blue stars are the hottest, and red stars the coolest. Our sun is orangey, so it's kinda in between blue (hot) and red (cool).
The sun is also a star.
The Hertzsprung-Russel diagram shows brightness versus color (the color reflects the star's temperature).
Hertzsprung and Russell.
well it depends on how fat you are.
well it depends on how fat you are.
Hertzsprung and Russell.
More massive stars usually appear brighter, therefore bluer. Less massive being redder, and yellow in the middle. I could be wrong.
There is no simple relation. The color does not depend only on the mass. The same star can change color, without a significant change in mass. For example, our Sun is currently yellow; in a few billion years, it is expected to get much larger, becoming a red giant. However, if we limit the sample of stars to those on the "main sequence" of the "HR diagram", there is something of a relation between mass and color. The most massive stars are blue or white. They are also hottest and most luminous. The least massive are the red dwarf stars, which are relatively cool and dim. Our Sun, which is a "main sequence" star at present, is somewhere in between those extremes. (There is a strong relationship between mass and luminosity for main sequence stars. The HR diagram, of course, shows there is a relationship between luminosity and color for the main sequence stars.)