Color Temperature and White Balance
Candlelight is "warm" and a clear noon sky is "cool" - yet the candle is the cooler flame and the sky the hotter source. Color temperature is one of the most useful and most back-to-front ideas in all of color. This is the interactive guide to the Kelvin scale, why white is never quite white, how a camera neutralizes a color cast, and why professionals measure shifts in mireds instead of kelvin.
The backward scale
The everyday words and the physics point in opposite directions, and that is the first thing to get straight. In design we call orange light "warm" and blue light "cool" because of fire and ice. In physics, color temperature is a real temperature - how hot an idealized glowing object is - and hotter objects glow bluer. So the cozy, "warm" tungsten bulb is a relatively cool ~2700 K, while the crisp, "cool" blue of open shade is a much hotter ~9000 K.
Once you accept that the number runs against the feeling, color temperature becomes a precise, single-dial way to describe the color of "white" light - which turns out to be the key to making whites look white in photos, video, print, and on screen.
Kelvin and the blackbody
Color temperature borrows from the physics of a blackbody: an ideal object that glows purely because it is hot. Heat a piece of iron and it goes from dull red, to orange, to yellow-white, to blue-white as it gets hotter - the same progression the Kelvin scale describes. A light source's color temperature is the temperature of the blackbody whose glow matches it. Slide through the range and watch the color of "white" change.
Slide from candle to clear sky
Drag the temperature. The swatch shows the approximate color of a blackbody at that Kelvin - the color "white" takes on under that light. Note how the warm end is red-orange and the cool end is blue, with a near-neutral white around daylight. (Colors are an approximation for illustration.)
Common light sources
Real light sources cluster at recognizable temperatures. Knowing a few anchors lets you read a room - and set a camera - by eye. Tap any source to send its temperature to the dial above.
The everyday temperature ladder
From the deep warmth of a candle flame to the steely blue of open shade. Click a source to load it into the Kelvin dial in the previous demo and compare.
CCT, the Planckian locus, and tint
Most real lights are not perfect blackbodies, so they do not sit exactly on the blackbody curve. Their color is described by correlated color temperature (CCT): the temperature of the nearest point on the Planckian locus - the curve that traces blackbody colors across the chromaticity diagram. "Nearest" is why a greenish fluorescent and a clean daylight can share a CCT yet still look different.
That leftover difference is the second dial: tint, sometimes called duv - how far the light sits off the locus, toward green or magenta. Color temperature alone is a single axis (warm↔cool); real white balance needs two: temperature and tint. Fluorescents and LEDs often need a magenta nudge to cancel a green cast that no amount of warming or cooling can fix.
White balance
White balance is the correction that makes neutral things look neutral under a colored light. The light tints everything - warm light adds orange, cool light adds blue - and white balance applies the opposite per-channel gain to cancel it. It is the camera's version of the eye's automatic chromatic adaptation: your visual system silently does this so a white shirt looks white indoors and out, while a camera must be told how.
Match the white balance to the light
The left scene is lit by a light of your chosen temperature - the cast tints everything. On the right, white balance applies a correction. Drag the white-balance dial until the gray card reads neutral (R ≈ G ≈ B). Set it too warm or too cool and the whole image takes on a cast - exactly the "indoor photos look orange" problem.
As shot (no correction)
White-balanced
Mireds: the even unit
A 1000 K change is enormous at the warm end and almost invisible at the cool end - going 2000→3000 K is a dramatic shift, while 9000→10000 K is barely perceptible. Kelvin is not perceptually even. The mired (micro reciprocal degree) fixes this: mired = 1,000,000 / K. Equal steps in mireds look like equal shifts, which is why correction filters and gels are rated in mireds - a given filter makes the same visual change on any source.
Apply a filter and watch the resulting temperature
Pick a source temperature and a filter strength in mireds (warming filters are positive and lower the Kelvin; cooling filters are negative and raise it). The same mired shift moves a warm source a lot in Kelvin and a cool source a little - yet looks like a similar change, which is the whole point of the unit.
Source
After filter
Advanced white-balance lab
Temperature is only one axis of neutralizing light. Real capture and display work also includes tint, filter mired shifts, adaptation strength, target white point, and the color of the object being lit. This lab combines those pieces into one inspection surface.
Balance a scene against temperature, tint, filters, and display white
Set the source light, add green/magenta tint, apply a physical mired filter, then decide what the camera thinks white is. The canvas shows the as-shot scene, corrected scene, residual neutral error, RGB channel gains, and a Planckian/tint map.
Neutral result
Waiting for neutral sample...
Audit
Waiting for audit...
Capture note
WB: 5600 K, tint +0
Display white points
Screens have a color temperature too - the color they show for "white," called the white point. The near-universal standard is D65 (~6500 K), the white of average daylight, used by sRGB, Rec.709, and Display P3. Print and prepress often work to D50 (~5000 K), a warmer white that better matches viewing prints under standardized light. A monitor running at the wrong white point throws off every color judgment made on it - which is why calibration sets the white point first.
Practical guide
| Situation | What to do |
|---|---|
| Shooting photos / video | Set white balance to the light, or shoot a gray card / RAW and correct later. |
| Mixed lighting | You cannot balance two temperatures at once - gel lights to match, or pick the key light to balance and let the rest go warm/cool. |
| Fluorescent / LED green cast | Correct temperature first, then add a magenta tint (duv) to kill the green. |
| Editing on a monitor | Calibrate to D65 (or D50 for print work) so your white reference is correct. |
| Matching a filter | Think in mireds, not kelvin - the filter's mired shift is constant across sources. |
| Creative warmth | Deliberately mis-set white balance a little warm for cozy, or cool for clinical - a tool, not just an error. |
Pitfalls and gotchas
Test your understanding
Six questions on the Kelvin scale, CCT, white balance, and mireds. Instant feedback, no scores recorded - a wrong answer comes with a short explanation.
Quick check
Continue your journey
Color temperature ties the physics of light to the perception of white and the calibration of devices. The numbers reflect each article's position in the editorial roadmap.
The Physics of Light, Wavelength, and Spectrum
Blackbody radiation in full - the engine behind the Kelvin scale.
Physics · 04Spectral Power Distributions and Why RGB Is Not Enough
The standard illuminants D65, D50, A, and F that anchor white.
Vision · 06Color Constancy, Adaptation, and Context
How your eye does white balance automatically - and the math behind it.
Colorimetry · 10Chromaticity Diagrams Without the Intimidation
Where the Planckian locus and white points actually live.
Digital · 15How to Calibrate and Profile a Display
Setting the monitor white point to D65 or D50 in practice.
Colorimetry · 08CIE XYZ Explained
The coordinate system the locus and white points are plotted in.