Search
@karnak19/passes-wcag
Evaluate if a to colors have sufficient contrast to pass WCAG requirements.
v1.0.3 URL:
https://unpkg.com/@karnak19/passes-wcag@1.0.3/dist/index.js
Open
Browse Files
wcag
color
contrast
luminance
contrast-ratio
accessibility
a11y
relative-luminance
color-contrast
text-legibility
get-best-contrast-color
Calculate the color in an array of colors that gives the highest contrast to another color.
v0.3.1 URL:
https://unpkg.com/get-best-contrast-color@0.3.1/build/index.js
Open
Browse Files
color
contrast
contrast-ratio
accessibility
a11y
luminance
relative-luminance
text-legibility
passes-wcag
Evaluate if a to colors have sufficient contrast to pass WCAG requirements.
v0.2.1 URL:
https://unpkg.com/passes-wcag@0.2.1/build/index.js
Open
Browse Files
wcag
color
contrast
luminance
contrast-ratio
accessibility
a11y
relative-luminance
color-contrast
text-legibility
get-contrast-ratio
Calculate contrast ratio between two CSS color strings.
v0.2.1 URL:
https://unpkg.com/get-contrast-ratio@0.2.1/build/index.js
Open
Browse Files
luminance
relative-luminance
contrast
contrast-ratio
wcag
accessibility
a11y
color
color-contrast