Colour Temperature, Kelvin to RGB and Mired Converter
Enter the source and target colour temperatures, and see the RGB colour of each, the mired shift and the closest correction gel.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Enter the source
Colour temperature in K.
- 2Enter the target
Colour temperature in K.
- 3Read the shift
In mireds.
- 4Pick the gel
Closest CTO or CTB.
- 5Check colours
On screen.
About this tool
Light sources have different colours: a candle is orange at about 1,900 K, tungsten bulbs are 2,700 to 3,200 K and daylight is about 5,500 to 6,500 K. Photographers, filmmakers and lighting designers match sources with coloured gels, and the right unit for that is the mired, one million divided by the colour temperature. Gels shift a light by a fixed number of mireds, whatever its starting colour. This converter shows the colour of any temperature on screen using the CIE Planckian locus and sRGB, and works out the mired shift and the closest standard gel.
Who this is for
Photographers mixing flash with room lights, video crews matching LED panels to windows, stage and event lighting designers, and designers choosing warm or cool whites.
Kelvin to RGB
The colour of an ideal glowing body at temperature T lies on the Planckian locus in the CIE 1931 colour space. The calculator uses the Kim et al. cubic spline approximation (valid from 1,667 K to 25,000 K) to find the chromaticity x and y, converts to XYZ and then to linear sRGB, normalises the brightest channel and applies the sRGB gamma curve. The result is the hue of the light on a standard screen.
Mireds and gels
Mired = 1,000,000 / K. Shift = mired(target) − mired(source). A positive shift warms the light (orange CTO gels), a negative shift cools it (blue CTB gels). Full CTO is about +159 mired, half +81, quarter +42; full CTB is about −137, half −68 and quarter −30. Values vary slightly between manufacturers.
A worked example
To make a 3,200 K tungsten light match 5,600 K daylight, the shift is 178.6 − 312.5 = −134 mired. A full CTB gel (−137) is the closest.
The reference table
The table lists common sources with their Kelvin, mired and screen colour: candle, household and studio tungsten, warm and neutral LEDs, noon daylight, flash, overcast sky, open shade and blue sky.
Why mireds are better than Kelvin
The same gel changes 2,700 K by about 350 K but 6,500 K by about 2,000 K. In mireds the change is the same, which makes gel choice simple.
## White balance in camera Setting your camera's white balance to the light's colour temperature makes white look white. Setting a lower Kelvin value than the light makes the picture cooler; a higher value makes it warmer. When two light sources are mixed, correct one with a gel so both match, then set white balance once. Screen colours here are an approximation, not a colour-managed proof.
## Warm and cool whites at home Bulbs labelled warm white are about 2,700 to 3,000 K; daylight bulbs are about 5,000 to 6,500 K.
Limits
Real LEDs and fluorescents are not on the Planckian locus and may have a green or magenta tint; the colour rendering index is not modelled. Screen colours are approximate. General information only.
Worked example
Matching 3,200 K tungsten to 5,600 K daylight needs a −134 mired shift: a full CTB gel.
Quick facts
- Category: Audio, Video & Design
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: CIE 1931 Planckian locus (Kim et al. 2002), sRGB IEC 61966-2-1 and mired = 1,000,000 / K
Frequently asked questions
What is a mired?
One million divided by the colour temperature in Kelvin.
Why use mireds for gels?
A gel shifts light by a fixed number of mireds whatever the source.
What is CTO?
Colour temperature orange, a warming gel.
What is CTB?
Colour temperature blue, a cooling gel.
How accurate is the RGB colour?
It follows the CIE Planckian locus on an sRGB screen.
Is my data stored?
No. It stays in your browser.
