Search results
92 packages found
Create ARIA-compliant color themes based on a predominant color palette.
WCAG 2.0 AA contrast checker for DOM elements
evaluate the wcag color contrast score for two colors
Evaluate if a to colors have sufficient contrast to pass WCAG requirements.
- wcag
- color
- contrast
- luminance
- contrast-ratio
- accessibility
- a11y
- relative-luminance
- color-contrast
- text-legibility
A selection of a11y helpful functions for working with HEX colors.
Calculate the color in an array of colors that gives the highest contrast to another color.
See Stars • a lightweight set of utilities to take an sRGB or displayP3 color, and extract the CIE Y relative luminance, and then convert to CIE L* (perceptual lightness). Takes RGB colors as simple arrays (as created with colorParsley). Bonus utilities t
Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)
A package based on WCAG 2.0 to easily check contrast ratio.
JavaScript module to use black or white font according to the given background color
A powerful and fully typed color library.
test whether a color is dark or light
React higher-order component to automatically enforce color accessibility
An accessible color interface
Utility functions for working with colors in adherence to WCAG 2.1 guidelines.
- wcag
- wcag-2.1
- accessibility
- accessible
- color
- colors
- contrast
- contrast-ratio
- luminance
- luminosity
- suggestion
- generator
Allows you to control Hue, Saturation, and Relative Luminance as if it where a color space. Inputs are the Hue, Saturation, and Relative Luminance of a color, and output is an array of RGB values ranging from 0 to 1, 0 to 255, and a string containing the
vivid colors that stick to:ur gums
- prefers-contrast
- color palette
- color scheme
- color system
- colorful
- contrast
- palette
- colours
- colors
- colour
- color
- music
- vivid
- neon
- View more
Calculate contrast ratio between two CSS color strings.