Curious Minds

Clear answers to science and history questions

Why Stars Have Different Colors: Stellar Spectra Explained

· 5 min read · Science

Stars appear in a spectrum of colors—red, orange, yellow, white, blue, and violet—because their surface temperatures, chemical composition, and the physics of light emission differ.

Surface Temperature and Black‑Body Radiation

Every star behaves like a hot, glowing black body. According to Planck’s law, a hotter body emits more light at shorter wavelengths. The peak wavelength of a star’s spectrum is inversely proportional to its temperature (Wien’s displacement law). A star at 3,000 K peaks in the red‑orange part of the spectrum, while one at 30,000 K peaks in the deep blue or near‑ultraviolet. This temperature dependence explains why the Sun, with an effective temperature of about 5,800 K, looks white‑yellow, whereas Betelgeuse (≈3,400 K) appears orange‑red and Vega (≈10,000 K) looks bluish.

In practice, the color we see is a combination of the star’s intrinsic spectrum and the human eye’s sensitivity. The eye is most responsive to green light; when a star’s peak lies in the red, we perceive it as reddish because the eye amplifies the weaker blue and green components. Thus, temperature alone sets the baseline color, but perception can shift the hue slightly.

Chemical Composition and Spectral Lines

While temperature determines the overall shape of a star’s spectrum, its chemical makeup adds distinct absorption and emission features. Elements such as hydrogen, helium, iron, and calcium absorb light at characteristic wavelengths, creating dark lines—called Fraunhofer lines—in the spectrum. These lines can alter the apparent color, especially when many strong lines overlap.

  • Hydrogen Balmer lines are strongest in A‑type stars (~10,000 K) and give a pronounced yellowish tint.
  • Helium lines dominate in the hottest O‑type stars, contributing to their blue appearance.
  • Iron and calcium lines are prominent in cooler K and M stars, enhancing red and orange hues.

Because these lines are wavelength‑specific, a star with the same temperature but a different metallicity can appear slightly different in color. For instance, the metal‑rich star Arcturus (K1.5 III) shows a deep orange‑red color, while the metal‑poor star HD 140283 appears bluer than expected for its temperature.

Stellar Classification and the Hertzsprung–Russell Diagram

The Morgan–Keenan (MK) system classifies stars by spectral type (O, B, A, F, G, K, M) and luminosity class (I–V). Spectral type correlates strongly with temperature, while luminosity class indicates size and evolutionary stage. The Hertzsprung–Russell (H–R) diagram plots luminosity versus temperature, revealing distinct branches: main‑sequence, giants, supergiants, and white dwarfs.

Each branch occupies a characteristic color range:

  1. O and B supergiants: blue to blue‑white.
  2. A and F main‑sequence stars: white to yellow.
  3. G, K, M giants: yellow to orange to deep red.
  4. White dwarfs: blue or white, depending on temperature.

Thus, the star’s position on the H–R diagram directly predicts its visual color.

Red Giants, Supergiants, and Cool Stars

When stars exhaust hydrogen in their cores, they expand and cool, moving to the red‑giant branch. Their outer layers become opaque and cooler, shifting the peak emission toward longer wavelengths. Betelgeuse, a red supergiant, emits most of its energy in the infrared, but the visible portion is dominated by red and orange light, giving it a striking hue.

Cool stars (spectral type M) have temperatures below 3,500 K. Their spectra are rich in molecular bands (e.g., TiO, VO) that absorb blue and green light, making them appear deep red or even near‑infrared. The cool dwarf star Proxima Centauri is an example, showing a very reddish color in photographs.

Hot O and B Stars, the Blue End of the Scale

O‑type stars, with temperatures above 30,000 K, emit strongly in the ultraviolet. Their visible light is dominated by blue wavelengths, and their spectra contain strong helium lines. Rigel, a blue supergiant, is a classic example of a star whose color is determined by its extreme temperature.

B‑type stars (10,000–30,000 K) are slightly cooler but still appear blue or blue‑white. The bright star Vega (A0 V) sits near the boundary; its spectrum peaks in the blue, but the human eye’s sensitivity to green light makes Vega look white‑yellow to the naked eye.

Dust, Nebulae, and the Role of Interstellar Medium

Interstellar dust scatters and absorbs shorter wavelengths more efficiently than longer ones (Rayleigh scattering). When a star is viewed through a dusty region, its blue light is preferentially removed, making the star appear redder than it intrinsically is. This effect is noticeable in the Orion Nebula, where young stars behind dust clouds look unusually reddish.

Conversely, emission nebulae can add bright green or red lines (e.g., the 500.7 nm oxygen line) to the light from nearby stars, slightly altering the perceived color in photographs. However, the intrinsic color of the star remains governed by its temperature and composition.

Common Misconceptions About Stellar Colors

  • "All blue stars are hotter than all red stars."—While temperature is the dominant factor, metallicity and surface gravity can shift colors slightly.
  • "Red stars are older than blue stars."—Red giants are older, but red main‑sequence stars (M dwarfs) can be very young.
  • "The color of a star tells you its mass."—Mass correlates with temperature, but evolutionary stage and composition also influence color.

Understanding the physics behind stellar colors helps correct these oversimplifications. The color is a diagnostic tool, not a direct measurement of age or mass.

Frequently Asked Questions

Why do some stars look blue while others look red?

Because their surface temperatures differ: hot stars emit more blue light, cool stars emit more red light. This follows from black‑body radiation principles.

Can a star change color over its lifetime?

Yes. As a star evolves, its temperature and composition change. For example, the Sun will become a yellow‑white dwarf and appear more white, while Betelgeuse will grow even redder as it expands.

Does the distance to a star affect its color?

Distance itself does not change the star’s intrinsic color, but interstellar dust between us and the star can redden its appearance. This is called interstellar extinction.

What role does metallicity play in a star’s color?

Higher metallicity increases line absorption in the blue and green, making the star appear slightly redder. Metal‑poor stars often look bluer than metal‑rich stars of the same temperature.

Are there stars that appear green?

Green is rare because the human eye is less sensitive to green light in stellar spectra. However, certain emission nebulae can produce greenish light, and some stars with strong green lines (e.g., the 557.7 nm oxygen line) can appear slightly greenish in narrow‑band images.

In this article
  1. Surface Temperature and Black‑Body Radiation
  2. Chemical Composition and Spectral Lines
  3. Stellar Classification and the Hertzsprung–Russell Diagram
  4. Red Giants, Supergiants, and Cool Stars
  5. Hot O and B Stars, the Blue End of the Scale
  6. Dust, Nebulae, and the Role of Interstellar Medium
  7. Common Misconceptions About Stellar Colors
  8. Frequently Asked Questions