culori
culori copied to clipboard
A comprehensive color library for JavaScript.
Related to https://github.com/Evercoder/culori/issues/153, depending on the CSSWG decision, allow `hsl`, `hwb`, `lab`, `lch`, `oklab`, `oklch` as identifiers in the `color()` syntax.
It would be very practical, if parse would throw an error if it was not successful in parsing a color. ```js try { const color = culori.parse('something'); console.log({color}); // {{...
# Issue Using `clampChroma` within a conversion sequence results in a color object with invalid values. # Expected Post-`clampChroma` conversions result in color objects with valid values as defined by...
Closed spline interpolation needs to duplicate values at either ends of the array to create seamless periodicity. However, the hue fixup methods (especially `fixupHueIncreasing`, `fixupHueDecreasing`) may end up with mismatched...
I wanted to use the closed interpolator outside [0,1], so in principle I thought it would be periodic; but in fact its domain is [0, 1 + 1/n], and it...
* [ ] b-spline * [ ] natural spline Reading material: * https://www.mathworks.com/help/curvefit/cscvn.html * G. Koloskov, ["Closed natural splines: An effective solution"](https://doi.org/10.1016/j.amc.2005.10.041) * E.T.Y. Lee, ["Choosing nodes in parametric curve...
DIN99c and DIN99d are the latest iterations over the "official" DIN99b color space. It promises best accuracy for simple euclidian color distance calculation. Goals: - Implement a higher color distance...
### DRAFT Features DIN99c and DIN99d. I'm unsure whether I understood all the internal culori concepts. It works, though. Tests are still missing (WIP). Main problem: There are no publicly...
Overall I'm good with the size of the library when I shake out the modes I don't need. CSS named colors are not very useful though, and really that's the...