Re:Splash Is a Colour Format
by sph on Monday June 08, 2026 @02:33AM
(#48441949)
If one works with shaders, you get the best of both worlds just by dividing by 10:
One decimal digit ought to be enough for anyone.
[ Parent
| on HN ]
Take care here though, because shaders are almost always working in linear sRGB colors, while color codes are almost always defined in gamma-encoded sRGB.
This property makes it mildly annoying to copy color constants between different contexts.