Skip to content
Space 12 min read

Why Are Stars Different Colors? Red, White and Blue Stars

Observation recorded
Planck blackbody curve of the Sun at 5,772 K peaking at 502 nm, with the visible band filled in its spectral colours, a white star, the colour swatch #FFF1EA and a colour bar from 1,000 K to 40,000 K

Look at Orion on a winter evening. The star at the top left, Betelgeuse, is a clear orange. The one at the bottom right, Rigel, is a cold blue white. They sit in the same constellation, both are supergiants, both are hundreds of light years away, and the difference you see is a single number: Betelgeuse's surface is at about 3,600 K and Rigel's at about 12,100 K. That gap of 8,500 degrees moves the peak of their light from the infrared to the ultraviolet.

The blackbody star colour simulator lets you drag a temperature slider from 1,000 K to 40,000 K and watch the spectrum and the colour change together. This post explains what it shows, with the numbers worked out.

Quick answerStars are different colours because they have different surface temperatures. Every hot surface glows with a Planck spectrum whose peak moves to shorter wavelengths as it heats up. Cool stars, below about 3,900 K, send more red than blue and look orange. Stars near 6,000 K look white. Stars above about 10,000 K send more blue and look blue white.

How does temperature set a star’s colour?

A star's surface is dense, opaque gas that absorbs almost everything that falls on it, which makes it close to what physicists call a blackbody. A blackbody's glow depends on nothing but its temperature, and Max Planck worked out its exact shape in 1900:

Bλ(T)=2hc2λ5 1ehc/λkT−1B_\lambda(T) = \frac{2hc^2}{\lambda^5}\,\frac{1}{e^{hc/\lambda k T} - 1}

Two things happen as TT goes up. The whole curve rises, at every wavelength. And its peak slides to shorter wavelengths, following Wien's displacement law:

λpeak=2898 μm KT\lambda_{\text{peak}} = \frac{2898\ \mu\text{m K}}{T}
Worked example: where Betelgeuse and Rigel peak
Betelgeuse: λ=2898/3600=0.805 μm=805 nm\lambda = 2898 / 3600 = 0.805\ \mu\text{m} = 805\ \text{nm}, just past the red end of human vision (about 750 nm).
Rigel: λ=2898/12100=0.239 μm=239 nm\lambda = 2898 / 12100 = 0.239\ \mu\text{m} = 239\ \text{nm}, well into the ultraviolet.
Neither star peaks in the visible band at all. Only stars between about 2,898/0.75 = 3,860 K and 2,898/0.38 = 7,630 K do.

So the colour is not set by where the peak sits. It is set by the slope of the curve across the narrow visible window, 380 to 750 nm. Compare the radiance at 450 nm (blue) with 650 nm (red) using Planck's law:

Worked example: blue to red ratio
Betelgeuse, 3,600 K: B(450)/B(650)=0.41B(450)/B(650) = 0.41. Red outshines blue by a factor of 2.4, so the star looks orange.
The Sun, 5,772 K: B(450)/B(650)=1.12B(450)/B(650) = 1.12. Nearly balanced, so it looks white.
Rigel, 12,100 K: B(450)/B(650)=2.52B(450)/B(650) = 2.52. Blue outshines red 2.5 times, so it looks blue white.
Betelgeuse blackbody spectrum at 3,600 K peaking at 805 nm in the near infrared, with only 19.9 percent of its light in the visible band, an orange star and the colour swatch #FFCB91, compared with the dashed Sun curve 11 times taller
Figure 1. Betelgeuse at 3,600 K. The peak sits at 805 nm, outside the visible band, and the curve climbs from violet to red across it, so the computed colour is orange (#FFCB91). The dashed Sun curve is 11 times taller. Open this setup in the simulator.
Rigel blackbody spectrum at 12,100 K peaking at 239 nm in the ultraviolet, a pale blue star with colour swatch #C0D0FF, and a surface output of 1,220 MW per square metre, 19 times the Sun's
Figure 2. Rigel at 12,100 K. The peak has moved to 239 nm and the curve now falls from violet to red across the visible band, giving a pale blue (#C0D0FF). Open this setup in the simulator.

How the simulator turns a spectrum into a colour

Most star colour charts on the web use a curve fitted to photographs. The simulator does the calculation the way a colour scientist would. It multiplies the Planck spectrum by the three CIE 1931 colour matching functions, which describe how the average human eye's three cone types respond, sums the result every nanometre from 360 to 830 nm, and converts those three numbers to an sRGB screen colour with the standard D65 white point. Brightness is normalised, so you see the hue a star would have if it were bright enough for full colour vision.

A good check is CIE Illuminant A, which is defined as a 2,856 K blackbody: the published chromaticity is x = 0.4476, y = 0.4074, and the simulator's calculation lands within 0.002 of both.

What temperature is each colour of star?

Astronomers sort stars into the spectral classes O, B, A, F, G, K and M, from hottest to coolest. The temperature ranges below are approximate for main sequence stars, and the colours are what the simulator computes for a blackbody at a representative temperature.

ClassTemperatureExampleComputed colourPeakLooks
Oabove 30,000 KZeta Puppis, 40,000 K#9EB8FF72 nmblue
B10,000 to 30,000 KRigel, 12,100 K#C0D0FF239 nmblue white
A7,500 to 10,000 KSirius A, 9,940 K#CDDAFF292 nmblue white
F6,000 to 7,500 K6,500 K blackbody#FFF9FE446 nmwhite
G5,200 to 6,000 KThe Sun, 5,772 K#FFF1EA502 nmwhite, warm tint
K3,700 to 5,200 K4,500 K blackbody#FFDEBC644 nmpale orange
M2,400 to 3,700 KBetelgeuse 3,600 K, Proxima 2,980 K#FFCB91, #FFB86C805 nm, 972 nmorange

Notice how compressed the hot end is. Going from 12,100 K to 40,000 K, more than three times hotter, only shifts the colour from #C0D0FF to #9EB8FF. Once the peak is far into the ultraviolet, the visible band only sees the long, smooth tail of the curve, and that tail has the same shape at any high temperature. That is why there are no deep blue or violet stars: the bluest any blackbody can look is a pale sky blue.

Blackbody curves of Zeta Puppis (40,000 K), Rigel (12,100 K), Sirius A (9,940 K), the Sun (5,772 K), Betelgeuse (3,600 K) and Proxima Centauri (2,980 K) on log axes, each drawn in its star colour, with a dashed Wien's law line through the peaks
Figure 3. Six stars on log axes. Hotter curves sit higher at every wavelength and peak further left, and the dashed line through the peaks is Wien's law. Open the comparison in the simulator.

Why are there no green stars?

The Sun peaks at 502 nm, which is blue green, so by the "colour of the peak" logic the Sun should be green. It is not, because a blackbody curve is far wider than the visible band. At 5,772 K the radiance at 450 nm and at 650 nm differ by only 12 percent, so all three cone types are stimulated about equally and the brain reads white. Every blackbody colour lies on a single curve in colour space, the Planckian locus, which runs from deep red through orange and white to pale blue. It never enters the green region. Our post on what colour the Sun really is goes further into the Sun's own case.

Why do hot stars give off so much more light?

The other half of the story is brightness. Integrate Planck's law over every wavelength and you get the Stefan-Boltzmann law: each square metre of a star's surface radiates

PA=σT4,σ=5.670×10−8 W m−2 K−4\frac{P}{A} = \sigma T^4, \qquad \sigma = 5.670 \times 10^{-8}\ \text{W m}^{-2}\,\text{K}^{-4}
Worked example: per square metre, and then the whole star
Sun: 5.670×10−8×57724=62.9 MW per m25.670 \times 10^{-8} \times 5772^4 = 62.9\ \text{MW per m}^2.
Rigel: (12100/5772)4=19.3(12100/5772)^4 = 19.3, so 1,220 MW per m², 19 times the Sun's surface.
Betelgeuse: (3600/5772)4=0.151(3600/5772)^4 = 0.151, so only 9.5 MW per m². But its radius is about 764 times the Sun's (Joyce and colleagues, 2020), so its total output is 7642×0.151≈88,000764^2 \times 0.151 \approx 88{,}000 times the Sun's.

That last line is why a cool star can still be one of the brightest in the sky. Colour tells you temperature. Brightness tells you temperature and size together. The star life cycle simulator shows how a star's mass decides which temperature and size it ends up with, and how a star like Betelgeuse swells and cools late in its life.

What do light bulb kelvin ratings have to do with stars?

Exactly the same physics. The "2,700 K" on a warm white lamp is a correlated colour temperature: the temperature of the blackbody whose colour the lamp matches. An old tungsten bulb really is a small blackbody at about that temperature, and the simulator shows why it was such a poor lamp.

Worked example: how much of the light can you see?
2,700 K bulb: peak at 2898/2700 = 1.07 µm. Only 7.0% of the radiated power lies between 380 and 750 nm; 92.9% is infrared heat.
6,500 K "daylight": peak at 446 nm, and 46.3% of the power is visible.
Candle flame, 1,850 K: peak at 1.57 µm, and just 0.7% is visible.
A warm white light bulb at a colour temperature of 2,700 K, its blackbody curve peaking at 1,073 nm with 7 percent of the power visible and 93 percent infrared, and the colour swatch #FFAE59
Figure 4. A 2,700 K warm white source. The peak is at 1,073 nm and only the short wavelength tail reaches the visible band, which is why the colour is orange white (#FFAE59). Open this setup in the simulator.

A red dwarf like Proxima Centauri, at 2,980 K, computes to #FFB86C, almost the same as that bulb. Astronomers call it a red dwarf, but if you stood near one your eyes would adapt and call it a warm white, a little like a room lit by old incandescent lamps. A modern LED lamp rated 2,700 K matches the colour but not the spectrum, since it uses a blue chip and a phosphor rather than a hot filament.

A candle flame at 1,850 K with its blackbody spectrum peaking at 1,570 nm in the infrared, only 0.7 percent of the radiation visible, and an orange swatch #FF8500
Figure 5. A candle flame at 1,850 K: glowing soot, a near blackbody, with 99.3% of its radiation in the infrared. Open this setup in the simulator.

The misconception: red hot, blue cold

Taps, weather maps and thermostats all use red for hot and blue for cold, and that habit makes star colours feel backwards. For anything that glows, the scale runs the other way. A stove element at 1,000 K glows dull red, a filament at 2,700 K glows orange white, the Sun at 5,772 K is white, and only the hottest stars are blue. Blacksmiths knew this long before Planck: "white hot" is hotter than "red hot". The red on a tap is a convention about how water feels on skin, not about how matter glows.

A second, smaller misconception is that the colour of a star is the colour of its peak wavelength. The tables above show why that fails: Betelgeuse peaks in the infrared and Rigel in the ultraviolet, yet both are clearly visible and coloured. The eye sees the slope across 380 to 750 nm, not the peak.

Why do most stars look white to the naked eye?

Because most stars are faint. In dim light the eye relies on rod cells, which do not distinguish colour at all, so only the brightest stars trigger enough cone response to show a hue. That is why Betelgeuse, Antares, Rigel and Vega show colour while fainter stars look like white points. Binoculars help, since they gather more light. Near the horizon, extra air reddens and scatters starlight and makes bright stars like Sirius flash colours as they twinkle; that is the atmosphere, not the star.

Try it yourself

Open the simulator on the Sun and drag the slider slowly down to 3,000 K, watching where the curve crosses the shaded visible band. Then try the Compare view to see every preset star on one chart, and type 7,000 K into the box to find the temperature that looks most neutral on your screen.

Sources

Frequently asked questions

Why are some stars red and some blue?

Because they have different surface temperatures. A hot surface glows with a spectrum that peaks at shorter wavelengths. A 3,600 K star like Betelgeuse peaks at 805 nm in the infrared and sends more red than blue into the visible band, so it looks orange. A 12,100 K star like Rigel peaks at 239 nm in the ultraviolet and sends 2.5 times more blue than red, so it looks blue white.

Which color star is the hottest?

Blue stars. The hottest O type stars reach 30,000 to 50,000 K. Zeta Puppis, at about 40,000 K, peaks at 72 nm in the far ultraviolet. Red stars are the coolest, from about 2,400 K to 3,700 K.

Why are there no green stars?

A star’s spectrum is too broad. When the peak falls in the green, as it does for the Sun at 502 nm, the star also emits strongly in red and blue, and the eye sees the mixture as white. No temperature produces a green blackbody.

What color is the Sun as a star?

White. Its effective temperature of 5,772 K gives a computed colour of #FFF1EA, white with a faint warm tint. It looks yellow from the ground because the air scatters some of its blue light out of the direct beam.

Is a 2,700 K light bulb the same colour as a red dwarf star?

Very nearly. A 2,700 K blackbody computes to #FFAE59 and Proxima Centauri at 2,980 K to #FFB86C, both orange whites. A red dwarf is called red in astronomy, but to the eye it would look like a warm white bulb.

Try it yourself
Related observations
Physics 10 Cosmic Objects That Will amaze you Space Why the 2027 Solar Eclipse Lasts 6 Minutes 23 Seconds Space How We Know 3I/ATLAS Is Interstellar: Orbit Math
Transmit