Upgrading colors to HD on the web – Bram.us

PHOTO EMBED

Thu Oct 20 2022 08:19:25 GMT+0000 (Coordinated Universal Time)

Saved by @MiaFolio #css #color

@supports (background: color(display-p3 1 1 1)) {
  :root {
    --supports-display-p3: ;
  }
}

body {
  --hotterpink: var(--supports-display-p3) color(display-p3 1 0 0.87);
  --hotpink: var(--hotterpink, hotpink);
  background: var(--hotpink);
}
content_copyCOPY

https://www.bram.us/2022/10/13/upgrading-colors-to-hd-on-the-web/?utm_source