An Interest In:
Web News this Week
- April 28, 2024
- April 27, 2024
- April 26, 2024
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
March 31, 2020 02:38 pm GMT
Original Link: https://webkit.org/blog/10042/wide-gamut-color-in-css-with-display-p3/
Wide Gamut Color in CSS with Display-P3
Heres something Id never heard of before: Display-P3 support in CSS Color Module Level 4 spec. This is a new color profile supported by certain displays and it introduces a much wider range of colors that we can choose from.
Right now the syntax looks something like this in CSS:
header { color: rgb(0, 255, 0); /* fallback color */ color: color(display-p3 0 1 0);}
It looks weird, huh? Over on the WebKit blog, Nikita Vasilyev shows … Read article “Wide Gamut Color in CSS with Display-P3”
The post Wide Gamut Color in CSS with Display-P3 appeared first on CSS-Tricks.
Original Link: https://webkit.org/blog/10042/wide-gamut-color-in-css-with-display-p3/
Share this article:
Tweet
View Full Article