What this Kelvin to hex converter does
Light bulbs are sold in Kelvin, but designers work in hex codes. A box that says 2700 K tells you the light is warm, but it does not tell you the exact colour to use in a design. This free tool turns any Kelvin temperature into a hex colour code and an RGB value, with a live swatch so you can see the light as you slide.
The tool uses the standard Tanner Helland formulas, which map a temperature in Kelvin to red, green, and blue channels. Low temperatures give warm orange light, middle temperatures give near-white light, and high temperatures give cool blue-white light. Drag the slider from 1000 K to 12000 K and the swatch changes with it.
How to use it
Move the slider to the Kelvin value on your bulb or your brief. The most common values are 2700 K for warm white, 3000 K for soft white, 4000 K for neutral white, 5000 K for daylight, and 6500 K for cool daylight. The result line shows the hex code, the RGB values, and whether the light counts as warm, neutral, or cool daylight.
Copy the hex code into your design tool, your CSS, or a mood board. If you are matching a bulb to a room, compare two values side by side: slide to 2700 K, note the colour, then slide to 5000 K and see how much cooler the room would feel.
Worked example: 6500 K and 1000 K
At 6500 K, the standard for daylight, the tool returns the hex code #FFFEFA, which is RGB 255, 254, 250. It is almost white with the faintest warm tint. That is the light you get from a cool daylight bulb or from an overcast sky, and it suits desks and work spaces because it keeps colours true.
At 1000 K, the tool returns #FF4400, which is RGB 255, 68, 0. That is the deep orange of candlelight or a very warm bulb. The gap between the two shows the full range of the slider: from a fire glow at the bottom to a crisp daylight at the top. A designer picking a website background to match a warm lamp would use the 2700 K value, which gives #FFA757, a soft amber.
Use cases
Web designers use the tool to match a page colour to the light in a photo or a room. Photographers use it to understand white balance, because a photo shot under 3200 K tungsten light looks orange until it is corrected. Homeowners use it to pick bulbs room by room: warm for the bedroom, neutral for the bathroom, and daylight for the kitchen. Filmmakers and 3D artists use it to set light colours that feel real.
Teachers use it to show how colour temperature works, because the slider turns an abstract number into a visible change. One drag from 2000 K to 10000 K teaches more than a page of theory.
Honest limitations
The hex code is an approximation. The Tanner Helland formulas model how a perfect black-body radiator looks, but real bulbs have their own colour quirks, and screens show colours differently from one another. The tool covers 1000 K to 12000 K; below 1000 K the maths breaks down, and above 12000 K the light is already near pure blue-white. The result is a guide for design and planning, not a lab measurement of a real bulb.
Frequently asked questions
What is a good Kelvin value for a living room? Most people pick 2700 K to 3000 K, which feels warm and relaxing.
What does 6500 K look like? Almost white, like daylight on a cloudy day. It is the usual reference for daylight.
Why does the hex code change so fast at low Kelvin? The eye sees big colour changes in warm light. Small Kelvin steps near 2000 K shift the orange a lot.
Is the tool free? Yes. It is free, with no account and no sign-up.
También disponible en español: Convertidor de Temperatura de Color Kelvin a Hex
