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

Re: [csswg-drafts] [css-color-5] When mixing hue, there are two ways round the hue range (#4735)

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Tue, 24 Mar 2020 16:53:29 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-603364756-1585068807-sysbot+gh@w3.org>
So I'm thinking of an optional second argument to the hue adjuster. Instead of

hue: 'hue(' <percent> ')'
it will be
hue: 'hue(' <percent> [shorter | longer | clockwise | anticlockwise]? ')'
with the default, if omitted, being 'shorter' and the direction, if the hue difference is exactly 180deg, being 'clockwise'. So you get what you want most of the time, and you can get exactly what you want by being specific.

GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4735#issuecomment-603364756 using your GitHub account
Received on Tuesday, 24 March 2020 16:53:31 UTC

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