Package
@daformat/contrast-color
Move a colour to a readable version of itself: same hue, same chroma, only the OKLCh lightness moved, scored against WCAG 2.1 or APCA. No dependencies, no framework.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 1.9k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 month ago
- v1.0.0
- GitHub stars
- 1
- 0 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 3
No weekly download data in the snapshot.
1,904 downloads last week, 1,945 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 1.0.0, 18 Aug 20261 month ago
- First published
- -
- Last push to GitHub
- 18 Aug 202637 days before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 3
- Dependents on npm
- 0
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 76 kB
- Dependencies (0)
- None
npm install @daformat/contrast-color- jsDelivr
https://cdn.jsdelivr.net/npm/@daformat/contrast-color@1.0.0/ - unpkg
https://unpkg.com/@daformat/contrast-color@1.0.0/ - esm.sh
https://esm.sh/@daformat/contrast-color@1.0.0
Indexability: Not indexed (discovery only): downloads_week 1904 < 10000.