Re: [csswg-drafts] [css-color-4] Do we actually need hwb()? (#6940)

I'd be a bit sad as I just implemented DevTools support for it in Firefox. And I believe it's a good sign that `hwb()` finally got implemented in browsers, as it shows that there _is_ implementer interest for the suggested color features, after all.

And couldn't `hwb()` be seen as a shortcut for `color-mix()` in combination with `hsl()`? E.g. `hwb(240, 50%, 30%)` expressed with `color-mix()` is `color-mix(hsl(240, 0%, 0%), white 50%, black 30%))`, right?

The mentioned two issues do also apply to other color functions, so they can't be closed just because of the removal of `hwb()`.

Though from my question above you can see that I am everything else than a color expert. 😊 So @LeaVerou, when you say `hwb()` is not needed by authors, I trust you.

Sebastian

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 11 January 2022 20:08:06 UTC