Here's why:
* Blackbody Radiation: Stars, like all objects, emit electromagnetic radiation due to their temperature. This radiation is known as blackbody radiation.
* Wien's Displacement Law: This law states that the peak wavelength of the emitted radiation is inversely proportional to the object's temperature.
* Color and Temperature: The peak wavelength corresponds to a specific color. Hotter stars emit more blue light (shorter wavelengths), while cooler stars emit more red light (longer wavelengths).
Here's a basic breakdown of color to temperature:
* Blue: Very hot (over 25,000 Kelvin)
* White: Hot (7,500 to 10,000 Kelvin)
* Yellow: Medium (5,000 to 7,500 Kelvin)
* Orange: Cool (3,500 to 5,000 Kelvin)
* Red: Very cool (under 3,500 Kelvin)
Other Clues:
While color is the most straightforward indicator, other factors can also provide clues about a star's temperature:
* Spectral lines: The specific wavelengths of light absorbed and emitted by a star's atmosphere (its spectrum) can reveal the presence of certain elements and their ionization states, which are directly related to temperature.
* Luminosity: A star's brightness (luminosity) is also related to its temperature and size.
It's important to remember that these clues are used together to get a comprehensive understanding of a star's temperature.