I am maintaining a simple application that is using puppeteer with headless Chromium to take screenshots. One of requirements is that we take a screenshot with background color with wider color gamut than sRGB.
We managed to run headless chromium instance with forced color profile display-p3-d65
, but there seems to be no way to actually declare color in css outside of standard sRGB gamut (e.g. color()
is supported by WebKit (and Safari), but not by Chromium and Chrome).
Is there a way to actually declare colours in css with wide gamut and render it in chromium?