Here's how it works:
* Hot stars emit more blue and white light, which has shorter wavelengths.
* Cooler stars emit more red and orange light, which has longer wavelengths.
This relationship is known as Wien's Displacement Law, which states that the wavelength of peak emission from a blackbody is inversely proportional to its temperature.
Here's a quick guide to star color and temperature:
* Blue: 30,000 K and above (very hot)
* White: 10,000 - 30,000 K (hot)
* Yellow: 5,000 - 10,000 K (medium temperature)
* Orange: 3,500 - 5,000 K (cool)
* Red: 3,500 K and below (very cool)
It's important to note that this is a simplified explanation. Astronomers use more sophisticated methods to determine star temperatures, including:
* Spectral analysis: Studying the absorption and emission lines in a star's spectrum can reveal its temperature.
* Brightness and distance: Knowing how bright a star appears and how far away it is can help calculate its intrinsic brightness and thus its temperature.
So, while color is a good starting point, a combination of different observations and methods is needed to get a precise measurement of a star's temperature.