Colour is a thermometer, and it reads across the galaxy
Assumes Magnitudes.
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.
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,
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, — so hotter means bluer. And the total output per unit area rises as the fourth power — Stefan–Boltzmann, — 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.
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 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 magnitude is smaller than its , and is negative. A cool star gives a positive index. The calibration is a monotonic curve: is about 30,000 K, is about 10,000 K, is the Sun at 5,772 K, and 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.
The economics of that are worth a number. A spectrum good enough for a temperature requires collecting the star’s light and then spreading it over a few thousand resolution elements, so each one receives a few thousandths of what a photometric measurement would collect; the exposure needed is longer by a comparable factor, and the star has to be observed one at a time. A survey image records every star in the field simultaneously through one filter. Gaia measured colours for about 1.5 billion sources and spectra for about 1% of them, and the ratio is not a choice about priorities. It is what the arithmetic of photon collection permits.
The two filters also do not have to be blue and visual. Any pair that samples different parts of the Planck curve will serve, and the useful pair depends on the temperature being measured: saturates above about 10,000 K, where both filters sit far out on the Rayleigh–Jeans tail and the ratio between them stops changing. Hot stars are measured with ultraviolet indices, cool ones with infrared, and the choice of filter pair is a statement about which part of the curve still has slope in it.
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,
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.
What was actually measured
The colour–temperature calibration is quoted as though it were a law. It is a fit, and the chain that produced it is short enough to state completely.
An effective temperature is defined by a flux and a radius. Getting one without assuming a stellar model therefore requires measuring both, for the same star, independently. The flux is the easy half: integrate the star’s spectrum over all wavelengths, correct for what the atmosphere absorbs and what falls outside the instrument, and the result is the bolometric flux at Earth in watts per square metre. The hard half is the radius, and the only model-free route to it is to resolve the star as a disc and measure its angular diameter.
That can be done, by optical interferometry, for stars that are large and close. A star of one solar radius at ten parsecs subtends about 0.9 milliarcseconds; the CHARA array on Mount Wilson, with baselines up to 331 metres, resolves down to roughly 0.2. The number of stars whose angular diameters have been measured this way to better than 2% is in the low hundreds, and they are overwhelmingly giants and nearby dwarfs — the same population bias that afflicts every direct measurement in stellar astronomy.
For each of them, flux plus angular diameter gives with no model at all: the flux received divided by the solid angle subtended is the surface flux, and the fourth root of that over is the temperature. Plot those temperatures against the stars’ measured colour indices and the calibration curve is the fit through the result. Everything else — every temperature quoted for every star in every survey — is that curve, interpolated.
The Sun is the anchor and it is measured differently, which is worth knowing because the whole scale hangs on it. Its total output comes from radiometers above the atmosphere — the total solar irradiance, 1,361 W/m², known to about 0.5 W/m² — and its angular radius from timing the limb, known to six figures. Those two give K with an uncertainty of about 0.8 K. No star is known nearly that well, and every stellar temperature is ultimately expressed relative to it.
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.
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 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.
The chain runs: mass fixes luminosity; mass fixes radius; luminosity and radius fix the effective temperature through . 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.
The best blackbody ever measured is not a star
The thermometer generalises past the objects it was built for, and the extreme case is the one where it works best.
Stars are mediocre blackbodies. Their spectra are riddled with absorption, their surfaces are structured, and the fit is good to a few percent at best. The finest blackbody spectrum anyone has measured belongs to no object at all: it is the cosmic microwave background, whose spectrum was measured by the FIRAS instrument on COBE in 1990 and found to match a Planck curve at 2.725 K to within 50 parts per million across the whole range sampled. The residuals were smaller than the thickness of the plotted line, and the graph presented at the January 1990 meeting of the American Astronomical Society got a standing ovation, which is not a normal response to error bars.
The reason it is so much better than any star is instructive about what the Planck curve actually requires. A blackbody spectrum is what radiation looks like when it has been in equilibrium with matter for long enough to forget everything else. A stellar photosphere is a boundary — light leaks out of it, so it is never quite in equilibrium. The early universe was opaque throughout, everywhere, for 380,000 years, with nowhere for anything to leak to. The radiation had no boundary to spoil it.
The surprising consequence is that the spectrum survived. The universe has expanded by a factor of about 1,100 since that radiation last touched matter, and every wavelength stretched by the same factor — which is exactly the transformation that takes a Planck curve at one temperature to a Planck curve at a lower one. A blackbody spectrum is the one spectral shape that is preserved by cosmological redshift. Any other shape would have been distorted beyond recognition, and the fact that a thermometer calibrated on iron in a forge reads a number for the whole sky is a coincidence of that stability rather than of anything about the sky.
There is one further consequence of the calibration being anchored on the Sun. Because every stellar temperature is expressed relative to a single star, a revision to the solar value moves the entire scale together — which is convenient, since most published results depend on temperature differences and those are unaffected. It is also a trap for anything that depends on the absolute value, such as a bolometric correction or a model atmosphere’s boundary condition, where a systematic shift propagates in full and does not cancel anywhere.
Two filters that are not the same two filters
A colour index is a difference of magnitudes through two filters, and the number is meaningless until the filters are named. That sounds like bookkeeping and it is a real source of error.
The traditional system uses broad glass filters whose transmission curves were defined in the 1950s by particular pieces of glass in front of a particular photomultiplier. Modern surveys use interference filters with sharper edges and different central wavelengths, and detectors whose sensitivity as a function of wavelength is nothing like a photomultiplier’s. A star’s index in one system is not its index in another, and the difference is not a constant offset: it depends on the star’s own spectrum, because two filters of different shapes weight the same spectrum differently.
So converting between systems requires a transformation, and the transformation is a fit — usually a polynomial in colour, derived from stars observed in both systems. It works well for ordinary stars and badly for anything with an unusual spectrum: a strongly reddened star, a star with emission lines, a cool star with deep molecular bands. Those are exactly the objects most likely to be interesting.
The professional response is to avoid the conversion. A survey defines its own natural system — the filters and detector it actually has — publishes magnitudes in it, and provides the transmission curves so that anyone comparing against a model can integrate the model through the real response rather than through an idealised band. That is more work and it removes a systematic that no amount of care in the observing can.
A photometric measurement is a number attached to an instrument, and the calibration that makes it comparable with somebody else’s is a separate piece of work with its own error budget. The Sun’s index of 0.65 is quoted here in one particular system, and in another it is a different number describing the same star.
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 curve has one parameter, and both what it does to the shape and what a filter set makes of it are worth reading at temperatures either side of the Sun’s.
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.
What this makes readable
Essays that name this one as a prerequisite.
- A magnitude has to say which light starlight
- An angle of five hundredths of an arcsecond starlight
- A shift in a line is a speedometer, and it works at any distance starlight
- Composition, read from what is missing starlight
- Nine orders of magnitude, half an arcsecond apart exoplanets
- The diagram that sorted the stars, by plotting two things against each other stars
- The most perfect blackbody ever measured cosmology
- Two colours, and almost nothing between galaxies
- Why hydrogen's lines are strongest where hydrogen is not starlight
- The classical law gives every star one colour starlight
- Three shifts larger than the error bar, and two that cancel starlight
- Two laws that are one curve read twice starlight
About the same objects
Not linked from either essay — found by the objects both name.
- Two laws that are one curve read twice blackbody · colour index · effective temperature · wien's law
- Three shifts larger than the error bar, and two that cancel blackbody · colour index · effective temperature
What links here
The 8 of 43 essays linking to this one that name the most of the same objects.
- The classical law gives every star one colour starlight
- A magnitude has to say which light starlight
- A brightness is a distance only if something is known starlight
- A spectrum that is a stack of temperatures stars
- A temperature and a gravity that trade against each other starlight
- A temperature that depends on where the observer stands starlight
- An angle of five hundredths of an arcsecond starlight
- Dust makes everything look further away starlight
The objects this essay names
Each one links to every other essay that touches it.
BlackbodyColour indexEffective temperatureStellar spectraWien's law