[csswg-drafts] [mediaqueries] In-gamut media query (#5045)

LeaVerou has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries] In-gamut media query ==
We currently have the [`color-gamut` media query](https://drafts.csswg.org/mediaqueries-4/#color-gamut). While generally useful, this is a rather crude measure of the output device's gamut, and currently only supports RGB color spaces. Since there is no ordering of gamuts, we also cannot really have `min/max-color-gamut` either, either it's "approximately" P3 (whatever that means), or it's not.

I would like a to propose an `in-gamut: <color>` media feature, that supports any CSS color, and matches if that particular color is within the output device's gamut. This will enable authors to more accurately determine the gamut of the output device, based on what matters in their own particular use cases.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5045 using your GitHub account

Received on Tuesday, 5 May 2020 16:50:08 UTC