3 ms·
Most content will be rendered in sRGB by default. Things will have to opt into WCG/HDR. For CSS specifically you can already opt into WCG via color-gamut, but
by the8472 6y ago
Most content will be rendered in sRGB by default. Things will have to opt into WCG/HDR.
For CSS specifically you can already opt into WCG via color-gamut, but not into HDR yet. I.e. you can have greener greens but not the whitest white.
> which is not quite "stubborn programmer who thinks this is a gimmick" friendly...
Perhaps this draft is more readable. https://drafts.csswg.org/css-color-hdr/ https://drafts.csswg.org/css-color-hdr/
- ly 6y agoI’m working on a website with WCG colors right now, and in practice you’re mostly right: Chrome and related browsers only support sRGB, and will thus only show sRGB colors. In Safari you can opt in to use display-p3 for colors in CSS, and it will display those as WCG and everything else still as sRGB. This looks amazing. However, there’s Firefox which only supports sRGB, but then displays everything in WCG completely over saturating every single colored pixel on a website [1]. The only way to get your website to look the way you intended it on Firefox is to make the whole thing black and white. [1] https://www.reddit.com/r/firefox/comments/dloon6/solving_firefoxs_color_saturation_issue_on_wide/ https://www.reddit.com/r/firefox/comments/dloon6/solving_fir...