Free Tool, No Sign-up
Turn any hex code into the linear RGB values Blender expects. Copy a ready-made Python line, convert back to hex, or batch a whole palette.
-
Why it matters
A hex code such as #E8500A is an sRGB value. It is encoded with a gamma curve so it looks right on a screen. Blender does its lighting and shading math in scene-linear color, where numbers are proportional to physical light. Those are two different scales, so the same three numbers mean different colors depending on which one Blender thinks it is reading.
Blender's color picker already knows this. Its RGB sliders are linear values, and its Hex field is gamma corrected, so typing a hex code into the Hex field gives the right color. The trouble starts when you type 0 to 255 or 0 to 1 values from a design tool into the RGB sliders, set a color from a Python script, or move values between Blender and another app that expects a different scale. A mid gray of 0.5 in sRGB is only about 0.214 in linear, so entering 0.5 into a linear field gives a much lighter gray than you meant.
This converter does that maths for you, in both directions, using the standard sRGB transfer function.
Quick guide
Five steps, under a minute.
Reference
Values already converted to linear, rounded to four decimals. Use the tool above for exact six-decimal values.
| Color | Hex | Blender RGB (linear) |
|---|---|---|
| White | #FFFFFF | 1.0000, 1.0000, 1.0000 |
| Mid gray | #808080 | 0.2159, 0.2159, 0.2159 |
| Pure red | #FF0000 | 1.0000, 0.0000, 0.0000 |
| BeingAnimator orange | #E8500A | 0.8070, 0.0802, 0.0030 |
| Deep green | #1A3A2A | 0.0103, 0.0423, 0.0232 |
| Off white | #FAF8F4 | 0.9560, 0.9387, 0.9047 |
Mid gray #808080 is only 0.2159 in linear. That gap is why raw sRGB numbers look too bright in Blender's RGB sliders.
Troubleshooting
If you entered the color correctly and it still does not match your hex code, one of these is usually the reason.
FAQ
Quick answers about hex colors, linear RGB and Blender color management.
Last updated October 6, 2026. Uses the standard sRGB transfer function.