- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 Jan 2020 21:54:45 +0000
- To: public-css-archive@w3.org
@una > It seems like with our limited examples for color modification using lab as a default space, we've been seeing a lot of out-of-gamut results Yes, although partly that is because the examples have been using colors like `red` and `yellow` which are maximally saturated and thus right up against the corners of the RGB color cube. So even a small adjustment tends to push them outside the gamut. More normal real-world colors are less likely to fall outside of gamut when manipulated. > would this (color()) be a solution to provide fallbacks for those results? It would, although gamut mapping to the closest in-gamut color is a more foolbroof and automatic method. I have been wondering too about another function which takes a list of colors plus a colorspace, and returns the set of colors all adjusted together such that the most out of gamut color is *just* inside (and the rest are adjusted too, so their relative relationships are intact). -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4649#issuecomment-572275312 using your GitHub account
Received on Wednesday, 8 January 2020 21:54:46 UTC