Search results
20 packages found
Gamut map css colors to fit display specific gamuts
A simple, lightweight package with no dependencies to generate a random color with as little visual skew as possible
- random
- color
- random-color
- visually-random-color
- colour
- cielab
- xyz
- rgb
- srgb
- color space
- conversion
- color model
- profile
- gamut
- View more
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
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.
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
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
Utility functions for parsing, converting and mixing colors in sRGB, CIE-XYZ, CIE-L*a*b*, and okLab color spaces
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
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
Convert between logarithmic srgb and linear raw color data.
New color formats, adjustments, and conversions in Sass
Get information about a PNG from its headers
Generate a random sRGB color.
Generate a random linear sRGB color.
gamma-to-linear convenience utilities
Compare colors to one another. Especially useful for validating color input fields.
Node.js wrapper for Little CMS JpegICC
For a given color, find a contrasting color (not optimal).
Color functions
Color Space Convertor