@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);
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter