Kelvin To Rgb Approx
Calculator

Inputs

Red (0-255)
255

Results

Red (0-255)
255
Green (0-255)
254.110083
Blue (0-255)
250.041908

Design and print results

Red (0-255)255
Green (0-255)254.110083
Blue (0-255)250.041908

formula-map diagram

Red (0-255)
255
Green (0-255)
254.110083
Blue (0-255)
250.041908

Formula breakdown

Formula

piecewise blackbody Kelvin → RGB regression fit (Tanner Helland approximation)

= 255

Note

Simplified model: these are standard prepress and typographic relationships computed on nominal values. Real press bulk, paper caliper and shrinkage, ink limits for a given profile, font metrics and binding allowances vary by supplier and by job, so confirm with your printer and a proof before going to press.

Example: with the default inputs, calculator.design.red_255 is 255.

More in Design and printing

See all →

Frequently asked questions

How do I convert a color temperature in Kelvin to RGB?+

Enter the temperature in Kelvin. The calculator returns approximate red, green and blue values from 0 to 255 using a piecewise regression fit (Tanner Helland's approximation).

What temperature range does it support?+

The input has a minimum of 1000 K, and the fit is meant for roughly 1000 to 40000 K. Results are clamped to the 0 to 255 range.

How accurate is the result?+

It is an approximation of blackbody color, not a measured value. Use it for visualization, not for calibrated color work.

Why is the red value always 255 for warm temperatures?+

In the algorithm, temperatures at or below 6600 K set red to its maximum of 255. Warmer light changes mainly through the green and blue channels.

What does 6500 K give?+

6500 K is the default, a daylight-like white. The calculator computes its red, green and blue values with the same formula as any other temperature.