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

Re: [csswg-drafts] [css-color-5] Findings on SCSS function usage to inform direction of Color 5 (#5782)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Dec 2020 20:42:57 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-746983770-1608151376-sysbot+gh@w3.org>
> I've felt that we should implement these with existing popular web color spaces today if the input colors are within those color spaces. I.e. if the input is RGB or HSL, we should still be able to make adjustments. This would make implementation in a timely manner much more likely

That means:

- throwing away perceptual uniformity. One clear drawback of HSL, and a reason people only use `lighten()` and `darken()`, is that changing the hue also changes the actual, visual, lightness. And the hues are bunched up some places and spead widely at others.
- throwing away the visual benefit of manipulation in linear-light spaces, because computations in gamma-encoded space have the well-known problems of mixtures being too dark and hue shifts occurring that should not.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 16 December 2020 20:42:59 UTC

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