-
``` js
it('breaks', () => {
const rgb = colorSpace.hwb.rgb([219, 31, 84]);
const hwb = colorSpace.rgb.hwb(rgb);
expect(hwb).toEqual([219, 31, 84]);
// actual value is [0, 26.956…
-
Browsers serialize `hwb(0 -10 0)` with `rgb(255, 0, 0)`. The [conversion from hwb to rgb](https://drafts.csswg.org/css-color-4/#hwb-to-rgb) returns `[1, -0.1, -0.1]`.
Where is clipping now specifie…
-
Traceback (most recent call last):
File "test.py", line 142, in
testing(args)
File "test.py", line 131, in testing
runner.evaluate_policy_continuously()
File "../envs/runners/off_p…
-
https://en.wikipedia.org/wiki/HWB_color_model
HWB is a cylindrical-coordinate representation of points in an RGB color model, similar to HSL and HSV.
-
https://drafts.csswg.org/css-color/#the-hwb-notation
-
Partial implementation and notes is used for a bunch of the `relative_syntax` entries, from https://github.com/mdn/browser-compat-data/pull/21937.
I've sent https://github.com/mdn/browser-compat-da…
-
Create a glossary page for "serialized" to explain what serializing means, especially as it relates to colors.
Link to this new page from:
- [ ] hsl()
- [ ] rgb(),
- [ ] hwb()
- [ ] color spac…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the problem
_No response_
### Solution
I would like to add more color formats (Lab, Lch, Oklab, Okl…
-
In the WPT test, [`css/css-color/parsing/color-computed-relative-color.html`](https://github.com/web-platform-tests/wpt/blob/master/css/css-color/parsing/color-computed-relative-color.html), there are…
-
- [x] [Proposal (Language)](https://github.com/sass/sass/blob/main/proposal/color-4-new-spaces.md)
- [x] [Proposal (JS API)](https://github.com/sass/sass/blob/main/proposal/color-4-new-spaces-js.d.ts…