Gathering detailed insights and metrics for get-contrast-ratio
Gathering detailed insights and metrics for get-contrast-ratio
Gathering detailed insights and metrics for get-contrast-ratio
Gathering detailed insights and metrics for get-contrast-ratio
get-contrast
Get the contrast ratio and WCAG score between common CSS color types.
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-color-utils
A lightweight utility library to calculate appropriate text color (`#000` or `#fff`) based on background HEX color. Provides WCAG-compliant contrast ratio evaluation with no React dependency.
Calculate contrast ratio between to CSS color strings.
Cumulative downloads
Total Downloads
Last Day
2,328.6%
170
Compared to previous day
Last Week
40.9%
2,926
Compared to previous week
Last Month
8.6%
8,642
Compared to previous month
Last Year
57%
95,287
Compared to previous year