Starlight

Colour is a thermometer, and it reads across the galaxy

A star's colour gives its surface temperature, from two brightness measurements and no other information. It is the cheapest useful measurement in astronomy.

A blacksmith can tell the temperature of iron by its colour: dull red, then orange, then yellow, then white. The judgement is good to within a hundred degrees or so with practice, and it requires no contact with the metal.

Stars do the same thing, for the same reason, and the measurement transfers without modification across a hundred thousand light years. Two brightness measurements through two filters give a temperature, and no other information about the star is needed — not its distance, not its size, not its composition.

Blackbody curves at 3000, 5800, 10000 KThermal emission against wavelength, each curve scaled to its own peak so the shift can be seen on one plot. The peak moves to shorter wavelengths as the temperature rises, which is why colour is a thermometer.visible050010001500200000.20.40.60.811.2wavelength (nm)3000 K, peak 966 nm5800 K, peak 500 nm10000 K, peak 290 nmeach curve scaled to its own peak
Fig. 1 Thermal emission against wavelength at three temperatures, each curve scaled to its own peak so the shift can be seen on one plot. The peak moves to shorter wavelengths as the temperature rises, and the dashed lines mark where Wien’s law puts it.

The curve that only knows one number

Any body in thermal equilibrium radiates with a spectrum that depends on its temperature and on nothing else. Not what it is made of, not how big it is, not what it did yesterday — one number fixes the entire shape.

That is a remarkable claim, and it took until 1900 to justify. Planck’s law gives the emitted power per unit wavelength,

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

and its derivation required assuming that energy came in discrete packets, which Planck regarded as a mathematical trick. It was not.

Two consequences carry all the practical weight. The peak wavelength moves inversely with temperature — Wien’s law, λmaxT=2.90×103m⋅K\lambda_{\max}T = 2.90\times10^{-3}\,\text{m·K} — so hotter means bluer. And the total output per unit area rises as the fourth power — Stefan–Boltzmann, F=σT4F = \sigma T^4 — so a small temperature difference is a large brightness difference.

The fourth power is the more startling of the two. A star twice as hot radiates sixteen times as much from every square metre of its surface, which is why the range of stellar luminosities is so much wider than the range of stellar temperatures.

Blackbody curves at 3000, 5800 KThermal emission against wavelength, each curve scaled to its own peak so the shift can be seen on one plot. The peak moves to shorter wavelengths as the temperature rises, which is why colour is a thermometer.visible050010001500200000.20.40.60.811.2wavelength (nm)3000 K, peak 966 nm5800 K, peak 500 nmeach curve scaled to its own peak
Fig. 2 Two curves at the extremes of the common range, area-normalised rather than peak-normalised. The cool star’s output is not merely redder — there is far less of it, because the fourth-power law is doing most of the work.

Turning that into a measurement

Nobody measures a full spectrum to get a temperature. Two filters are enough.

A colour index is the difference between magnitudes in two bands, conventionally BVB - V for blue and visual. Since a magnitude is a logarithm, a difference of magnitudes is a ratio of fluxes, and that ratio is fixed by the shape of the Planck curve — which is fixed by the temperature.

A hot star emits more in blue than in visual, so its BB magnitude is smaller than its VV, and BVB-V is negative. A cool star gives a positive index. The calibration is a monotonic curve: BV=0.3B-V = -0.3 is about 30,000 K, 0.00.0 is about 10,000 K, 0.650.65 is the Sun at 5,772 K, and 1.51.5 is about 3,500 K.

Two numbers, a subtraction, and a lookup. It is cheap enough to do for every star in a survey image at once, which is why colour is the axis of the diagram that organises stellar astronomy — spectra are expensive and colours are free.

Blackbody curves at 4000, 7000, 20000 KThermal emission against wavelength, each curve scaled to its own peak so the shift can be seen on one plot. The peak moves to shorter wavelengths as the temperature rises, which is why colour is a thermometer.visible020040060080010001200140000.20.40.60.811.2wavelength (nm)4000 K, peak 725 nm7000 K, peak 414 nm20000 K, peak 145 nmeach curve scaled to its own peak
Fig. 3 Three curves spanning the range of ordinary stars. Below 400 nm and above 700 the eye records nothing, so the visible band samples a different part of each curve — which is exactly what makes a two-filter ratio informative.

What “the temperature of a star” means

A star is not a blackbody and has no single temperature. Its centre is at fifteen million kelvin and its surface at six thousand, with everything in between.

What the colour measures is the effective temperature: the temperature of the blackbody that would radiate the same total power from the same area. It is a definition,

L=4πR2σTeff4,L = 4\pi R^2 \sigma T_{\text{eff}}^4,

and it is well-defined and useful precisely because the emitting layer is thin. Below it the gas is opaque and photons cannot escape; above it the gas is transparent and there is nothing to emit. The transition happens over a few hundred kilometres out of 700,000, so a star has a surface in the optical sense even though it has no surface in any material sense.

The blackbody approximation works because that layer is very close to equilibrium. It is not exact — the deviations are the spectral lines, and they are where all the chemistry is.

The gaps, which are the good part

The continuum gives temperature. The lines give everything else.

Fraunhofer catalogued 574 dark lines in the solar spectrum in 1814 without knowing what they were. Kirchhoff and Bunsen identified them in 1859: each element absorbs at its own set of wavelengths, so the dark lines name the elements present in the star’s atmosphere. Astronomy acquired chemistry, at any distance, from a diffraction grating.

The lines also give the temperature a second time, and better. Which lines appear depends on the ionisation and excitation state of the gas, which is far more temperature-sensitive than the continuum shape. Hydrogen lines peak in strength around 9,500 K — weak in hotter stars because the hydrogen is ionised, weak in cooler because it is unexcited. That non-monotonic behaviour is what made the original spectral classification confusing, and Cecilia Payne resolved it in 1925 by showing the sequence was temperature rather than composition. Her thesis also concluded that stars are overwhelmingly hydrogen, which her examiner persuaded her to describe as probably spurious. It was correct.

Lines carry more still. Their Doppler shifts give velocities, which is how unseen companions are found and how the masses that calibrate stellar astronomy are obtained. Their widths give pressures, which separates giants from dwarfs. Their splitting in a magnetic field gives field strengths. One spectrum yields temperature, composition, velocity, surface gravity and magnetism — from a point of light.

The magnitude scale, plottedThe logarithm of the received light against magnitude, with the vertical scale left unlabelled because only its slope matters. The relation is a straight line of slope −0.4, which is what makes five magnitudes exactly a hundredfold — and the numbers run backwards, so brighter is smaller.-20-100102030apparent magnitudethe Sunfull MoonVenus at its bestSiriusVega, by definitionthe naked-eye limita good amateur telescopea large ground-based surveythe deepest exposuresbrighter ←→ fainterfive magnitudes = ×100 in light
Fig. 4 The magnitude scale, on which colour indices are differences. Because magnitudes are logarithms, subtracting two of them takes a ratio of fluxes — which is the quantity the Planck curve fixes.

Where it lands on the diagram

Colour is one axis of the Hertzsprung–Russell diagram, and putting it there is what makes the diagram a physical statement rather than a plot.

The Hertzsprung–Russell diagramLuminosity against surface temperature, both in solar units and on logarithmic axes, with temperature increasing to the left. The main sequence is computed from the mass–luminosity and mass–radius relations; the dashed diagonals are lines of constant radius.R = 0.01R☉R = 0.1R☉R = R☉R = 10R☉R = 100R☉giantssupergiantswhite dwarfs1M☉3M☉20M☉40M☉the Sun10−410−21102104106surface temperature (K), increasing to the leftluminosity, in solar units
Fig. 5 Luminosity against surface temperature, with temperature increasing to the left. Colour supplies the horizontal axis; the vertical needs a distance, which is why the diagram took a great deal longer to construct than the measurements it uses.

The horizontal axis is free — two filters. The vertical axis is expensive, because absolute luminosity requires a distance, and distances are the hard part of every quantity in the subject. The asymmetry in cost is why the diagram was first constructed for clusters, where every star is at the same unknown distance and the vertical axis can be left uncalibrated until one cluster is pinned down.

Colour, mass, and the chain between them

Temperature is not a free parameter of a star. It is downstream of the mass, through a chain with no adjustable steps in it.

Luminosity against massMain-sequence luminosity against mass, both in solar units, on logarithmic axes. The slope is between three and four across most of the range, so a small spread in mass becomes an enormous spread in output.0.100.321.03.210320.011.0100100001000000mass (solar units)0.2M☉ → 0.01L☉1M☉ → 1L☉5M☉ → 391L☉20M☉ → 50,088L☉dashed: a pure slope of 3.5
Fig. 6 Luminosity against mass. Combined with the mass–radius relation and the Stefan–Boltzmann law, this fixes the surface temperature — so a main-sequence star’s colour is a statement about its mass.

The chain runs: mass fixes luminosity; mass fixes radius; luminosity and radius fix the effective temperature through L=4πR2σT4L = 4\pi R^2\sigma T^4. Nothing is left over. Measuring a main-sequence star’s colour is measuring its mass, indirectly and with a wide error bar, but with no other information required.

That is why the main sequence is a line on the diagram rather than a region. Two independent measurements — colour and brightness — are both functions of one underlying quantity, so the points cannot help but fall on a curve. The residual width is composition, age, rotation and unresolved companions, and separating those is most of the work of stellar astronomy.

Where the model stops

Stars are not blackbodies. The absorption lines remove a substantial fraction of the light, more in some bands than others, and the deficit is worst for cool stars where molecular bands dominate.

Reddening. Interstellar dust scatters blue light preferentially, so a distant star looks cooler than it is — and fainter than its distance implies, which are two errors that partly disguise each other. The correction is essential and is itself derived from colours, by comparing the observed index with the one the spectral type implies.

Not one temperature. Sunspots are 1,500 K cooler than their surroundings, and the colour of the disc as a whole is an average over a structured surface.

Not all thermal. Some emission is not thermal at all — synchrotron radiation, emission lines from hot gas — and applying a colour temperature to those gives a number with no meaning.

The figures share one distortion, and the first caption admits it: each curve is scaled to its own peak. That makes the shift visible and hides the fourth-power law entirely. Drawn at true relative amplitude, the 3,000 K curve would be a barely visible line at the bottom of the plot while the 10,000 K curve filled the frame — the honest picture, and one in which the colour shift would be invisible. No single plot shows both, which is why the second figure exists.

The ladder from here

Later rungs: Planck’s law derived, and the ultraviolet catastrophe it resolved. Wien’s law and Stefan–Boltzmann as its moments. Colour indices and the temperature calibration. Bolometric corrections. The spectral sequence and Payne’s resolution of it. Line formation and curve-of-growth analysis. Doppler broadening, pressure broadening, and Zeeman splitting. Reddening-free indices. And the ways colour lies: unresolved binaries, dust, and metallicity, each of which shifts the index by more than the measurement error.

Auguste Comte wrote in 1835 that the chemical composition of the stars was something humanity would never know. The spectroscope was turned on the Sun twenty-four years later.