Search results
143 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Convert colors between RGB, HEX, HSL, HWB, LAB, LCH, and more
Modify colors using the color-mod() function in CSS
- postcss
- css
- postcss-plugin
- colors
- colours
- modifications
- mods
- adjusters
- adjustments
- csswg
- rgba
- hsla
- white
- black
- View more
JavaScript module to use black or white font according to the given background color
evaluate the wcag color contrast score for two colors
colorParsley() • a lightweight yet versatile color parsing function with no dependencies. Takes various color strings, numbers, or objects, and turns them into simple arrays. Bonus utilities colorToHex() and colorToRGB() included
Get the contrast ratio and WCAG score between common CSS color types.
This is an accessibility validator based on WCAG 2.0 standard for checking the color contrast.
Determines the best contrast color to use. Give it a background color and it returns a foreground color (black or white by default but customizable).
- accessibility
- background
- black
- bright
- brighten
- brightness
- chroma
- color
- colors
- contrast
- convert
- css
- dark
- darken
- View more
APCA: the Accessible Perceptual Contrast Algorithm, a modern contrast method that improves readability contrast on self-illuminated displays. Developed for the W3C's WCAG 3 and other standards.
A simple utility package for working with WCAG 2.2/3.0 color contrasts
A utility library for calculating luminance, contrast ratio, and appropriate contrast colors to ensure web accessibility.
Calculate contrast ratio between two CSS color strings.
Get relative luminance from a color string.
Elegant UI Kit and reusable components for building mobile-first, responsive webistes and web apps
- react bootstrap
- bootstrap react
- cdbreact
- react
- react library
- ui library
- frontend library
- contrast
- react components
- react template library
WCAG 2.0 AA contrast checker for DOM elements
The Color Contrast Finder is a library that automatically selects text colors that contrast with a given color.
Color Check is a very tine library for checking your foreground and backgorunds colors against the WCAG2 color compliance standard.
Converts hex color to rgb and calculates appropriate corresponding foreground.
Convert CSS color strings to RGBA and check whether they are light or dark
Calculate the color in an array of colors that gives the highest contrast to another color.