Package
@csstools/convert-colors
Convert colors between RGB, HEX, HSL, HWB, LAB, LCH, and more
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.7m
- -10% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 7 months ago
- v2.0.1
- GitHub stars
- 0
- 0 forks
- Open issues / PRs
- 0 / 2
- Contributors
- -
- Commits, last 52 weeks
- 14
Downloads
Last week 2026-09-15 to 2026-09-21
1,725,071 downloads last week, 4,702,846 in the last month. The 12-month change of -10% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 16 in total
- Latest version
- 2.0.1, 21 Feb 20267 months ago
- First published
- 22 Jan 2018
- Last push to GitHub
- 10 Sept 202614 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 2
- Commits, last 52 weeks
- 14
- Dependents on npm
- 15
Major versions
- v2 first release 2.0.0, 29 Jan 2019
- v1 first release 1.0.0, 22 Jan 2018
Recent releases
| Version | Published |
|---|---|
| 2.0.1 | 21 Feb 2026 |
| 2.0.0 | 29 Jan 2019 |
| 1.4.0 | 28 Jan 2018 |
| 1.3.0 | 26 Jan 2018 |
| 1.1.0 | 22 Jan 2018 |
| 1.0.0 | 22 Jan 2018 |
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=6.0.0
- Runtimes
- -
- Unpacked size (npm)
- 205 kB
- Dependencies (0)
- None
npm install @csstools/convert-colors- jsDelivr
https://cdn.jsdelivr.net/npm/@csstools/convert-colors@2.0.1/ - unpkg
https://unpkg.com/@csstools/convert-colors@2.0.1/ - esm.sh
https://esm.sh/@csstools/convert-colors@2.0.1
Indexability: Indexed.