-
This note is on https://colorjs.io/docs/spaces.html:
It links to https://github.com/LeaVerou/color.js/issues/163 – which has since been closed! 🎉
The note can be removed now.
Issue extra…
-
Hiya 👋,
I tried to follow the documentation but I can't make the tree-shakable API work.
The `parse` function returns the following error:
```
Uncaught TypeError: Could not parse red as a …
nym21 updated
2 years ago
-
New legacy builds were added in #215 to support older versions of Node etc, but it appears that the legacy built files are missing in the published NPM package for v0.4.1: https://unpkg.com/browse/col…
-
## Bug
Using vite@3.2.2 or esbuild@0.15.12
## Reproduce
input.js
```js
import Color from 'colorjs.io'
const red = new Color('red')
const blue = new Color('blue')
// ERROR: .contrast …
ambar updated
2 years ago
-
This may be more of a question than a bug report, but I can't find this in the docs. I'm precompiling my color manipulation so it doesn't bog runtime and I'm getting a different `toString()` output in…
ghost updated
2 years ago
-
We are adding `color.js` to Stylelint for cool [`color-no-out-gamut-range`](https://github.com/stylelint/stylelint/pull/6271) rule.
But `??` operator from `color.js` sources breaks Node.js 12 and 1…
-
I was trying to reverse-engineer this great app for my own purposes, so I downloaded the main color.js branch's source code. But even when unmodified, running the index.html inside the "apps/named" fo…
-
(Remaining part of #159)
While the new procedural API is tree-shakeable wrt functions, since color spaces register themselves onto `ColorSpace.registry`, this means they are not tree-shakeable.
…
-
In addition to `lab()` and `lch()` colors, Webkit added support for [OKLab and OKLCH colors from Color Level 4](https://www.w3.org/TR/css-color-4/#specifying-oklab-oklch).
No issue in Firefox Bugzi…
-
> If the lightness of a Lab color is 0%, both the a and b components are powerless
https://drafts.csswg.org/css-color-4/#specifying-lab-lch
Is this true, or is this implementation dependent when…