Gathering detailed insights and metrics for get-contrast
Gathering detailed insights and metrics for get-contrast
Gathering detailed insights and metrics for get-contrast
Gathering detailed insights and metrics for get-contrast
get-contrast-ratio
Calculate contrast ratio between two CSS color strings.
get-best-contrast-color
Calculate the color in an array of colors that gives the highest contrast to another color.
get-contrast-ratio-plus
This package could get the contrast ratio between two colors, one color & the main color of an image, or the top-2 main colors of an image.
get-relative-luminance
Get relative luminance from a color string.
Get the contrast ratio and WCAG score between two colors in order to ensure accessibility
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Built with Next.js • Fully responsive • SEO optimized • Open source ready
Total Downloads
2,565,910
Last Day
241
Last Week
5,471
Last Month
22,890
Last Year
277,542
MIT License
84 Stars
36 Commits
9 Forks
3 Watchers
3 Branches
3 Contributors
Updated on Mar 07, 2025
Latest Version
3.0.0
Package Id
get-contrast@3.0.0
Unpacked Size
5.70 kB
Size
2.68 kB
File Count
5
NPM Version
7.10.0
Node Version
16.0.0