W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2020

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

From: Lea Verou via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Sep 2020 15:13:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-693472915-1600269203-sysbot+gh@w3.org>
> To test a single color to be in-gamut, for additive colorspaces, you just need to check if any component is negative, or greater than 1.0 / 100%. (While using a code path that does not prematurely clip, obviously).

Note that the proposal is a MQ that checks if a particular color is **within the output device's gamut**, not within the gamut of the color space it's specified in.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5045#issuecomment-693472915 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 September 2020 15:13:32 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:16 UTC