Hex to Linear RGB & Normalized Shader Float Converter
Creative & DesignDesignUnderstanding Your Results
Applies the exact IEC 61966-2-1 sRGB-to-Linear gamma expansion curve, outputting 8-bit RGB, normalized sRGB floats, linear RGB floats, CSS `color(srgb-linear ...)`, and GLSL/WGSL `vec3` snippets.
Practical Guidance & Next Steps
Passing non-linear sRGB values directly into PBR lighting shaders causes colors to look washed out or overly dark because mathematical light addition must occur in linear space.
What is this?
A computer graphics color utility that converts gamma-encoded sRGB Hex colors into linearized shader float vectors.
How does it work?
Why use it?
Essential for physically accurate lighting and materials in Three.js, Babylon.js, Blender, and custom GPU shaders.
Applies standard IEC 61966-2-1 transfer function.
Frequently Asked Questions
Want this capability on your Windows desktop?
Rainmeter Desktop Customization Engine
Powerful open-source desktop customization framework for hardware monitors, clocks, and audio visualizers.