Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 31, 2020 02:38 pm GMT

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:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks