HEX to Decimal Color
Convert a HEX colour to the integer forms Android, Java and Unity want.
Convert colour temperature in kelvin to an RGB colour.
The colour appears here
The Color Temperature Converter turns a kelvin value into an sRGB colour using the standard black-body approximation, with a reference scale marking every common light source from candlelight to open shade.
Colour temperature describes the colour of a light source by the temperature a black body would have to reach to glow that colour. Low numbers are warm and orange, high numbers are cool and blue — which is the opposite of how people use the words warm and cool, and the source of most of the confusion around it.
This converts any kelvin value into an sRGB colour, using the standard approximation of the Planckian locus, and shows the whole scale from 1000K — candlelight — up through 2700K for a warm bulb, 5000K for midday sun, and 6500K, which is the D65 white point sRGB itself is defined against.
The reference scale is the practical part. Every common light source is marked on it with its temperature, so you can match a CSS overlay to a lighting condition, pick a bulb, or set a white balance and understand what you are setting. A tint control is included too, for the green-magenta axis that fluorescent and LED sources sit off, which temperature alone cannot describe.
Candlelight, tungsten, daylight and overcast all marked with their own temperatures.
Why 2700K is called warm despite being the lower number, which confuses everyone once.
The green-magenta direction that fluorescent and LED sources sit off, which temperature alone cannot describe.
The widely used piecewise fit to the Planckian locus, accurate across 1000K to 40000K.
The result as HEX and RGB, for warm-light overlays and filters.
Drag from 1000K to 12000K, or type a value.
The sRGB and HEX equivalent, with a live swatch.
Every common light source is marked with its own temperature.
The green-magenta axis, which temperature alone does not cover.
Because the words describe how the light feels, not the physics. A low colour temperature is orange, which we read as warm; a high one is blue, which we read as cool. The physical temperature runs the other way.
It depends on the sky. Direct midday sun is around 5000–5500K, an overcast sky is 6500–7500K, and open shade under a clear blue sky can reach 10000K. The 6500K figure quoted as daylight is the D65 standard, which is an average.
2700K for living spaces, which matches the incandescent light people find comfortable. 3000–4000K for kitchens and workspaces. 5000K and above reads as clinical indoors, though it is right for a photography or colour-critical space.
It uses the widely adopted piecewise approximation of the black-body curve, accurate to within a few units across 1000K to 40000K. That is more than enough for design work and not intended for colorimetry.
What people who use the Color Temperature Converter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Color Temperature Converter. It takes half a minute and no account.
Write the first reviewConvert a HEX colour to the integer forms Android, Java and Unity want.
Pick any colour and copy it as HEX, RGB, HSL or CSS.
Turn a HEX code into SwiftUI Color, UIColor and NSColor code.
Check whether a colour code is valid, and fix it if not.
An interactive colour wheel with every classical harmony.
Turn one colour into a full 50–950 Tailwind scale.
Convert HEX colour codes to RGB and HSL, and back again.
Score a colour pair with APCA, the contrast model behind WCAG 3.