Stars appear in different colors because their surface temperatures differ: cooler stars glow red or orange, while the hottest stars glow blue-white. This color–temperature relationship is a direct consequence of the physics of thermal radiation, and it allows astronomers to read a star's temperature, and much more, from its light alone.
The Basics: Thermal Radiation and Blackbody Curves
Every object with a temperature above absolute zero emits electromagnetic radiation across a range of wavelengths. For a perfect emitter, called a blackbody, the spectrum of that radiation follows a predictable curve: as temperature rises, the curve shifts toward shorter wavelengths and the total energy emitted increases rapidly. This is described by Wien's displacement law and the Stefan–Boltzmann law. Stars are not perfect blackbodies—their atmospheres absorb and re-emit light at specific wavelengths—but their continuous spectra closely approximate blackbody curves, so the peak wavelength and overall shape of a star's spectrum are governed mainly by its surface temperature.
Wien's law states that the peak wavelength is inversely proportional to temperature. A star with a surface temperature of about 3,000 K peaks in the infrared but emits enough visible red light to appear orange-red. A star at 10,000 K peaks in the ultraviolet but emits strongly across the visible spectrum, with more blue than red, so it looks blue-white. The Sun, at roughly 5,800 K, peaks near 500 nanometers—green light—but its spectrum is broad enough across the visible range that we perceive it as white (or slightly yellow when filtered through the atmosphere).
How Temperature Maps to Color: The Spectral Sequence
Astronomers classify stars by spectral type, a sequence that runs from hottest to coolest: O, B, A, F, G, K, M. Each type corresponds to a temperature range and a characteristic color. The traditional mnemonic "Oh Be A Fine Girl/Guy, Kiss Me" lists them in order. The table below gives approximate temperature ranges and typical colors; exact boundaries are conventions, not sharp physical cutoffs.
- O-type: above about 30,000 K; blue.
- B-type: roughly 10,000–30,000 K; blue-white.
- A-type: roughly 7,500–10,000 K; white.
- F-type: roughly 6,000–7,500 K; yellow-white.
- G-type: roughly 5,200–6,000 K; yellow (the Sun is a G2 star).
- K-type: roughly 3,700–5,200 K; orange.
- M-type: below about 3,700 K; red.
This sequence was originally based on the strength of absorption lines in stellar spectra, before the underlying physics was understood. Later work showed that the sequence is essentially a temperature sequence: hotter stars have weaker lines of certain elements and stronger lines of others because ionization states change with temperature.
Why We See White Light from the Sun
The Sun's surface temperature is about 5,800 K, which places its peak emission in the green part of the visible spectrum. Yet the Sun looks white to the eye when viewed from space, and yellowish from the ground. The reason is that the Sun emits across the entire visible range—violet through red—and the human eye integrates this mixture into white. The atmosphere scatters shorter wavelengths (blue) more efficiently, which is why the Sun can appear yellow or orange near the horizon and why the sky is blue. A star's apparent color can therefore be affected by interstellar dust and gas, which redden light in a process called interstellar extinction, analogous to the reddening of sunlight at sunset.
Beyond Temperature: Metallicity, Gravity, and Other Factors
While temperature is the dominant factor in a star's color, other properties can shift the detailed spectrum. Metallicity—the abundance of elements heavier than helium—affects the opacity of the stellar atmosphere and can subtly change the color at a given temperature. Surface gravity (related to the star's size and mass) broadens absorption lines, which can influence broadband colors. For most stars, however, these effects are secondary; the primary driver remains effective temperature. Interstellar dust between the star and the observer is a common complication: it absorbs and scatters blue light more than red, making distant stars appear redder than they really are. Astronomers correct for this using reddening laws and multi-band photometry.
How Astronomers Measure Stellar Colors
Rather than relying on the eye, astronomers quantify color using photometric systems such as the UBV (ultraviolet, blue, visual) system or the Sloan Digital Sky Survey filters. They measure a star's brightness through different filters and compute color indices, such as B−V, the difference in magnitude between blue and visual bands. A smaller (or negative) B−V indicates a bluer, hotter star; a larger B−V indicates a redder, cooler star. These indices are calibrated against temperature using stellar models and observations of nearby stars. Spectroscopy provides a more detailed picture: by analyzing the strength and shape of absorption lines, astronomers can determine temperature, gravity, metallicity, and even rotation and magnetic activity.
Common Misconceptions About Star Colors
One frequent misconception is that stars are actually white and that color is an atmospheric illusion. In fact, stars do emit different spectra, and their colors are real physical differences, though the eye's color perception is limited at low light levels. Another misconception is that color indicates age or composition directly. While temperature correlates with mass and evolutionary stage, color alone does not uniquely determine age; a red giant and a red dwarf can both look red but have very different masses, ages, and luminosities. Color is a powerful diagnostic, but it must be combined with other data—luminosity, spectral lines, and sometimes parallax—to build a complete picture.
Frequently Asked Questions
Why are there no green stars?
Stars emit across a broad range of wavelengths, not at a single color. Even though a star's peak emission might fall in the green region, its spectrum includes significant blue and red light, so the mixture appears white to the eye. A truly green star would need an implausibly narrow emission band, which stellar blackbody spectra do not produce.
Do star colors change over time?
Yes, but slowly for most stars. As a star evolves, its surface temperature changes, so its color shifts. For example, a massive star may spend millions of years as a blue supergiant before becoming a red supergiant. Sun-like stars become red giants near the end of their lives. These changes occur over millions to billions of years, far too slowly to notice on human timescales.
What color is the hottest star?
The hottest known stars have surface temperatures well above 30,000 K and appear blue. Their peak emission lies in the ultraviolet, but they still emit enough visible blue light to look distinctly blue-white. There is no sharp upper limit, but very massive stars are rare and short-lived.
Can I tell a star's temperature by its color with my naked eye?
Roughly, yes. Bright stars like Betelgeuse (red) and Rigel (blue-white) show clear color differences. However, the human eye is not a precise photometer, especially for faint stars, and atmospheric effects, light pollution, and individual color perception can distort colors. For accurate temperatures, astronomers use instruments.
Why do some stars twinkle in different colors?
Twinkling, or scintillation, is caused by turbulence in Earth's atmosphere, which bends starlight randomly. This can momentarily split light into colors, especially for bright stars near the horizon. The effect is atmospheric, not intrinsic to the star.
Are red stars cooler than blue stars?
Yes, in general. Red stars have cooler surfaces (below about 3,700 K for M-type), while blue stars are hotter (above about 10,000 K). This relationship holds for main-sequence stars and most giants, though unusual objects like white dwarfs and neutron stars have their own temperature–color relationships.