Package
@csstools/postcss-contrast-color-function
Dynamically specify a text color with adequate contrast
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.5m
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 11 days ago
- v3.0.12
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
No weekly download data in the snapshot.
1,450,480 downloads last week, 7,334,233 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- 1333 in total
- Latest version
- 3.0.12, 13 Sept 202611 days ago
- First published
- 31 Mar 2024
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- 2
Major versions
- v3 first release 3.0.0, 14 Jan 2026
- v2 first release 2.0.0, 3 Aug 2024
- v1 first release 1.0.0, 31 Mar 2024
Recent releases
| Version | Published |
|---|---|
| 3.0.12 | 13 Sept 2026 |
| 3.0.11 | 6 Sept 2026 |
| 3.0.10 | 31 Aug 2026 |
| 3.0.9 | 25 Aug 2026 |
| 3.0.8 | 15 Aug 2026 |
| 3.0.7 | 22 Jul 2026 |
| 3.0.6 | 28 Jun 2026 |
| 3.0.5 | 14 Jun 2026 |
| 3.0.4 | 13 May 2026 |
| 3.0.3 | 12 Apr 2026 |
| 3.0.2 | 21 Feb 2026 |
| 3.0.1 | 25 Jan 2026 |
| 3.0.0 | 14 Jan 2026 |
| 2.0.12 | 21 Sept 2025 |
- Module format
- -Not determined from package.json
- TypeScript types
- -
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (0)
- None
npm install @csstools/postcss-contrast-color-function- jsDelivr
https://cdn.jsdelivr.net/npm/@csstools/postcss-contrast-color-function@3.0.12/ - unpkg
https://unpkg.com/@csstools/postcss-contrast-color-function@3.0.12/ - esm.sh
https://esm.sh/@csstools/postcss-contrast-color-function@3.0.12
Sources: npm registry. Data fetched 25 Sept 2026.
Indexability: Not indexed (discovery only): GitHub data not fetched yet.