Search results
10 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Collection of color space conversions
- color
- colour
- color-space
- gamut
- color-convert
- color-conversion
- color-conversions
- color-translation
- color-math
- color-data
- rgb
- xyz
- hsl
- hsv
- View more
published version 2.3.2, 20 days ago46 dependents licensed under $Unlicense
1,792,653
A general-purpose color library for JavaScript
- blend
- ciede2000
- cielab
- color
- color-difference
- cubehelix
- din99
- gradients
- hsi
- hsl
- hsv
- hwb
- interpolation
- lab
- View more
published version 4.0.1, a year ago111 dependents licensed under $MIT
1,089,121
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
published version 1.0.1, 4 years ago8 dependents licensed under $ISC
33,649
Converts hex color to rgb and calculates appropriate corresponding foreground.
published version 2.2.0, 10 years ago2 dependents
3,036
Returns light when a color is dark and dark when a color is light (and a little more).
published version 4.0.0, 5 years ago2 dependents licensed under $MIT
4,176
Color utilities for Node.js
- color
- chroma
- color conversion
- color utilities
- color schemes
- color spaces
- standard illuminants
- video color
- luma
- RGB
- hue
- saturation
- cmyk
- yiq
- View more
published version 0.14.0-alpha, 3 years ago0 dependents licensed under $GPL-3.0-or-later
94
Determine if a color in RGB format is dark using YIQ calculation
published version 2.1.2, a year ago1 dependents licensed under $MIT
86
Function to calculate the YIQ value of a color in RGB format
published version 2.1.2, a year ago1 dependents licensed under $MIT
88
functions which help to work with RGB, HEX, YIQ, HSV colours
published version 1.0.2, 8 years ago0 dependents licensed under $ISC
11
Returns whether the given rgb color array has a YIQ brightness value of less than 128 (50% brightness).
published version 1.0.1, 9 months ago0 dependents licensed under $MIT
7