Vol. Science · Astronomy · Star color
A hot dense surface shines with a continuous spectrum. Planck’s law gives the shape, Bλ(T). Wien’s law puts the peak at λmax = b/T. Stefan–Boltzmann gives the power: surface flux σT⁴, and luminosity L = 4πR²σT⁴. Slide the temperature and a radius in solar radii. The curve, the peak, and the luminosity move together. The same temperature ladder is the color lesson on the stars desk. How bright that light looks from Earth is magnitude. The wavelength ladder itself is the electromagnetic spectrum.
Classroom schematic. The curve is a perfect blackbody. NASA’s Webb caption says stars are not perfect blackbodies, and that the blackbody curve still describes the overall shape quite well. Absorption lines are missing here. The shaded band is the NASA Imagine classroom optical window, about 400–700 nm, the same cut as the EM spectrum desk. The color chip is an sRGB approximation of the chromaticity: it depends on the display and the eye, and it is not the star’s luminance. City light that hides faint red stars is the light-pollution desk. Not a stellar-atmosphere model and not a catalog.
Log wavelength · curve normalized to its peak · visible band shaded
Cited presets · uncertain ones say so
Enter a temperature from 2,000 K to 40,000 K, and a radius from 0.05 to 1,500 solar radii.
Why the colors run that way
Wien’s law slides the peak to shorter wavelengths as the temperature rises. A 40,000 K curve peaks in the ultraviolet. The visible window, about 400–700 nm, sits on the long-wavelength side, where the curve is falling toward the red. That slice has more blue than red, so the star reads blue-white even though most of the energy is invisible. A 2,000 K curve peaks in the infrared. The same window is then the short-wavelength tail, rising steeply toward the red, so blue is scarce and the star reads orange-red.
The nominal Sun, 5772 K, peaks near 502 nm. That is green. The disk is not green, because the curve is broad and the eye mixes the whole band. NASA’s Webb illustration makes the same point with round temperatures: an 8,000 K star looks bluer than a 3,000 K star. Those two figures are the illustration’s, not the presets on this page.
A real spectrum only approximately follows the curve. Atoms and ions in the atmosphere cut absorption lines out of the continuum. Vega is a fast rotator seen nearly pole-on, so one temperature was never the whole star. Betelgeuse’s radius is uncertain by about a quarter. The chip is a further approximation: sRGB on this display, at a comfortable brightness, with no absorption lines.
Literacy · the words on the curve
Sources · CODATA, IAU, CIE, NASA, and the papers
Classroom picture of a blackbody. λmax = b/T with the CODATA constant. L = 4πR²σT⁴, compared with the same formula at the IAU 2015 nominal Sun. The chip is an sRGB approximation. Real stellar spectra have absorption lines. Not a catalog. Earthrise preview: NASA / Bill Anders (public domain).
Keep going
Letters
OBAFGKM and life phases. Color follows temperature. This curve is the reason.
Brightness
Apparent m and absolute M. Luminosity is not the same number as how bright a star looks.
Neighborhood
Proxima and the next neighbors. A cool red dwarf is the closest star.
Ladder
Radio to gamma, and a Wien peak on the same temperature idea. The visible sliver is 400–700 nm.
Night
Why a city sky hides the faint red end of the stellar census.
Neighborhood
The nominal Sun whose temperature this page starts on.
A classroom picture. Perfect blackbody, no absorption lines. The color chip is an approximation. Not a catalog.
| Axes | Wavelength is logarithmic, from 50 nm to 3,000 nm. Height is Bλ divided by its peak, so every temperature fits the frame. Absolute power is in the readouts. |
|---|---|
| Shade | 400–700 nm, the NASA Imagine classroom optical window. |
| Peak | A mark at λmax = b/T. The readout is in nanometres. |
| Temperature | Log slider from 2,000 K to 40,000 K. The number field accepts the same range. Arrow keys nudge the slider. |
|---|---|
| Radius | Log slider from 0.05 to 1,500 solar radii. Luminosity uses L = 4πR²σT⁴ with the IAU nominal solar radius. |
| Presets | Sun, Proxima, Vega, Rigel, Betelgeuse. Each button sets a cited temperature and radius. Uncertain ones say so in the note. Left and Right move through the buttons when one of them has focus. |
| Custom | Moving a slider or typing a value leaves the preset. The note then describes the blackbody, not a named star. |
| Surface flux | σT⁴ in watts per square metre, at the surface. Not the solar constant at Earth. |
|---|---|
| L / L☉ formula | Divided by the same formula at 5772 K and 1 nominal solar radius. The Sun preset is 1. |
| L / L☉ nominal | Divided by 3.828 × 10²⁶ W, the IAU nominal luminosity. At the Sun preset it matches the formula ratio at the printed digits. |
| Chip | sRGB chromaticity. Scaled to the screen. Clipped channels are labeled. Not a photograph of the star. |
| Sliders | Arrow keys nudge the focused slider. The number field is where a cited figure is typed exactly. |
|---|---|
| Buttons | Enter or Space selects. Left and Right step through the presets. The pressed button is aria-pressed. |
| Touch | Buttons, the question mark, Close, and the fields are at least 44 pixels on a side. |
| This dialog | The question mark, or ?, opens it. Escape closes it. Tab stays inside until you close it. Click the dim page behind the card to close it. |