Re:Wide Gamut Color in CSS with Display-P3
by jfkebwjsbx on Tuesday March 03, 2020 @02:49AM
(#22472643)
I should have said floats, yeah. GPUs shaders work in many cases with 32-bit floats per channel in linear space, right? I don’t see why browsers couldn’t support colors with that precision considering they may be rendering with the GPU anyway (perhaps with another profile, yes).
Browsers could clamp them to sRGB on parsing for the moment and add proper functionality later.
Browsers could clamp them to sRGB on parsing for the moment and add proper functionality later.