16 packages found
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.
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
themematch, matches themes based on background and foreground contrast
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
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
A Bridge for WCAG_2 contrast using APCA (Advanced Perceptual Contrast Algorithm), technology.
vivid colors that stick to:ur gums
- color palette
- color scheme
- color system
- View more
- View more
Generate the nearest accessible color.
PostCSS plugin to change text color depending on background color contrast
Helper functions to work with Color object
Small library for calculating contrasting colours.
A comprehensive class for describing and manipulating colors.
Command line tool to check the contrast between two colours against WCAG standards