Package
get-best-contrast-color
Calculate the color in an array of colors that gives the highest contrast to another color.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 732
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- -
- v0.3.1
- GitHub stars
- -
- Open issues / PRs
- - / -
- Contributors
- -
- Commits, last 52 weeks
- -
No weekly download data in the snapshot.
732 downloads last week, 3,803 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 0.3.1
- First published
- -
- Last push to GitHub
- -
- Repository archived
- -
- Open issues
- -
- Open pull requests
- -
- Commits, last 52 weeks
- -
- Dependents on npm
- -
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 6.2 kB
- Dependencies (1)
get-contrast-ratio
npm install get-best-contrast-color- jsDelivr
https://cdn.jsdelivr.net/npm/get-best-contrast-color@0.3.1/ - unpkg
https://unpkg.com/get-best-contrast-color@0.3.1/ - esm.sh
https://esm.sh/get-best-contrast-color@0.3.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| a11y-contrast-color | 6.2k | - | 2 years ago | CommonJS | - |
Sources: npm registry. Data fetched 25 Sept 2026.
Indexability: Not indexed (discovery only): downloads_week 732 < 10000; GitHub data not fetched yet.