Search results
99 packages found
JavaScript Library for Setting Text Color According to Background-Color
Utilities to work with WCAG color contrast
Contrast Correct allows you to take arbitrary colors and modify them to be increase their contrast against any background.
Color palette combination contrast tester
A npm module that determines if a text color is readable in contrast with a background color
Hybrid Reduced Contrast for Hyper
A node.js port of color-thief.js library by lokesh - https://github.com/lokesh/color-thief.
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.
For a given color, find a contrasting color (not optimal).
SafeColor generates accessible colors that compiles with WCAG success criteria 1.4.3 (or any contrast ratio of your choice). It can generate either a random color that is contrast safe with a given color, or a consistent color for a given string.
WCAG 2.0 AA contrast checker for DOM elements
test whether a color is dark or light
JavaScript library for mutable colour conversion and manipulation 🎨
- colour
- color
- conversion
- manipulation
- mixing
- blending
- harmonies
- accessiblity
- wcag
- contrast
- temperature
- rgb
- hsv
- hsl
- View more
Delta Phi Star is a general purpose method of determining perceptual lightness contrast developed by Andrew Somers (Myndex Research), and is a sibling of APCA and SACAM. It is a simplified method using easily invertible standardized maths, however it lack
Helper functions to work with Color object
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
NodeJS module using brain.js to tell you if your font should be light or dark