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

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

From: Natalie Weizenbaum via GitHub <sysbot+gh@w3.org>
Date: Wed, 23 Sep 2020 19:35:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-697929007-1600889720-sysbot+gh@w3.org>
Note that `color.js`'s normalization still doesn't avoid the issue. Testing on [their notebook](https://colorjs.io/notebook/),

```js
new Color("hwb(30deg 100% 20%)").to('srgb').toString({format:'hex'});
```

returns `"#d4d5d5"`.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 23 September 2020 19:35:22 UTC

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