color-2-name

wp-blocks
esm cjs
color-2-name JS library homepage color-2-name JS library on GitHub color-2-name JS library on npm Download color-2-name JS library

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

Version 1.4.4 License ISC
color-2-name JS library homepage
color-2-name JS library on GitHub
color-2-name JS library on npm
Download color-2-name JS library
Keywords
colorcolor namescolor-namescsscss colorsaccessibilitya11yhexrgbhslconvert colorscolor picker