UNPKG

color-2-name

Version:

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

4 lines (2 loc) 67 B
declare const colorSet: (string | number)[][]; export = colorSet;