Search results
169 packages found
Finds the closest color name to a given hex, rgb and hsl color (with and without alpha). It uses the Euclidean distance formula to calculate the distance between colors in the RGB color space
The best regular expression (regex) for matching hex color values from string.
A collection of functions for manipulating CSS colors, inspired by SASS.
Validate HTML colors by 'name', 'special name', 'hex', 'rgb', 'rgba', 'hsl', 'hsla', 'hwb', 'lab' or 'lch' values
- validation
- color
- colors
- colour
- colours
- validate color
- validate colour
- color validation
- colour validation
- HTML color validation
- HTML colour validation
- validate HTML color
- validate HTML colour
- hex
- View more
A array with color name -> Hex rgb.
Another JavaScript/TypeScript Color Utility Library
Converts hex colors to rgb
Bidirectional conversions between different colors format like RGB, HSL, HSV and HEX
Convert colors between RGB, HEX, HSL, HWB, LAB, LCH, and more
Colorize terminal text for Node
ac-colors is a reactive JavaScript color library that can freely convert between RGB, HSL, HEX, XYZ, LAB, LCHab, LUV, and LCHuv, as well as handle random color generation and contrast ratio calculation.
Simple utility that generates random hexadecimal colors.
Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values
Great looking color maps
- colormap
- color map
- color
- hex
- rgb
- color-space
- cubehelix
- inferno
- magma
- plasma
- viridis
- matplotlib
- oceanography
- seismic
- View more
A simple color library
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
A function to extract any colors from a string
Orange.Colors - library for working with colors