Color Temperature to RGB
Drag the slider or type a Kelvin value to see the corresponding RGB color. Use the preset buttons for common lighting scenarios.
Common Color Temperatures Reference
This table shows typical color temperatures for common light sources. Use it to set white balance or match lighting in photography and video.
| Light Source | Kelvin | RGB / Hex | Preview |
|---|
How Kelvin to RGB Conversion Works
Color temperature describes the hue of light emitted by an ideal black body radiator heated to a given temperature in Kelvin. As the temperature increases, the emitted light shifts from deep red through orange, yellow, white, and finally into blue.
The algorithm used here is based on Tanner Helland's approximation of the Planckian locus, which maps Kelvin values to sRGB coordinates. It divides the spectrum into two regimes:
- Below ~6600K: Red is at maximum (255), green increases logarithmically, and blue rises from zero.
- Above ~6600K: Blue is at maximum (255), red and green decrease based on a power function.
This is an approximation of CIE color science for practical display use. Actual light sources have spectral power distributions that vary from the ideal black body model, so the RGB values are representative rather than physically exact.
Use Cases
Photography and Videography
Understanding color temperature is essential for setting correct white balance. When your camera's white balance matches the scene's color temperature, whites appear neutral. Mismatched settings create color casts -- too warm (orange) or too cool (blue). Many photographers deliberately shift white balance for creative effect.
Lighting Design
Interior designers and architects choose LED and fluorescent bulbs by color temperature. Residential spaces typically use 2700-3000K (warm white) for comfort, while offices and retail spaces use 3500-5000K (neutral to cool white) for alertness and color accuracy.
Display Calibration
Monitor calibration tools use color temperature to set the white point. The sRGB standard uses D65 (6500K) as the reference white point. Photographers editing for print may calibrate to D50 (5000K) to match proofing light booths.
Film and Video Production
Film and video crews balance lighting sources to avoid mixed color temperatures. Tungsten lights (3200K) and daylight (5500K) require CTO (Color Temperature Orange) or CTB (Color Temperature Blue) gels to match. LED panels with adjustable color temperature have largely replaced gel-based workflows.
Frequently Asked Questions
What is color temperature?
Color temperature is a way to describe the color appearance of light, measured in Kelvin (K). It is based on the concept of a black body radiator -- a theoretical object that absorbs all radiation and emits light based solely on its temperature. Lower Kelvin values produce warm (reddish) light, while higher values produce cool (bluish) light.
Why do lower Kelvin values look warmer?
This is counterintuitive: physically hotter objects emit bluer light, but we perceive reddish-orange tones as "warm" and blue tones as "cool" based on psychological association (fire vs. ice). So 2700K is called "warm white" and 6500K is called "cool white" even though the Kelvin number is lower for warm.
What color temperature should I use for home lighting?
Most homes use 2700-3000K (warm white) in living rooms and bedrooms for a cozy feel. Kitchens and bathrooms often use 3500-4000K (neutral white) for better visibility. Home offices benefit from 4000-5000K (cool white) to reduce eye strain and improve focus.
How accurate is the RGB approximation?
The Kelvin-to-RGB algorithm is a widely used approximation that closely matches the perceived color of black body radiation on an sRGB display. It is accurate enough for visualization, white balance reference, and lighting design, but it does not replace spectroradiometric measurement for scientific applications.
What is the difference between CCT and color temperature?
CCT (Correlated Color Temperature) is the Kelvin temperature of the black body radiator that most closely matches a given light source's chromaticity. Real light sources (LEDs, fluorescents) are not perfect black bodies, so CCT is an approximation of their apparent color. For practical purposes, CCT and color temperature are used interchangeably.
Does this tool store my data?
No. All calculations run entirely in your browser. No data is sent to any server, and nothing is stored.
Privacy & Limitations
Privacy: This converter runs entirely in your browser. No data is transmitted or stored.
Limitations: The RGB values are an approximation based on the Planckian locus algorithm for sRGB displays. Actual light source spectra vary from ideal black body radiation. Color perception also depends on your display calibration and ambient lighting. For critical color work, use a calibrated monitor and spectroradiometer.
Related Tools
- Aquarium Volume Calculator -- Calculate aquarium water volume and weight for rectangular, bow-front, and
- Window AC Size Calculator -- Find the right BTU window air conditioner for your room size and conditions
- Camera Horizon Alignment Tool -- Level your camera using device sensors for perfectly aligned photos
- Board Foot Calculator -- Calculate board feet of lumber from thickness, width, and length with cost
Related Tools
View all toolsSquare Footage Calculator
Calculate area in square feet from room dimensions for flooring, painting, and more
Tip Calculator
Calculate tip amount, total, and per-person split
Online Compass
Digital compass using your device's magnetometer sensor
Split Bill Calculator
Split a total evenly across a group
Receipt Total Calculator
Add line items, tax, discounts, tip, and split totals instantly
Shopping List Builder
Build a smart shopping list with quantities, categories, and budget tracking
Color Temperature Converter FAQ
What is color temperature?
Color temperature measures the hue of a light source in Kelvin (K). Lower values (1000-3000K) produce warm, orange-red tones like candlelight. Higher values (5000-12000K) produce cool, blue-white tones like overcast sky. It is based on the color a theoretical black body radiator emits when heated to that temperature.
How do I convert Kelvin to RGB?
Kelvin to RGB conversion uses an algorithm that approximates the spectral output of a black body radiator. For temperatures below 6600K, the red channel is 255 and green/blue increase. Above 6600K, red and green decrease while blue stays at 255. This tool performs the conversion instantly.
What color temperature is daylight?
Direct daylight at noon is approximately 5500K, which produces a neutral white light. This is the standard reference for daylight-balanced film and digital camera white balance settings.
What is the difference between warm and cool light?
Warm light (2700-3000K) has yellow-orange tones and creates a cozy atmosphere. Cool light (5000K+) has blue-white tones and feels more energizing. The terminology is counterintuitive because 'warm' colors have lower Kelvin values while 'cool' colors have higher values.
Does this tool store my data?
No. All calculations run entirely in your browser. No data is sent to any server, and nothing is stored.