Re: [csswg-drafts] [css-color-4] Some example HWB-to-RGB translations are incorrect (#5531)

I added the achromatic tests to color.js hwb code.

```js
let color = new Color("hwb(150, 0%, 0%)");
color.to("sRGB").hex;
```
gives `#00ff80`

```js
let color = new Color("hwb(30deg 100% 20%)");
color.to("sRGB").hex;
```
gives `#d5d5d5`

I'm now going to change the CSS Color 4 sample code as you suggested.

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


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

Received on Monday, 19 October 2020 07:09:28 UTC