Color helpers to ease transformation between formats, gamut, etc
npm install @csstools/color-helpers[][npm-url]
[][cli-url]
[][discord]
Add [Color Helpers] to your project:
``bash``
npm install @csstools/color-helpers --save-dev
This package exists to join all the different color functions scattered among the Colors 4 and Colors 5 plugins we maintain such as:
* [PostCSS Color Function]
* [PostCSS Lab Function]
* [PostCSS OKLab Function]
This software or document includes material copied from or derived from https://github.com/w3c/csswg-drafts/tree/main/css-color-4. Copyright © 2022 W3C® (MIT, ERCIM, Keio, Beihang).
[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
[discord]: https://discord.gg/bUadyRwkJS
[npm-url]: https://www.npmjs.com/package/@csstools/color-helpers
[Color Helpers]: https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers
[PostCSS Color Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function
[PostCSS Lab Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-lab-functionw
[PostCSS OKLab Function]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-oklab-function