@csstools/color-helpers
Version:
Color helpers to ease transformation between formats, gamut, etc
33 lines (22 loc) • 1.61 kB
Markdown
[<img alt="npm version" src="https://img.shields.io/npm/v/@csstools/color-helpers.svg" height="20">][npm-url]
[<img alt="Build Status" src="https://github.com/csstools/postcss-plugins/workflows/test/badge.svg" height="20">][cli-url]
[<img alt="Discord" src="https://shields.io/badge/Discord-5865F2?logo=discord&logoColor=white">][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).
[]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test
[]: https://discord.gg/bUadyRwkJS
[]: https://www.npmjs.com/package/@csstools/color-helpers
[]: https://github.com/csstools/postcss-plugins/tree/main/packages/color-helpers
[]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-function
[]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-lab-functionw
[]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-oklab-function