What is colour temperature?
Colour temperature is the colour of a light, measured in Kelvin. A candle burns at about 1000 K and looks orange. An old tungsten bulb is about 2700 K and looks warm yellow. Noon daylight is about 6500 K and looks white. A clear blue sky is about 10000 K and looks distinctly blue. The number is not the temperature of the bulb — it is the colour a heated piece of metal would glow at that temperature, which is why the scale runs from warm orange to cool blue.
Photographers, lighting designers, and filmmakers use Kelvin every day. A camera's white balance is a Kelvin setting: set it to 3200 K under tungsten lights and the photo looks neutral; leave it at 6500 K and the same room looks orange. A lighting designer picks 2700 K bulbs for a living room and 4000 K tubes for an office, because the colour of the light changes how the room feels.
This converter turns a Kelvin number into the RGB colour a screen would show for that light. Move the slider from 1000 K to 12000 K and the hex code, the red, green, and blue values, and the light type update live. It is the fastest way to answer a simple question: what colour is 4500 K, exactly?
How Kelvin maps to RGB
There is no exact formula that turns Kelvin into RGB, because RGB is a screen colour and Kelvin is a physical light colour. What exists is a good approximation by Tanner Helland, built from measured data, and it is the one this tool uses. The idea is simple: below 6600 K, red is at full strength and green and blue rise on logarithmic curves; above 6600 K, blue is at full strength and red and green fall on power curves.
At 6500 K the temperature divided by 100 is 65, which is below 66, so red is 255. Green is 99.47 times the natural log of 65, minus 161.12, which comes to 254. Blue is 138.52 times the natural log of 55, minus 305.04, which comes to 250. The result is RGB 255, 254, 250 — hex #FFFEFA — a white with the faintest warm tint, which is exactly what noon daylight looks like on a screen.
Above 6600 K the maths flips. At 10000 K the temperature over 100 is 100, so red is 329.70 times 40 to the power of minus 0.133, which is about 202, green is 288.12 times 40 to the power of minus 0.0755, about 218, and blue stays 255. The result is a clear sky blue, RGB 202, 218, 255. The approximation is good across the whole range, and it is the standard method used by lighting software. Our hex to RGB converter breaks any hex code into its red, green, and blue parts the same way.
The Kelvin scale, from candlelight to blue sky
The scale has landmarks worth knowing. Candlelight is 1000 to 2000 K: deep orange, almost red. A tungsten bulb is 2700 to 3000 K: warm white, the colour of a living room in the evening. Halogen is about 3000 K. A fluorescent tube in an office is 3500 to 4100 K: neutral white. Morning sunlight is about 5000 K, noon daylight is 6500 K, an overcast sky is 6500 to 7500 K, and open shade under a blue sky is 7500 to 10000 K.
The words are confusing because warm and cool are backwards. A low Kelvin number is called warm light, even though it is orange like a fire, and a high Kelvin number is called cool light, even though it is blue like ice. The words describe the feeling, not the physics: orange light feels warm and cosy, blue light feels cool and clinical. Remember the direction — higher Kelvin means bluer — and the words stop being confusing.
The range this tool covers, 1000 K to 12000 K, takes in every light you will meet. Below 1000 K there is almost no visible light at all, and above 12000 K you are into the deep blue of a clear sky at altitude. If a bulb or a camera setting quotes a Kelvin number, it will be inside this range, and the converter will show you its colour.
A worked example: 6500 K and 2700 K
Set the slider to 6500 K, the default. The tool shows hex #FFFEFA, red 255, green 254, blue 250, and the label Daylight. That is noon sunlight: white to the eye, with a trace of warmth that keeps it from looking clinical. It is also the white point most screens are calibrated to, which is why a monitor set to 6500 K looks neutral and a monitor set to 9300 K looks blue.
Now move the slider to 2700 K, the colour of a tungsten bulb. The tool shows hex #FFA757, red 255, green 167, blue 87, and the label Warm white. Red is still at full strength, green has fallen to 167, and blue has fallen to 87 — that is why the light looks orange-yellow. Put a 2700 K bulb and a 6500 K bulb side by side and the difference is obvious; the numbers say the same thing the eye does.
Try 1000 K, candlelight. The tool shows hex #FF4400, red 255, green 68, blue 0. Green has fallen to 68 and blue is gone entirely, which is why candlelight is a deep orange with no cool tones at all. And try 10000 K: the tool shows a sky blue around RGB 202, 218, 255. Four stops on the slider, four colours, one scale — that is the whole converter. Our color blender mixes two of these colours together if you want the colour halfway between 2700 K and 6500 K.
Who uses a colour temperature converter, and why
Photographers use it to plan white balance. A wedding shot under 3200 K tungsten lights needs a different white balance than the same shot outdoors at 6500 K, and the converter shows what each setting will do to the colours in the frame. A photographer who knows that 3200 K is RGB 255, 184, 123 can predict the orange cast before taking a single shot.
Lighting designers use it to pick bulbs. A restaurant wants 2700 K for a warm, relaxed feel; a hospital corridor wants 4000 K for a clean, alert feel; a gallery wants 5000 K so the art looks the way it does in daylight. The Kelvin number on the box is abstract; the RGB colour on this page is concrete, and it can be pasted straight into a design mockup.
Filmmakers, 3D artists, and web designers use it the same way. A 3D scene lit at 6500 K needs a white light; a night scene lit at 3000 K needs an orange one. A web designer building a dark theme can take the colour of a 2700 K lamp and use it as an accent, because it reads as warm on screen exactly as it does in a room. Our RGB to hex converter turns the red, green, and blue values back into a hex code for CSS.
Colour temperature vs white balance
Colour temperature and white balance are two sides of the same number. Colour temperature describes the light: a bulb is 2700 K, the sun is 6500 K. White balance describes the camera's correction: set the camera to 2700 K and it removes the orange cast of a tungsten bulb, so a white wall photographs as white. The converter gives you the colour of the light; the camera setting is the opposite correction.
The practical rule is to match them. If the light is 3200 K, set the white balance to 3200 K and the photo looks neutral. Set it to 6500 K instead and the photo comes out orange, because the camera is correcting for daylight that is not there. Set it to 2700 K under daylight and the photo comes out blue. The Kelvin scale is the same in both cases — only the direction of the correction changes.
This tool does not set white balance; it shows you the colour. Use it to understand what a Kelvin number means before you set a camera or buy a bulb. If you need the colour of a light in hex for a design, this is the tool. If you need to correct a photo that is already taken, that is a white balance control in an editor, and it works in the opposite direction.
Common mistakes with colour temperature
The first mistake is mixing up warm and cool. Warm light is low Kelvin — orange, 2700 K — and cool light is high Kelvin — blue, 6500 K and up. People often guess the opposite, because a hot stove is red and an ice cube is blue, and the words feel backwards. Remember: higher Kelvin means bluer light, always.
The second mistake is treating Kelvin as brightness. A 2700 K bulb and a 6500 K bulb can have the same brightness in lumens; only the colour differs. Kelvin says nothing about how much light there is, only what colour it is. If a room feels dim, the answer is more lumens, not a different Kelvin.
The third mistake is assuming two lights with the same Kelvin look the same. Cheap LEDs can quote 2700 K and still look green, because Kelvin only describes the colour along one line — the black-body curve — and real lights can sit off that line. The CRI, or colour rendering index, tells you how faithfully a light shows colours; a high CRI matters as much as the right Kelvin. Our background color changer shows any of these colours filling a whole page, so you can judge the feeling before you commit.
How to use this colour temperature converter
Move the slider to any temperature from 1000 K to 12000 K. The hex code, the red, green, and blue values, and the light type update live as you drag — there is no button to press. The default is 6500 K, noon daylight, which is the reference most screens and cameras use.
Read the result. The hex code is the colour to paste into a design or a 3D light. The red, green, and blue numbers are the same colour broken into channels, for tools that want them separately. The light type — candlelight, warm white, daylight — is the plain-English name for that part of the scale.
Everything runs in your browser. No sign-up, no account, no data sent anywhere. The conversion is the Tanner Helland approximation, which is accurate to a few RGB steps across the whole range — close enough for design, photography, and lighting work, and the standard method used by lighting software.