Search results
22 packages found
Gamut map css colors to fit display specific gamuts
Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets
a minimal and modern color library
- oklch
- oklab
- okhsl
- okhsv
- display-p3
- p3
- displayp3
- prophoto
- a98rgb
- adobe1998
- prophotorgb
- color
- colour
- picker
- View more
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
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
Utility functions for parsing, converting and mixing colors in sRGB, CIE-XYZ, CIE-L*a*b*, and okLab color spaces
New color formats, adjustments, and conversions in Sass
Colors library for TypeScript.
gamma-to-linear convenience utilities
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.
Generate a random sRGB color.
Generate a random linear sRGB color.
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
For a given color, find a contrasting color (not optimal).
Compare colors to one another. Especially useful for validating color input fields.
Convert between logarithmic srgb and linear raw color data.
Node.js wrapper for Little CMS JpegICC
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
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 information about a PNG from its headers