Color Space & Albedo QA
sRGB to Linear Color Converter & PBR Albedo Range Checker
Convert HEX and sRGB colors into exact Linear RGB floats for GLSL, HLSL, Blender, and Unreal—and verify whether your base color stays inside physically plausible PBR albedo limits (30–240 sRGB).
Physically plausible real-world PBR dielectric albedo benchmarks
| Real-World Surface | sRGB HEX | Linear RGB (Approx) | PBR Safety |
|---|---|---|---|
| Fresh Charcoal / Asphalt | #323232 | 0.032, 0.032, 0.032 | Safe dark floor (≥30 sRGB) |
| Weathered Concrete | #9A9892 | 0.323, 0.314, 0.287 | Safe mid-tone |
| Red Clay Brick | #8E4A3B | 0.270, 0.068, 0.044 | Safe saturated dielectric |
| Fresh Snow / White Paint | #EFEFEF | 0.863, 0.863, 0.863 | Safe upper cap (≤243 sRGB) |
Why pure black (#000000) and pure white (#FFFFFF) break PBR global illumination
Nothing in nature absorbs 100% of light or reflects 100% of light diffusely. Using #FFFFFF albedo causes Lumen, Path Tracing, and baked GI to bounce unrealistic infinite energy, while #000000 kills bounce light and crushes normal-map shading.
Exact piecewise IEC 61966-2-1 sRGB to Linear math
Using a rough pow(c, 2.2) approximation introduces subtle errors in dark shadow tones. This converter implements the exact IEC 61966-2-1 piecewise transfer function used by Unreal Engine, Unity, Blender, and Three.js.
Frequently asked questions
What is the safe sRGB range for non-metallic PBR albedo textures?
Keep dielectric albedo values between 30–50 sRGB on the dark end (charcoal) and 230–243 sRGB on the bright end (fresh snow).
Why does sRGB 128 (50% gray) equal ~0.216 in Linear space instead of 0.5?
Human vision perceives brightness non-linearly, so sRGB encodes mid-gray near 21.6% actual linear light energy.
Should Normal, Roughness, and AO maps use sRGB or Linear?
Always Linear (Non-Color). Only Base Color / Albedo and Emissive textures should be decoded as sRGB.
Can I copy the converted vec3(...) directly into a shader?
Yes. Click Copy Linear vec3 to paste exact 4-decimal shader floats directly into GLSL, HLSL, or WGSL.