Search results

12 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.

published version 0.1.9, 3 years ago22 dependents licensed under $Limited W3 License
102,740

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

published version 0.1.8, 3 years ago9 dependents licensed under $AGPL v3
102,729

For a given color, find a contrasting color (not optimal).

published version 1.1.2, 4 years ago0 dependents licensed under $MIT
62

New color formats, adjustments, and conversions in Sass

published version 0.2.4, 2 years ago0 dependents licensed under $SEE LICENSE IN LICENSE.md
62

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

published version 0.0.1, 3 years ago0 dependents licensed under $AGPL v3
33

Get information about a PNG from its headers

published version 0.0.1, 10 years ago1 dependents licensed under $MIT
24

gamma-to-linear convenience utilities

published version 2.0.0, 10 years ago2 dependents licensed under $MIT
23

Node.js wrapper for Little CMS JpegICC

published version 1.0.0, 11 years ago0 dependents
11

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

published version 0.0.1, 3 years ago1 dependents licensed under $AGPL v3
11

Compare colors to one another. Especially useful for validating color input fields.

published version 1.0.2, 3 years ago0 dependents licensed under $MIT
10

Generate a random sRGB color.

published version 1.0.0, 2 years ago0 dependents licensed under $MIT
6

Generate a random linear sRGB color.

published version 1.0.0, 2 years ago0 dependents licensed under $MIT
7