{"_id":"color-2-name","_rev":"20-cc46471e907c130874dc7ca63c6115d4","name":"color-2-name","dist-tags":{"latest":"1.5.2"},"versions":{"1.0.0":{"name":"color-2-name","version":"1.0.0","keywords":["color","color names","color-names","a11y"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.0.0","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"}],"homepage":"https://github.com/erikyo/color2name#readme","bugs":{"url":"https://github.com/erikyo/color2name/issues"},"dist":{"shasum":"68a8a04c3f4c1984eb685e3709b64bfbf3e393c6","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.0.0.tgz","fileCount":45,"integrity":"sha512-q4e7LtsD9SIZ35SOcZJmDj3SyGCFIfQM30cFTHvEs1drb/jVbHDtRZ0awGuxw1jVn440iPNMDHWXc2VJTlCNyg==","signatures":[{"sig":"MEUCIE0Jz036GnyQmmA41NZyDj6XuY5oPdAgGq/gKzXtxGrQAiEAmoscsLwjmShhnkFtV5nHXDg24jlr/0PcD1WCIXOKVP0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":274140,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjq5eXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqtKRAAlbyEk848IHtejV+4dYFXO6x13ochI2n/8z65leXl3nsJNzDC\r\nhpJCZ7YT1gWfNMzMpDh+Y42zyhtbcnDtp+H5JK1bqXyGzY23AItmvVihCBYJ\r\nslH8NaWpJauwB8IndIFFdwF7kPR43KDk1z8cv5B/k0fYy1/foPmEWYmw/zML\r\nksJhOuIYNBEOg1T4lDD8233DGFS7cD9I1yWCHIpRo8BISpqFMS+xIBlP8uVN\r\n/SO2K8+Tc0JYWHqRQnSMKiNuLBvV1eU90etnZQISzNsmBb7DwnZVl1nWFVQ3\r\nAEYQTH5Q10tnUo81bQfAZbemnuoLKljxEPC+p10MHPLFCj7KmokQk2yKNPPU\r\nA0Yogq2aGadxaHFxx39C8C2exe6ymGpiz1lIeO8v2xewzkQ12oo4djQcpN9u\r\nS2UAkvNCeXoLFsyImOwIeqQKj9LbUqqQEtqYsDI8MYw8g4W66h2SkDtm1GA2\r\nKTzKGBXEKZeVz4UAdLJCsQl9rpMyB+RJns3FbSARmJFKRUNsUHhSBfUvWa39\r\nWkBiDw+uR8yVDsx4WXaw55MqHCFfCEyIzYZpSsxNR75EeGjuxtquEq5BwRkO\r\nCWsMeONyamesAk9a9WX/msUFuNXT82jWXJ9yibEx/WTUhG+U7zlNg/zX9IG8\r\n2Hqx/K5v9JwcXSoosEmUy8jCoZST2DanEuk=\r\n=In9C\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/color2name.js","types":"dist/types/index.d.ts","gitHead":"988b604b1171503cb7a35d53a6f63fcb22a138bd","scripts":{"test":"jest","build":"npm run build:js && npm run build:types","start":"webpack serve --mode=development","build:js":"webpack --mode=production","build:types":"tsc --emitDeclarationOnly","gen-colorSet":"node colorSetUtils.mjs css"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"repository":{"url":"git+https://github.com/erikyo/color2name.git","type":"git"},"_npmVersion":"8.19.2","description":"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","directories":{},"_nodeVersion":"16.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","eslint":"^8.30.0","ts-node":"^10.9.1","webpack":"^5.75.0","typescript":"^4.9.4","@babel/core":"^7.20.7","@types/jest":"^29.2.4","@types/node":"^18.11.18","webpack-cli":"^5.0.1","babel-loader":"^9.1.0","@jest/globals":"^29.3.1","@types/webpack":"^5.28.0","eslint-plugin-n":"^15.6.0","@babel/preset-env":"^7.20.2","webpack-dev-server":"^4.11.1","clean-webpack-plugin":"^4.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","terser-webpack-plugin":"^5.3.6","@babel/preset-typescript":"^7.18.6","@typescript-eslint/eslint-plugin":"^5.47.0","eslint-config-standard-with-typescript":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.0.0_1672189847118_0.9279404677728069","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"color-2-name","version":"1.0.1","keywords":["color","color names","color-names","css","accessibility","a11y","hex","rgb","rgba","hsl","hsla","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.0.1","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"}],"homepage":"https://github.com/erikyo/color-2-name#readme","bugs":{"url":"https://github.com/erikyo/color-2-name/issues"},"dist":{"shasum":"66bb5835fd11db4381a503d031d136081733d31c","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.0.1.tgz","fileCount":37,"integrity":"sha512-Be3XRk0GFHupPUbixu2TjUT3jfpppLrIAvT4+dCGghNbnr5LSvKBJf9MRTMTuu2Aqoho0D6X6otRAMIqgm6gpQ==","signatures":[{"sig":"MEUCIG7a6KD387fmjHGXI8cQa/5yfNNZpFAAHhnpSpX4MSefAiEA3QdPK3FkRImQvO90/d0rmqg9jAFJyroUPGurIpcuReA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":220780,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjrXytACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqKXw//cUhuD52dYmGn8DCfCqeMOKk4cW+qk3BrkhwlwkPBa9fH3fcp\r\nXjSTxyceMwLWTlfuesDyVxMesBOHZhUtX8IN4zGj1/hEQ+hEbOB9KkT39ucD\r\nUjjG70oaTU2JE74Mri+DhyzReKL+ZHo4sfZZ98gmaEMOSlDDWTaVQSe/2p7a\r\nP6yIBQH/wvFk/d/CwlrRTgu95qhz/g7hLymx8vUbhur8XULi0bMoAC4l6SN1\r\n5ub9f3q5V2KKeOa0hVXp7Gy1u0PWRvwLeyGYKvCm7spjbXk4k1q8KT8jKGwo\r\nmQbW1bNoGzesLVqheQHShmgftDqWKJK49L9fiprsPJgk7YMUYdibeqhhdinN\r\n7L4R7PQNwcrsDHwKJY5hg1MXy54+01umif4Cmkce85jC4tVRvEyXjAdv5H9D\r\n8kv6Kx9opSKZBXqhlAfjQEuoCI6T/MBJyJl76PIzyF7V28TWFOloB0LcoAGs\r\nPHUbGQh9/Mfm4AAX8AbjYvkEKEHUHtFIsM9CTzcEMNYvEKkFp4Qd5KwhQixN\r\nuEHAmXXZgTYrbWi+zmqrhUuZxYOzQLtHM6O786oLPEM+BkqvSSeQo0ZIQk6w\r\nSe0bUBKWuq+ShhS04QJoFtwX4WZlM0rKizIjO9eSckqp5y1u2MhwghSDh6in\r\nt4nIgLR5zv64Z+UmsHjvlXQ19viEoRYDJl8=\r\n=GsQb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/color-2-name.js","types":"dist/types/index.d.ts","gitHead":"e48189b563ded852f843e5f042178665a0c4f5df","scripts":{"test":"jest --silent=false","build":"npm run build:js && npm run build:types","start":"webpack serve --mode=development","build:js":"webpack --mode=production","build:types":"tsc --emitDeclarationOnly","gen-colorSet":"node colorSetUtils.mjs css"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"repository":{"url":"git+https://github.com/erikyo/color-2-name.git","type":"git"},"_npmVersion":"8.19.2","description":"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","directories":{},"_nodeVersion":"16.17.0","dependencies":{"fsevents":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","eslint":"^8.30.0","ts-node":"^10.9.1","webpack":"^5.75.0","typescript":"^4.9.4","@babel/core":"^7.20.7","@types/jest":"^29.2.4","@types/node":"^18.11.18","webpack-cli":"^5.0.1","babel-loader":"^9.1.0","@jest/globals":"^29.3.1","@types/webpack":"^5.28.0","eslint-plugin-n":"^15.6.0","@babel/preset-env":"^7.20.2","webpack-dev-server":"^4.11.1","clean-webpack-plugin":"^4.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","terser-webpack-plugin":"^5.3.6","@babel/preset-typescript":"^7.18.6","@typescript-eslint/eslint-plugin":"^5.47.0","eslint-config-standard-with-typescript":"^24.0.0"},"optionalDependencies":{"fsevents":"2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.0.1_1672314029263_0.386179683088689","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"color-2-name","version":"1.0.2","keywords":["color","color names","color-names","css","accessibility","a11y","hex","rgb","rgba","hsl","hsla","convert colors","color name classification","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.0.2","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"}],"homepage":"https://github.com/erikyo/color-2-name#readme","bugs":{"url":"https://github.com/erikyo/color-2-name/issues"},"dist":{"shasum":"b197e1aedcd9ab56cd88693034051324784182e6","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.0.2.tgz","fileCount":36,"integrity":"sha512-2Sk0p2jXpH1KeAqhlT4EI64riM1urf4FcqFPB2ZFmwpprD4ztGZMJUJdIUs8Q9WEXWBAvZO3/aBkLKEYxOJLSg==","signatures":[{"sig":"MEUCIBXKaYML9TRCAataH8bMzcz3X8WGoGXegHSTdzabDMqzAiEAv5n3zIxAaktGlIkr88Phy9Hkzg1lVM7zZr9ovpm/A38=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":227941,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjr2CcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqbSBAAlTYKh3AzWlUe+XFQXwxLyFMg4cbMTQwdLp5+QvRYZI0KBXJM\r\nvXTdN/zNKuzVx3X4MGgV1EH5B4vGzI1qK5hsjunFeTy8YvTNQ3GlVZI5LUPm\r\nCDg6j2kNLNG2BY8IxRZfShYJETYCKM3IEIhVlkKoK5VS8Pb55pRiJ2NQEPmo\r\ng+LEpnugfdq6eDVZpsHOiicgvbHU/wPNwrI48vfLDtPi/PUWDPXi3K+pwsBb\r\nPDAwlGKxrXMxI6/DQ4fVdedkmpuVMDNUYc8li3dwXlxLN51wuN3DlGojV9dR\r\nnILZqU1YpqezEDkVpGSptP4oV42EVlEK94xC/5Rad6WSrmyJBhtt+0EREsUW\r\n2D6yPU0L1eoyrR04FILbYe+IDN75KZ6LWsoMpzBA/KR7ScbetjkhYzAEzy8m\r\n7YamiinNTDzlZDTHl8SWyxRtMJttRhSFnMsAeZwFNKUv98yWWn3yh7EDuPBN\r\nslBbnmdzmfVRQ9wk7ukabSRcmUfBMIZ9Ful6iMFf/ArQH3tboqyj5zhGYScr\r\nNs5PNyKEqZvtCeg1unFUIGKQM+T1mjqJ/58UTwhFoSCa7Mt75jvU7BTyq41f\r\ngJx9VrsZGHOo6DHVZxOgF0Xehe20QwW8MbXTzo3J0mb/CUUbAHtEwRVZekPF\r\nD8bGd1s8OBDvkWRi1JQCQnR1UpzjXaeSKx0=\r\n=cniw\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"globals":{"ts-jest":{"tsConfig":"tsconfig.test.json"}}},"main":"dist/color-2-name.js","types":"dist/index.d.ts","gitHead":"e39cfa59ac23855db04468e8f228c09a8920292b","scripts":{"test":"jest --silent=false","build":"npm run build:js && npm run build:types","start":"webpack serve --mode=development","build:js":"webpack --mode=production","build:types":"tsc --emitDeclarationOnly","gen-colorSet":"node colorSetUtils.mjs css"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"repository":{"url":"git+https://github.com/erikyo/color-2-name.git","type":"git"},"_npmVersion":"8.19.2","description":"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","directories":{},"_nodeVersion":"16.17.0","dependencies":{"fsevents":"2.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","eslint":"^8.30.0","ts-node":"^10.9.1","webpack":"^5.75.0","typescript":"^4.9.4","@babel/core":"^7.20.7","@types/jest":"^29.2.4","@types/node":"^18.11.18","webpack-cli":"^5.0.1","babel-loader":"^9.1.0","@jest/globals":"^29.3.1","@types/webpack":"^5.28.0","eslint-plugin-n":"^15.6.0","@babel/preset-env":"^7.20.2","webpack-dev-server":"^4.11.1","clean-webpack-plugin":"^4.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","terser-webpack-plugin":"^5.3.6","@babel/preset-typescript":"^7.18.6","@typescript-eslint/eslint-plugin":"^5.47.0","eslint-config-standard-with-typescript":"^24.0.0"},"optionalDependencies":{"fsevents":"2.1.2"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.0.2_1672437915837_0.4737222312998093","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"color-2-name","version":"1.0.3","keywords":["color","color names","color-names","css","accessibility","a11y","hex","rgb","rgba","hsl","hsla","convert colors","color name classification","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.0.3","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"}],"homepage":"https://erikyo.github.io/color-2-name/","bugs":{"url":"https://github.com/erikyo/color-2-name/issues"},"dist":{"shasum":"d569c2bc5f96e740ac8b17e9c3430c52b324fd8f","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.0.3.tgz","fileCount":13,"integrity":"sha512-C6hfsGPb6bpyarLuB1e4olL7LKueoxPol+8HWbO/tTyt2Sv1Jt4x/HgMEzFTPR7qaRS9NKHOZB2KanGmjqFsxQ==","signatures":[{"sig":"MEYCIQDowU0sNLkCImazO4T/FRajV2MIEIsL4juVH7ZoOBXv9gIhALP866i1Wd22GMFNVZi75xVe2GmNE5xis9zJhauhAcAM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjssn1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoqrA/+Kon69SnjYJaEIGZnbnjLHgw4VS+1vYFd0ruHnsenbUYGF2wm\r\ndv500KN5H4KdHEqFAp0OHheLdjmFZOjtFV139bSc8knPCq3PTQEK/JU8mTAp\r\n77nlrmT2p5IB5kjxPrbHLAWjr0GPioRoGUb5SBT9HLft81EQle8aeYXzV37C\r\ny4EbUtFxcr/R934XLIiyizmGznyaDD6hDHzG7bnWA7vF/N+wW6+jGhPoEk1x\r\nHRxuNI2nxafbV48HPwwxfvY3FILAb/uikyipo72yIxOE3EvANYhNENWyX+Q9\r\nAvNPaFc4t6X/JQaN5swib+5hC+4RnyTQ/JLMvu5MJRKOlTdohK5IevnYAeqc\r\nK8896ViOui2uv3H47R7k1nNKjiVjooifakEy7fe4lmljSTh+hc5Gg8Zh08w4\r\nwyE9RwSKdbraa3aZKmV14Hf39mk28FgbuA4RORdOdpJAqnh4smjmvfksDl3V\r\nbc8Mqv40ENsdn6ZW6kWYyhL7CJu8X7ZFljho07Jjosq7Wq4T5/WicAEeXi00\r\n1+pCOhSWRAGtE6LNjEQM1N65+DZ97hRpbzaGspBwP2RX9fCt13Eqm6RUZqo8\r\nRQwqf1u8YlDbKh0FR4O1+XhJGsQH0xxXEgTnd7L9DegHiwK2WxcjPkVb6qkf\r\nelHsFEAuWHDNzjg3hPO3x9V0v3hnQofATgI=\r\n=3sge\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"globals":{"ts-jest":{"tsConfig":"tsconfig.test.json"}}},"main":"dist/color-2-name.js","types":"dist/index.d.ts","gitHead":"8918a83264a58685313cd1ff20f03ff50381299b","scripts":{"test":"jest --silent=false --coverage","build":"npm run build:js && npm run build:types","start":"webpack serve --mode=development","docGen":"jsdoc -c jsdoc.json","build:js":"webpack --mode=production","build:types":"tsc --emitDeclarationOnly","gen-colorSet":"node colorSetUtils.mjs colorSet"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"repository":{"url":"git+https://github.com/erikyo/color-2-name.git","type":"git"},"_npmVersion":"9.2.0","description":"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","directories":{},"_nodeVersion":"16.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","jsdoc":"^3.6.11","eslint":"^8.30.0","ts-node":"^10.9.1","webpack":"^5.75.0","typescript":"^4.9.4","@babel/core":"^7.20.7","@types/jest":"^29.2.4","@types/node":"^18.11.18","better-docs":"^2.7.2","webpack-cli":"^5.0.1","babel-loader":"^9.1.0","@jest/globals":"^29.3.1","@types/webpack":"^5.28.0","eslint-plugin-n":"^15.6.0","@babel/preset-env":"^7.20.2","webpack-dev-server":"^4.11.1","clean-webpack-plugin":"^4.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","terser-webpack-plugin":"^5.3.6","@babel/preset-typescript":"^7.18.6","@typescript-eslint/eslint-plugin":"^5.47.0","eslint-config-standard-with-typescript":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.0.3_1672661493599_0.6293697754350198","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"color-2-name","version":"1.1.0","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.1.0","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"}],"homepage":"https://erikyo.github.io/color-2-name/","bugs":{"url":"https://github.com/erikyo/color-2-name/issues"},"dist":{"shasum":"5b2cfeea6d52bab4c4037561b991cba1875ff754","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.1.0.tgz","fileCount":30,"integrity":"sha512-fnVZMiTsbJWPQ1KAaSP4ZqEn5vObe+wQ81oTAUWcCUqDuJ6krDRjZPvyJD8Ea3Vlh+ESe3THf1EVOyUq3PuWEw==","signatures":[{"sig":"MEUCIEBzqsOn9uzICYQ6XnkY006lpcrygXBSaU+bFZqaRzb+AiEAm9H9LRM92lSJrGT3TIRpequgJZSs15jcLMJ1mw5v2R0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96076,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtWuBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3KxAAjbQ9Ryk/sje8mBTJwp9UD1FsNSKAGd9I7I/NXAfmIY7KSWui\r\nH69dJwhDjjEeqd2eAww+1R/m+s/vZljltk5bNAafpmzpDBCWrXrtefJd+3As\r\nFZWLCtnob76xSKHd29j2tXtWTF6ELFo0AySZ2E/unMBiQLIsgYgxV6qdQHmp\r\nEgCsrra2BzkMtbMgbLk4R4yWYJ71OGa2Ol/BgUrp/hfUFNzfMuKwlA3pVbCm\r\npD6PhapI/tb2vD+YWFI1QQvbhbKm2LdYKBgsDXP6Ncx30IROMrMLWbexuD1v\r\nVvjK3WZo1V7E62HtNSQpibw+wSLvNLMwFyoI46z8UmL7VFm+OrQxg+aswJxS\r\ns6Ak/0sO+IqE9H76Xi9Ya5PtFNw7foq5rMpmQyvu2pRvgclSctUYJ0d5Ps5Z\r\nCADJ4wNtiaWXy+P8DeQgUT8PeLwWSmQl0qS/0LGzfjGR+kcAhHtWGCji/nD/\r\nD/bzBBsIdcDTicXB4QP5wDl8t5ykO8v7QPSSnuCqkKDTlnvy9JW4rGlzOOrg\r\nr7DjF30Mzz4qWtO24YX0lcknvR2tpgJ+p7Hn0XAw0FsFTxyNRvkYMXWRiTS1\r\nR3mQSui+B51R5+cwPIYAHJ2DQDlaGUQx74NMteTaLG+XxRYprBxxeo3EGas9\r\noVOhM2JNVaZL2fzSY6tfHpazIPv6SZDxmmY=\r\n=s9KZ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"globals":{"ts-jest":{"tsConfig":"tsconfig.test.json"}}},"main":"dist/color-2-name.js","types":"dist/types/","gitHead":"4e023b8c5499205b2a011cfc6d97f8fd4ac3271d","scripts":{"test":"jest --silent=false --coverage","build":"npm run build:js && npm run build:types","start":"webpack serve --mode=development","docGen":"jsdoc -c jsdoc.json","build:js":"webpack --mode=production","build:types":"tsc --project tsconfig.types.json","gen-colorSet":"node colorSetUtils.mjs colorSet"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"repository":{"url":"git+https://github.com/erikyo/color-2-name.git","type":"git"},"_npmVersion":"9.2.0","description":"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","directories":{},"_nodeVersion":"16.17.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","jsdoc":"^3.6.11","eslint":"^8.30.0","ts-node":"^10.9.1","webpack":"^5.75.0","typescript":"^4.9.4","@babel/core":"^7.20.7","@types/jest":"^29.2.4","@types/node":"^18.11.18","better-docs":"^2.7.2","webpack-cli":"^5.0.1","babel-loader":"^9.1.0","@jest/globals":"^29.3.1","@types/webpack":"^5.28.0","eslint-plugin-n":"^15.6.0","@babel/preset-env":"^7.20.2","webpack-dev-server":"^4.11.1","clean-webpack-plugin":"^4.0.0","eslint-plugin-import":"^2.26.0","eslint-plugin-promise":"^6.1.1","terser-webpack-plugin":"^5.3.6","@babel/preset-typescript":"^7.18.6","@typescript-eslint/eslint-plugin":"^5.47.0","eslint-config-standard-with-typescript":"^24.0.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.1.0_1672833921217_0.12139478925859937","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"color-2-name","version":"1.1.1","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.1.1","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"}],"homepage":"https://erikyo.github.io/color-2-name/","bugs":{"url":"https://github.com/erikyo/color-2-name/issues"},"dist":{"shasum":"927ba107002ef0f111dd59878d5163e9937bd392","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.1.1.tgz","fileCount":30,"integrity":"sha512-iH2hqyhv9hgMNrn58wPYWzWxTd053zzsU4GIYpZoV++l9j365qhXoJAk+Yx/Xj3uHjjavJoHPBNYKYzPl6/TgQ==","signatures":[{"sig":"MEUCIBzQHecIeSR+UtPWFHwgxDuzcLZ8ayzQFRnwTilLefJ4AiEA/VEDsAGDHZ/1AfKHpeNzOtmFoPs/15j5gurac8J6rv4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":96416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2/5gACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpj4Q/8CzsDVngIvYnsDo5BdKh+6MzNjakXb+xmxF26VLCXqluy3sS4\r\nHDEvrVoYeWh+4RUuL1w8UCmY4rtPllU9IpAsjQCYdM84qjfaMX8e1XZ737xk\r\nAUyzAiMQty6niZd16h6p4uBl7TG8kWwqWntogxxVsOBXkD8D2xdtsC9G7ocq\r\ncFgDXpXS6asiKd2i/qQr1/vopV98gwTlx+ac2f0JD35isX1DUQpwPUgdwi0p\r\nMnq/HZglZD4c3ZGJYuECsWIKp4S9fhEY2ka8sLiuaTGDxVDTPEjOWiVHv63q\r\nR6O85AALAPvO0rkuwJe9NPH0eay+reOQtDA+KVKWpbX+pZDoppT+I62nipL4\r\nI7FCjLbwJxCMZnxdghI8QKEATKMX2WHnjMFsAojRBz7Vh8wqIAPlk37T1CGO\r\nWmp1YAJ7I8cRIF+6+uWFPeS5wtaf8wRVvb8ZfTgzS/31KzCfviKmBJLkkdTP\r\nB8R6PAdQiM2OfMO7kgi41FPkt/vBlF8FKvaG1kXX3Rf6ydbPkfZc5WJFSTnO\r\n4MJGYYSzs/7P2OCWRx9UT9IK7ii6WB5f6Nzt6OLM2sEopqaOnpVUYHJ0B/jL\r\nI8n7FgTT0Uugp6i8EMeVPQNr5JAMDU1QPfnbSgre6e6E9vzRD4ujdXI/TD1U\r\nv8aV3X6gVVJ6VB3xu+KSGWCL7zB53Jhr9iI=\r\n=XD6A\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"globals":{"ts-jest":{"tsConfig":"tsconfig.test.json"}}},"main":"dist/color-2-name.js","types":"dist/types/","gitHead":"b775dc173b25a211f3a1c70ba88f4fe0b87c2de1","scripts":{"test":"jest --silent=false --coverage","build":"npm run build:js && npm run build:types","start":"webpack serve --mode=development","docGen":"jsdoc -c jsdoc.json","build:js":"webpack --mode=production","build:types":"tsc --project tsconfig.types.json","gen-colorSet":"node colorSetUtils.mjs colorSet"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"repository":{"url":"git+https://github.com/erikyo/color-2-name.git","type":"git"},"_npmVersion":"9.2.0","description":"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","directories":{},"_nodeVersion":"18.13.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.3.1","jsdoc":"^3.6.11","eslint":"^8.32.0","ts-node":"^10.9.1","webpack":"^5.75.0","typescript":"^4.9.4","@babel/core":"^7.20.12","@types/jest":"^29.2.6","@types/node":"^18.11.18","better-docs":"^2.7.2","webpack-cli":"^5.0.1","babel-loader":"^9.1.2","@jest/globals":"^29.3.1","@types/webpack":"^5.28.0","eslint-plugin-n":"^15.6.1","@babel/preset-env":"^7.20.2","webpack-dev-server":"^4.11.1","clean-webpack-plugin":"^4.0.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","terser-webpack-plugin":"^5.3.6","@babel/preset-typescript":"^7.18.6","@typescript-eslint/eslint-plugin":"^5.47.0","eslint-config-standard-with-typescript":"^30.0.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.1.1_1675361888764_0.1389358188907266","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"color-2-name","version":"1.2.0","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.2.0","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://erikyo.github.io/color-2-name/","bugs":{"url":"https://github.com/erikyo/color-2-name/issues"},"dist":{"shasum":"a1ea5e18568beb809d88f3520390c89193432669","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.2.0.tgz","fileCount":53,"integrity":"sha512-bosUXNjvM1hms/rKEGMd/NfyYetrJrWUzfyN5Ip22mkPqj8Iuruu0lQjqGPyfOwWodqEIWqQTh4ViHd4Bqjf5g==","signatures":[{"sig":"MEUCIQCqIu0eiDhwfqCULVVhneMWKqkV4jR+C9epPA0HRgaq8AIgEclGmlA6OmhJz75iM/2hB1SHZyJV7sB2R4R5vh8PDnY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":241475},"main":"./lib/cjs/index.js","unpkg":"lib/browser/color-2-name.js","exports":{".":{"umd":"./lib/umd/index.js","node":"./lib/umd/index.js","types":"./lib/cjs/@types/index.d.ts","import":{"types":"./lib/@types/index.d.ts","default":"./lib/esm/index.js"},"browser":"./lib/browser/color-2-name.js","require":{"types":"./lib/cjs/@types/index.d.ts","default":"./lib/cjs/index.js"}}},"gitHead":"629dfb531b9b3c195442d98e6d48c6105ad0ea96","scripts":{"lint":"eslint ./src --fix && prettier --write ./src","test":"jest --silent=false --coverage","build":"rimraf dist && concurrently npm:module-* && concurrently npm:types-*","benchmark":"tsc --outDir bench --skipLibCheck --esModuleInterop ./tests/benchmark.ts && node ./bench/tests/benchmark.js","types-cjs":"tsc -p tsconfig.json --module commonjs --moduleResolution node --emitDeclarationOnly --declaration --declarationDir ./lib/cjs/@types --skipLibCheck","types-esm":"tsc -p tsconfig.json --module Node16 --moduleResolution Node16 --emitDeclarationOnly --declaration --declarationDir ./lib/@types --skipLibCheck","module-cjs":"swc src -d lib/cjs -C module.type=commonjs --config-file .swcrc-cjs","module-esm":"swc src -d lib/esm -C module.type=es6 --config-file .swcrc-esm","module-umd":"npx spack","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","module-browser":"npx esbuild src/index.ts --outfile=lib/browser/color-2-name.js --allow-overwrite --bundle --minify --sourcemap"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/erikyo/color-2-name.git","type":"git"},"_npmVersion":"10.2.1","description":"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","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.55.0","rimraf":"^4.1.2","@swc/cli":"^0.1.63","prettier":"^2.8.8","@swc/core":"1.2.239","@swc/jest":"^0.2.29","typescript":"^5.3.3","@babel/core":"^7.20.12","@types/jest":"^29.5.11","@types/node":"^20.10.4","concurrently":"^8.2.2","@jest/globals":"^29.7.0","eslint-plugin-n":"^16.3.1","@babel/preset-env":"^7.20.2","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","@babel/preset-typescript":"^7.18.6","@typescript-eslint/parser":"^6.14.0","@typescript-eslint/eslint-plugin":"^6.15.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.2.0_1703431934182_0.5235623573855308","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"color-2-name","version":"1.3.0","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.3.0","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"9d1b56ccc81cba23a975896aec4166c2521a9c42","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.3.0.tgz","fileCount":80,"integrity":"sha512-QsUq5E6SzFmXsrt2RMNhuGd8LsKfhn7bunA1dEGlmLYLQQlbReCW2xCPjh0oypEwkIQn99wpY9SHSsvBA6aq6w==","signatures":[{"sig":"MEUCIEVANeSwJH8pQ8LUclYVnQN1MsMwlfkhzgfCL0GtrB8WAiEAoj81Ba46GWXzfzVDK/NO5AQpigir4iTzdHfHaZFtccY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":348418},"main":"lib/cjs/index.cjs","type":"module","types":"./lib/@types/index.d.ts","unpkg":"lib/browser/color-2-name.js","module":"lib/esm/index.mjs","engines":{"npm":">=6.0.0","node":">=14.0.0"},"exports":{".":{"umd":"./lib/umd/color-2-name.js","import":"./lib/esm/index.mjs","browser":"./lib/browser/color-2-name.js","require":"./lib/cjs/index.cjs"}},"gitHead":"6109230a2931f8170c9c2058b40c5967271197db","scripts":{"lint":"eslint ./src --fix && prettier --write ./src","test":"jest --silent=false --coverage","build":"rimraf lib && concurrently npm:module-*","module-tsc":"tsc --declaration --emitDeclarationOnly --outDir lib/@types --rootDir src","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","module-rollup":"rollup -c","module-browser":"esbuild src/color-2-name.ts --outfile=lib/browser/color-2-name.js --allow-overwrite --bundle --minify --sourcemap"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"10.2.1","description":"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","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.55.0","rimraf":"^4.1.2","rollup":"^4.9.1","esbuild":"^0.19.10","prettier":"^2.8.8","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.23.6","@types/jest":"^29.5.11","@types/node":"^20.10.5","concurrently":"^8.2.2","@jest/globals":"^29.7.0","eslint-plugin-n":"^16.3.1","@babel/preset-env":"^7.23.6","@rollup/plugin-terser":"^0.4.4","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","@babel/preset-typescript":"^7.23.3","@typescript-eslint/parser":"^6.14.0","rollup-plugin-typescript2":"^0.36.0","rollup-plugin-node-resolve":"^5.2.0","@typescript-eslint/eslint-plugin":"^6.15.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.3.0_1703855686455_0.8604783806775071","host":"s3://npm-registry-packages"}},"1.3.1":{"name":"color-2-name","version":"1.3.1","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.3.1","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"ba7688073547607cd51af0ef7acdb3eba05d4088","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.3.1.tgz","fileCount":82,"integrity":"sha512-LDeooH7880pTbenIcX70eaFqgelQGX8CMvLFO1pSXfVQIDN7/MqPfvJDh9/HcqORB1MouGClc6W95RhcUn87uA==","signatures":[{"sig":"MEUCIFYkTSK/t+m4+XlrnrK2w9adVhNEkv4GDdiccMZ3BuisAiEAo75qKdtsaSwLW21c8HuttOm8GBFR745feEwbnzapgmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":415184},"main":"lib/cjs/index.cjs","type":"module","types":"./lib/@types/index.d.ts","unpkg":"lib/browser/color-2-name.min.js","module":"lib/esm/index.mjs","engines":{"npm":">=6.0.0","node":">=14.0.0"},"exports":{".":{"umd":"./lib/umd/color-2-name.js","import":"./lib/esm/index.mjs","browser":"./lib/browser/color-2-name.js","require":"./lib/cjs/index.cjs"}},"gitHead":"955db3f34b24aab5fd9546d16c9455e9a7be6885","scripts":{"lint":"eslint ./src --fix && prettier --write ./src","test":"jest --silent=false --coverage","build":"rimraf lib && concurrently npm:module-*","module-tsc":"tsc --declaration --emitDeclarationOnly --outDir lib/@types --rootDir src","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","module-rollup":"rollup -c","module-browser":"esbuild src/color-2-name.ts --outfile=lib/browser/color-2-name.js --global-name=color2name --allow-overwrite --bundle --sourcemap","module-browser:min":"esbuild src/color-2-name.ts --outfile=lib/browser/color-2-name.min.js --global-name=color2name --allow-overwrite --bundle --minify --sourcemap"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"10.2.1","description":"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","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.55.0","rimraf":"^5.0.5","rollup":"^4.9.2","esbuild":"^0.19.11","prettier":"^3.1.1","babel-jest":"^29.7.0","typescript":"^5.3.3","@babel/core":"^7.23.7","@types/jest":"^29.5.11","@types/node":"^20.10.6","concurrently":"^8.2.2","@jest/globals":"^29.7.0","eslint-plugin-n":"^16.6.0","@babel/preset-env":"^7.23.7","@rollup/plugin-terser":"^0.4.4","eslint-plugin-promise":"^6.1.1","eslint-config-standard":"^17.1.0","@babel/preset-typescript":"^7.23.3","@typescript-eslint/parser":"^6.16.0","rollup-plugin-typescript2":"^0.36.0","rollup-plugin-node-resolve":"^5.2.0","@typescript-eslint/eslint-plugin":"^6.16.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.3.1_1704994783377_0.15420390253768734","host":"s3://npm-registry-packages"}},"1.3.2":{"name":"color-2-name","version":"1.3.2","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.3.2","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"26911e3b49a5221cdb2cc981857e7ebe68e45f19","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.3.2.tgz","fileCount":30,"integrity":"sha512-lKpCqKS9Wv8Vkj7iBlKyC0Lwu1y2VOkWmcMIRpWLor7QzWxeFjFs81HWQnrraclNIgPyg3nFlHM1W+HKab5NGA==","signatures":[{"sig":"MEQCIAb+oPM+4XNrCCscOFPt2bKXBz18AwnalmgcP+BiW/F1AiBIp0HCxkAnQRBiTdkvp1bnHB0en2Akxf9beZ22Yt+juQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":107377},"main":"lib/cjs/index.cjs","type":"module","unpkg":"lib/browser/color-2-name.min.js","import":"lib/esm/index.js","browser":"lib/browser/color-2-name.min.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"gitHead":"7e3e60dc04bf8981d59a30d42e5266d62c9860db","require":"lib/cjs/index.js","scripts":{"lint":"npx @biomejs/biome lint --apply src","test":"vitest --coverage","build":"rimraf lib && concurrently npm:module-*","module-tsc":"tsc --declaration --emitDeclarationOnly --outDir lib/@types --rootDir src","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","module-rollup":"rollup -c"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"10.3.0","description":"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","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.5","rollup":"^4.14.3","vitest":"^1.5.0","esbuild":"^0.19.11","typescript":"^5.4.5","@types/node":"^20.10.6","concurrently":"^8.2.2","@biomejs/biome":"1.7.0","@vitest/coverage-v8":"^1.5.0","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","rollup-plugin-node-resolve":"^5.2.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.3.2_1713472210406_0.9264335720745862","host":"s3://npm-registry-packages"}},"1.3.3":{"name":"color-2-name","version":"1.3.3","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.3.3","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"08a4177c2f1aa62457063b082dc9a9453f7b17ae","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.3.3.tgz","fileCount":30,"integrity":"sha512-r0iDGIIRLXfSM/rfpmr1jTAvw5v+S/uKEuY5MaNc5kNQr00Pxt2PGDN6PlneE9rUESet6P3ap8ltTQsiVYazSw==","signatures":[{"sig":"MEUCIQCm1VMCIKf5d5+dFU9A4D8EbR1ugX0vi+kBGxG5Z1eIawIgEpzFanrKdoQdjMjy8HlrIEgbkYfER4uQFlTwlbhy8UM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":107751},"main":"lib/cjs/index.cjs","type":"module","types":"lib/@types/index.d.ts","unpkg":"lib/browser/color-2-name.min.js","import":"lib/esm/index.js","browser":"lib/browser/color-2-name.min.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"gitHead":"aa0f8d2778b9cb4ed8b7358b4735158ac8a8f181","require":"lib/cjs/index.js","scripts":{"lint":"npx @biomejs/biome lint --apply src","test":"vitest --coverage","build":"rimraf lib && concurrently npm:module-*","module-tsc":"tsc --declaration --emitDeclarationOnly --outDir lib/@types --rootDir src","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","module-rollup":"rollup -c"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"10.3.0","description":"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","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.5","rollup":"^4.14.3","vitest":"^1.5.0","esbuild":"^0.19.11","typescript":"^5.4.5","@types/node":"^20.10.6","concurrently":"^8.2.2","@biomejs/biome":"1.7.0","@vitest/coverage-v8":"^1.5.0","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","rollup-plugin-node-resolve":"^5.2.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.3.3_1713479801257_0.9911458096548238","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"color-2-name","version":"1.4.0","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.4.0","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"0980dd8d041d7e2dfdc17c9795826542447883fc","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.4.0.tgz","fileCount":30,"integrity":"sha512-RfQhRambGR65xQ/amJmKyyka/ZR6JLDXbkNP5LIgnhDIMWnP01QnHFAOM+dtvV8eQrEmLVtaaid+waExY6yZdw==","signatures":[{"sig":"MEYCIQCUcZMS1YVWMGc/IVnZrgvP9aWuRuXUaMiHs2W2nDMt6gIhALawtHpXJmfJjuz5KHACyeJBG6T6QO3J4vs/uHDh4x0r","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":107750},"main":"lib/cjs/index.js","type":"module","types":"lib/@types/index.d.ts","unpkg":"lib/browser/color-2-name.min.js","import":"lib/esm/index.js","browser":"lib/browser/color-2-name.min.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"gitHead":"aa0f8d2778b9cb4ed8b7358b4735158ac8a8f181","require":"lib/cjs/index.js","scripts":{"lint":"npx @biomejs/biome lint --apply src","test":"vitest --coverage","build":"rimraf lib && concurrently npm:module-*","module-tsc":"tsc --declaration --emitDeclarationOnly --outDir lib/@types --rootDir src","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","module-rollup":"rollup -c"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"10.3.0","description":"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","directories":{},"sideEffects":false,"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.5","rollup":"^4.14.3","vitest":"^1.5.0","esbuild":"^0.19.11","typescript":"^5.4.5","@types/node":"^20.10.6","concurrently":"^8.2.2","@biomejs/biome":"1.7.0","@vitest/coverage-v8":"^1.5.0","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","rollup-plugin-node-resolve":"^5.2.0","@rollup/plugin-node-resolve":"^15.2.3"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.4.0_1713480012794_0.840890339173886","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"color-2-name","version":"1.4.1","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.4.1","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"a8fbf0c3c1f7f45ad5bcfc714596c90de3e7e9c4","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.4.1.tgz","fileCount":47,"integrity":"sha512-jKoYmXb8TgKk9hm2S8sN5l7/vm0oSvrz+8tywMMrnl0Yqlm7KomWmcnKUIzMjL81ePbabaxaYbKYcou3/QA6TQ==","signatures":[{"sig":"MEUCIQDS10sd1ZpicNW7sUimP03STp5qbRYwJJAuxkFaxqg/YwIgYk3j/vp2I0PHublWHgd3V0Wp6g4fiUilnBKakgWQOsI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":157711},"main":"./lib/index.cjs","tsup":{"dts":true,"entry":["src/**/*.ts"],"shims":true,"bundle":false,"format":["esm","cjs"],"minify":true,"outDir":"lib","target":"node16","tsconfig":"./tsconfig.json","treeshake":true,"cjsInterop":true,"moduleName":"color2name","skipNodeModulesBundle":true},"type":"module","types":"lib/@types/index.d.ts","unpkg":"lib/browser/color-2-name.min.js","module":"./lib/index.js","browser":"lib/browser/color-2-name.min.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"browser":"./lib/browser/color-2-name.js","require":{"types":"./lib/index.d.cts","default":"./lib/index.cjs"}}},"gitHead":"030b6f8b2084d70dda8f63645891da2dadaff2d9","scripts":{"lint":"npx @biomejs/biome lint --apply src","test":"vitest","build":"rimraf lib && npm run build-module && npm run build-browser && npm run build-browser-min","build-module":"tsup","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","build-browser":"esbuild src/index.ts --outfile=lib/browser/color-2-name.js --global-name=color2name --allow-overwrite --bundle --sourcemap","test:coverage":"vitest --coverage","build-browser-min":"esbuild src/index.ts --outfile=lib/browser/color-2-name.min.js --global-name=color2name --allow-overwrite --bundle --minify"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"10.3.0","description":"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","directories":{},"sideEffects":false,"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","rimraf":"^5.0.7","vitest":"^1.6.0","esbuild":"^0.21.4","typescript":"^5.4.5","@types/node":"^20.12.13","@biomejs/biome":"1.7.3","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.4.1_1717070196713_0.7953841454669515","host":"s3://npm-registry-packages"}},"1.4.2":{"name":"color-2-name","version":"1.4.2","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.4.2","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"d0205131c2b243ed95bede7303359f02fe851e80","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.4.2.tgz","fileCount":47,"integrity":"sha512-hFw1wNIR7JKQixpo3xeoHuyluvxyuE8oMH95dne11A4gRXFRc13z+PlngIKAChWx0NxI+r3jcGW58pncxQnrNQ==","signatures":[{"sig":"MEQCIGgjGt4C7TPxffeLE9ooYiubTiKSmChnmDiyNBJJmVv5AiB/rcJdHFwgH6Yifdm2hsHDwzfDA0uvJOvb9EC666YlOg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158098},"main":"./lib/index.cjs","tsup":{"dts":true,"entry":["src/**/*.ts"],"shims":true,"bundle":false,"format":["esm","cjs"],"minify":true,"outDir":"lib","target":"node16","tsconfig":"./tsconfig.json","treeshake":true,"cjsInterop":true,"moduleName":"color2name","skipNodeModulesBundle":true},"type":"module","types":"lib/@types/index.d.ts","unpkg":"lib/browser/color-2-name.min.js","module":"./lib/index.js","browser":"lib/browser/color-2-name.min.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"browser":"./lib/browser/color-2-name.js","require":{"types":"./lib/index.d.cts","default":"./lib/index.cjs"}}},"gitHead":"685a54cdc526424007dd9012ad423d8079e02850","scripts":{"lint":"npx @biomejs/biome lint --apply src","test":"vitest","build":"rimraf lib && npm run build-module && npm run build-browser && npm run build-browser-min","build-module":"tsup","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","build-browser":"esbuild src/index.ts --outfile=lib/browser/color-2-name.js --global-name=color2name --allow-overwrite --bundle --sourcemap","test:coverage":"vitest --coverage","build-browser-min":"esbuild src/index.ts --outfile=lib/browser/color-2-name.min.js --global-name=color2name --allow-overwrite --bundle --minify"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"10.3.0","description":"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","directories":{},"sideEffects":false,"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","rimraf":"^5.0.7","vitest":"^1.6.0","esbuild":"^0.21.4","typescript":"^5.4.5","@types/node":"^20.12.13","@biomejs/biome":"1.7.3","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.4.2_1717341072805_0.23988161920783146","host":"s3://npm-registry-packages"}},"1.4.3":{"name":"color-2-name","version":"1.4.3","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.4.3","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"4c39f76879cdd0a6e46ad29f2cc8d51cf5b30ecf","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.4.3.tgz","fileCount":47,"integrity":"sha512-UK8UYJ6TFPs/x2OEzVOx0Ud4OEf0rFhaFH5w1fy9mtTsyUMc7cErnqBsYnLcZjPZgNcz2ZY79/PlfGhdOSv+HQ==","signatures":[{"sig":"MEQCIAelAHCCLqRfrDr64hETFaXKrJ9D/uz/d0km4m1L7r83AiBQQV8RhG5/pIRFjhQAE1umIchQ2DjxI1hBsA6b3+yMBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158107},"main":"./lib/index.cjs","tsup":{"dts":true,"entry":["src/**/*.ts"],"shims":true,"bundle":false,"format":["esm","cjs"],"minify":true,"outDir":"lib","target":"node16","tsconfig":"./tsconfig.json","treeshake":true,"cjsInterop":true,"moduleName":"color2name","skipNodeModulesBundle":true},"type":"module","types":"lib/@types/index.d.ts","unpkg":"lib/browser/color-2-name.min.js","module":"./lib/index.js","browser":"lib/browser/color-2-name.min.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"browser":"./lib/browser/color-2-name.js","require":{"types":"./lib/index.d.cts","default":"./lib/index.cjs"}}},"gitHead":"29520f16541126c5380d9fe40b0ba8cbbdc773db","scripts":{"lint":"npx @biomejs/biome lint --apply src","test":"vitest","build":"rimraf lib && npm run build-module && npm run build-browser && npm run build-browser-min","build-module":"tsup","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","build-browser":"esbuild src/index.ts --outfile=lib/browser/color-2-name.js --global-name=color2name --allow-overwrite --bundle --sourcemap","test:coverage":"vitest --coverage","build-browser-min":"esbuild src/index.ts --outfile=lib/browser/color-2-name.min.js --global-name=color2name --allow-overwrite --bundle --minify"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"10.3.0","description":"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","directories":{},"sideEffects":false,"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","rimraf":"^5.0.7","vitest":"^1.6.0","esbuild":"^0.21.4","typescript":"^5.4.5","@types/node":"^20.12.13","@biomejs/biome":"1.7.3","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.4.3_1717341494973_0.33303466788404656","host":"s3://npm-registry-packages"}},"1.4.4":{"name":"color-2-name","version":"1.4.4","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.4.4","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"a53b1f1e63f4ff23977bad1c0bf13a42a77ad1fc","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.4.4.tgz","fileCount":47,"integrity":"sha512-CSF+PANU5YSZYviiU88GJBeJADD4g9mydxLRMYtMEqVxhcLyl72b6PkMQnvomZyUZZLbPhfXs42QZcR0We4JOA==","signatures":[{"sig":"MEUCIQD+bZhU0GYkxPzSJmeOxqjZTafmFrTdfAYrz1PVDUtOrAIgPl2bop6+OPJzD0zlhWz69qLsdie8N1gxmKWE3sM1bHQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":158100},"main":"./lib/index.cjs","tsup":{"dts":true,"entry":["src/**/*.ts"],"shims":true,"bundle":false,"format":["esm","cjs"],"minify":true,"outDir":"lib","target":"node16","tsconfig":"./tsconfig.json","treeshake":true,"cjsInterop":true,"moduleName":"color2name","skipNodeModulesBundle":true},"type":"module","types":"lib/index.d.ts","unpkg":"lib/browser/color-2-name.min.js","module":"./lib/index.js","browser":"lib/browser/color-2-name.min.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"browser":"./lib/browser/color-2-name.js","require":{"types":"./lib/index.d.cts","default":"./lib/index.cjs"}}},"gitHead":"483984082898f6516dcfbe24170d70d1249e0a5b","scripts":{"lint":"npx @biomejs/biome lint --apply src","test":"vitest","build":"rimraf lib && npm run build-module && npm run build-browser && npm run build-browser-min","build-module":"tsup","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","build-browser":"esbuild src/index.ts --outfile=lib/browser/color-2-name.js --global-name=color2name --allow-overwrite --bundle --sourcemap","test:coverage":"vitest --coverage","build-browser-min":"esbuild src/index.ts --outfile=lib/browser/color-2-name.min.js --global-name=color2name --allow-overwrite --bundle --minify"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"10.3.0","description":"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","directories":{},"sideEffects":false,"_nodeVersion":"20.13.1","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","rimraf":"^5.0.7","vitest":"^1.6.0","esbuild":"^0.21.4","typescript":"^5.4.5","@types/node":"^20.12.13","@biomejs/biome":"1.7.3","@vitest/coverage-v8":"^1.6.0"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.4.4_1717342222232_0.6148946573429994","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"color-2-name","version":"1.5.0","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.5.0","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"1cf94a7ab2a758e2c51edecb92cae146faf602f6","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.5.0.tgz","fileCount":49,"integrity":"sha512-jHkjd0bIrQLASMDF/hfa4EK9h6QSK9kiimztypeXxzV2Y9wVbKecYCyki6H7h8VS/2HNs4lz/a1tnvBMMRO1DQ==","signatures":[{"sig":"MEYCIQDL5gtgomqVkdkM+1S1/kMfGx/ewkbWrAx3jx5twoTunQIhAOukBm1LfrpkbrwIhXuiku84i+UKgZ0AakbkpHmc4d42","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161213},"main":"./lib/index.cjs","tsup":{"dts":true,"entry":["src/**/*.ts"],"shims":true,"bundle":false,"format":["esm","cjs"],"minify":true,"outDir":"lib","target":"node16","tsconfig":"./tsconfig.json","treeshake":true,"cjsInterop":true,"moduleName":"color2name","skipNodeModulesBundle":true},"type":"module","types":"lib/index.d.ts","unpkg":"lib/browser/color-2-name.min.js","module":"./lib/index.js","browser":"lib/browser/color-2-name.min.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"exports":{".":{"types":"./lib/index.d.ts","import":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"browser":"./lib/browser/color-2-name.js","require":{"types":"./lib/index.d.cts","default":"./lib/index.cjs"}}},"gitHead":"2bc3a0ae71bf1495b4c49cbeafa7f61bc5631141","scripts":{"lint":"npx @biomejs/biome lint --apply src","test":"vitest","build":"rimraf lib && npm run build-module && npm run build-browser && npm run build-browser-min","testsss":"vitest --run --testNamePattern=^Verification Tests Critical Bugs should throw error for invalid hex$","build-module":"tsup","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","build-browser":"esbuild src/index.ts --outfile=lib/browser/color-2-name.js --global-name=color2name --allow-overwrite --bundle --sourcemap","test:coverage":"vitest --coverage","build-browser-min":"esbuild src/index.ts --outfile=lib/browser/color-2-name.min.js --global-name=color2name --allow-overwrite --bundle --minify"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"jsdelivr":"lib/browser/color-2-name.js","repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"11.6.2","description":"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","directories":{},"sideEffects":false,"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","rimraf":"^6.1.2","vitest":"^4.0.14","esbuild":"^0.27.0","typescript":"^5.9.3","@types/node":"^24.10.1","@biomejs/biome":"2.3.8","@vitest/coverage-v8":"^4.0.14"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.5.0_1764269128266_0.9187753670891048","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"color-2-name","version":"1.5.1","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","_id":"color-2-name@1.5.1","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"homepage":"https://wp-blocks.github.io/color-2-name/","bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"dist":{"shasum":"e90fda66c5e2413b13023bc9a72cc82ca9496ba0","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.5.1.tgz","fileCount":37,"integrity":"sha512-xAN1w0d/3Q4DqHNnMSjHIynoNyj4di5NsH3a0NuSSrYytmfuGOFkn2L6p8oDRXAduTiZrL1wfVJSU9O9sPm3AQ==","signatures":[{"sig":"MEYCIQCaUcfrLI4pBWWtOb5K78pBo2BenruA3YaMAwqjjeoaSgIhAPJjNdUmJ6Irv+7yilTUlJ7HUYFXDRwJOStu09nypF44","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":141641},"main":"./lib/index.cjs","type":"module","types":"./lib/index.d.ts","module":"./lib/index.js","engines":{"npm":">=6.0.0","node":">=14.0.0"},"exports":{".":{"types":{"import":"./lib/index.d.ts","require":"./lib/index.d.cts"},"import":"./lib/index.js","require":"./lib/index.cjs"},"./*":{"types":"./lib/*.d.ts","import":"./lib/*.js","require":"./lib/*.cjs"}},"gitHead":"f371d3c856bdb35922b3dca533c9b35b6126c4b7","scripts":{"lint":"npx @biomejs/biome lint --apply src","test":"vitest","build":"rimraf lib && npm run build-module && npm run build-browser && npm run build-browser-min","pre-publish":"npm run build && npx publint","build-module":"tsdown","gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","build-browser":"esbuild src/index.ts --outfile=lib/browser/color-2-name.js --global-name=color2name --allow-overwrite --bundle --sourcemap","test:coverage":"vitest --coverage","build-browser-min":"esbuild src/index.ts --outfile=lib/browser/color-2-name.min.js --global-name=color2name --allow-overwrite --bundle --minify"},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"repository":{"url":"git+https://github.com/wp-blocks/color-2-name.git","type":"git"},"_npmVersion":"11.6.2","description":"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","directories":{},"sideEffects":false,"_nodeVersion":"22.15.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.1.2","tsdown":"^0.20.3","vitest":"^4.0.14","esbuild":"^0.27.0","typescript":"^5.9.3","@types/node":"^24.10.1","@biomejs/biome":"2.3.8","@vitest/coverage-v8":"^4.0.14"},"_npmOperationalInternal":{"tmp":"tmp/color-2-name_1.5.1_1771195816000_0.07394306654463967","host":"s3://npm-registry-packages-npm-production"}},"1.5.2":{"name":"color-2-name","version":"1.5.2","author":{"name":"Erik","email":"erik@codekraft.it"},"description":"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","homepage":"https://wp-blocks.github.io/color-2-name/","license":"ISC","sideEffects":false,"type":"module","main":"./lib/index.cjs","module":"./lib/index.js","types":"./lib/index.d.ts","unpkg":"lib/browser/color-2-name.min.js","jsdelivr":"lib/browser/color-2-name.js","exports":{".":{"types":{"import":"./lib/index.d.ts","require":"./lib/index.d.cts"},"import":"./lib/index.js","require":"./lib/index.cjs"},"./*":{"types":"./lib/*.d.ts","import":"./lib/*.js","require":"./lib/*.cjs"}},"scripts":{"gen-colorSet":"node ./lib/colorSetUtils.mjs colorSet","build":"rimraf lib && npm run build-module && npm run build-browser && npm run build-browser-min","test":"vitest","pre-publish":"npm run build && npx publint","test:coverage":"vitest --coverage","lint":"npx @biomejs/biome lint --apply src","build-module":"tsdown","build-browser":"esbuild src/index.ts --outfile=lib/browser/color-2-name.js --global-name=color2name --allow-overwrite --bundle --sourcemap","build-browser-min":"esbuild src/index.ts --outfile=lib/browser/color-2-name.min.js --global-name=color2name --allow-overwrite --bundle --minify"},"repository":{"type":"git","url":"git+https://github.com/wp-blocks/color-2-name.git"},"bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"engines":{"npm":">=6.0.0","node":">=14.0.0"},"keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"devDependencies":{"@biomejs/biome":"2.3.8","@types/node":"^24.10.1","@vitest/coverage-v8":"^4.0.14","esbuild":"^0.27.0","rimraf":"^6.1.2","tsdown":"^0.20.3","typescript":"^5.9.3","vitest":"^4.0.14"},"gitHead":"7dd37f0e6ba22ad82e1cce8e3233cb263077a9d2","_id":"color-2-name@1.5.2","_nodeVersion":"22.15.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-TBWOx8AX16rgLe2/cgOw2T4vWZwGQSKQYz5vozCq52YbHWuW9wBEuZLGFl+zFVVJ9W+qoOXfUomr2OZxA7xXrw==","shasum":"d6e1a6d68d8e4d63e7e73984c11d43738a0665d7","tarball":"https://registry.npmjs.org/color-2-name/-/color-2-name-1.5.2.tgz","fileCount":37,"unpackedSize":141816,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHMkvFhVuISd6VIUY6SxiriA2/NAPUiV3qOwngLLL7vHAiEAitgn/9Ah/eThe6ZSuqmPvvOgqzFXsqYLyNUEPba+LpY="}]},"_npmUser":{"name":"erikyo","email":"erikyo83@gmail.com"},"directories":{},"maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/color-2-name_1.5.2_1771671094524_0.5852334341543048"},"_hasShrinkwrap":false}},"time":{"created":"2022-12-28T01:10:47.031Z","modified":"2026-02-21T10:51:34.814Z","1.0.0":"2022-12-28T01:10:47.288Z","1.0.1":"2022-12-29T11:40:29.461Z","1.0.2":"2022-12-30T22:05:16.035Z","1.0.3":"2023-01-02T12:11:33.795Z","1.1.0":"2023-01-04T12:05:21.439Z","1.1.1":"2023-02-02T18:18:08.904Z","1.2.0":"2023-12-24T15:32:14.376Z","1.3.0":"2023-12-29T13:14:46.613Z","1.3.1":"2024-01-11T17:39:43.519Z","1.3.2":"2024-04-18T20:30:10.577Z","1.3.3":"2024-04-18T22:36:41.466Z","1.4.0":"2024-04-18T22:40:12.935Z","1.4.1":"2024-05-30T11:56:36.864Z","1.4.2":"2024-06-02T15:11:13.007Z","1.4.3":"2024-06-02T15:18:15.162Z","1.4.4":"2024-06-02T15:30:22.395Z","1.5.0":"2025-11-27T18:45:28.522Z","1.5.1":"2026-02-15T22:50:16.182Z","1.5.2":"2026-02-21T10:51:34.673Z"},"bugs":{"url":"https://github.com/wp-blocks/color-2-name/issues"},"author":{"name":"Erik","email":"erik@codekraft.it"},"license":"ISC","homepage":"https://wp-blocks.github.io/color-2-name/","keywords":["color","color names","color-names","css","css colors","accessibility","a11y","hex","rgb","hsl","convert colors","color picker"],"repository":{"type":"git","url":"git+https://github.com/wp-blocks/color-2-name.git"},"description":"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","maintainers":[{"name":"erikyo","email":"erikyo83@gmail.com"},{"name":"bitmachina","email":"bitmachina@outlook.com"}],"readme":"# color-2-name\r\n\r\n[![](https://img.shields.io/npm/v/color-2-name.svg?label=npm%20version)](https://www.npmjs.com/package/color-2-name)\r\n[![](https://badgen.net/npm/types/color-2-name)](https://github.com/wp-blocks/color-2-name/blob/main/LICENSE)\r\n[![](https://badgen.net/bundlephobia/minzip/color-2-name)](https://badgen.net/bundlephobia/minzip/color-2-name)\r\n[![](https://img.shields.io/npm/l/color-2-name)](https://github.com/wp-blocks/color-2-name/blob/main/LICENSE)\r\n[![](https://github.com/wp-blocks/color-2-name/actions/workflows/node.js.yml/badge.svg)](https://github.com/wp-blocks/color-2-name/actions/workflows/node.js.yml)\r\n\r\nFind the name of the color given a hex, rgb and hsl string!\r\n\r\nThis package provides a function to find the closest color within an array of colors.\r\nIt uses the Euclidean distance formula to calculate the distance between colors in the RGB color space.\r\n\r\n### Features:\r\n\r\n- 🚀 **Fast** - The distance between colors in the RGB color space is provided with the fastest algorithm available (see benchmarks below)\r\n- 😎 **A11y** - So that your app is equally useful for everyone\r\n- 📒 **Well Documented** - Checkout the [documentation](https://wp-blocks.github.io/color-2-name/) with examples, demo and code references\r\n- 🪶 **Lightweight** - The module WITH the 140 css colors definitions [weighs 3.5kb gzipped](https://bundlephobia.com/package/color-2-name)!\r\n- 📦 **Bundled** - Optimized and minified build, with ESM, CJS and iife browser versions available!\r\n- 💪️ **Typed** - Written in typescript (with types included)\r\n- 🛡️️ **Tested** - Over 4000 tests (most of all from [wpt](https://github.com/web-platform-tests/wpt/)) with 100% coverage to ensure the full adherence to the css standards\r\n- 🎈 **No dependencies** - Dependencies tend to have dependencies endlessly, and this can lead to security issues. This is a small module, and it doesn't need anything else!\r\n\r\n## 🚀 Benchmarks\r\n\r\nDesigned with performance in mind, it is 10 times faster than the self-proclaimed fastest color conversion plugin!\r\n\r\n| Library                                                            | <nobr>Operations/sec</nobr>                                | Size<br /> (minified)                                                                                                           | Size<br /> (gzipped)                                                                                                                                                                       |\r\n|--------------------------------------------------------------------|------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\r\n| <nobr><b>[color-2-name](#color-2-name) v1.3.2 🚀</b></nobr>        | <nobr>🟢 <b>7 516 ops/s,</b> ±0.55%%</nobr>                | [![color-2-name](https://snyk.io/advisor/npm-package/color-2-name/badge.svg)](https://snyk.io/advisor/npm-package/color-2-name) | [![](https://badgen.net/bundlephobia/minzip/color-2-name?color=yellow&label=)](https://bundlephobia.com/result?p=color-2-name)                                                             |\r\n| <nobr>[colord](https://www.npmjs.com/package/colord) v2.9.3</nobr> | <nobr>🔴 736 ops/s, ±0.29%        ( 90.21%% slower)</nobr> | [![colord](https://snyk.io/advisor/npm-package/colord/badge.svg)](https://snyk.io/advisor/npm-package/colord)                   | [![](https://badgen.net/bundlephobia/minzip/colord?color=6ead0a&label=)](https://bundlephobia.com/result?p=colord) + [plugins](https://github.com/omgovich/colord/tree/master/src/plugins) |\r\n\r\n- The performance results were generated on a common Intel i5 by running `npm run benchmark` in the library folder. See [benchmarks](https://github.com/wp-blocks/color-2-name/blob/main/tests/bench/src/benchmark.ts).\r\n- For the tests, we generate 50 random colors to make sure that no internal mechanism is benefited\r\n- The Size for the `colord` package is calculated without the color definitions while `color-2-name` already has everything you need bundled inside\r\n\r\n## Installation\r\n\r\n### Module\r\n\r\nTo install the package, run the following command:\r\n\r\n```\r\nnpm install color-2-name\r\n```\r\n\r\nThen you can import the functions, for example `closest`, from the package:\r\n\r\n```js\r\n// ESM (import) - tree shakable\r\nimport {closest, distance, rgbToHex} from 'color-2-name';\r\nclosest('hsla(210deg 10% 96%)') // white\r\n\r\n// CJS (require)\r\nvar color2Name = require(\"color-2-name\")\r\ncolor2Name.closest('#abcdef')\r\n```\r\n\r\n### Browser\r\n\r\nTo run the script in the browser, add the `color-2-name` script to the header or footer like below\r\n\r\n```js\r\n<script src=\"https://www.unpkg.com/color-2-name\"></script>\r\n<script>\r\n    // Then the color-2-name module will be available using the following command:\r\n    // You will find the packed script loaded into window.color2name\r\n    color2name.closest('#123456') // returns \"name\" : \"midnightblue\" , \"color\" : \"rgb(25,25,112)\"\r\n</script>\r\n```\r\n\r\n#### The script is available at:\r\n- [unpkg](https://www.unpkg.com/color-2-name) - https://www.unpkg.com/color-2-name\r\n- [jsdelivr](https://cdn.jsdelivr.net/npm/color-2-name@latest) - https://cdn.jsdelivr.net/npm/color-2-name@latest\r\n\r\n---\r\n\r\nThis Package includes the following functions:\r\n\r\n- [closest()](#closest)\r\n- [distance()](#distance)\r\n- [rgbToHex()](#rgbToHex)\r\n- [isLight()](#isLight)\r\n- [isDark()](#isDark)\r\n- [closestRGB()](#closestRGB)\r\n- [getColor()](#getColor)\r\n\r\n### 💡closest()\r\n\r\nReturns the closest color name\r\n\r\n```js\r\n// Here is an example of how to use the findClosestColor function:\r\nconst closestColor = closest('#ff8800');\r\nconsole.log(closestColor); // { name: 'red', color: 'rgb(255,0,0)' }\r\n\r\n// You can also use your custom set as comparison\r\nclosest('#ff8800', [\r\n  [255, 0, 0, 'red'],\r\n  [0, 255, 0, 'green']\r\n]); // -> { name: 'red', color: 'rgb(255,0,0)' }\r\n\r\n// Alternatively you can also get the closest color in different color spaces in the following way:\r\nreturn closest('#ff00ff', undefined, {info: true});\r\n// {\r\n//    name: 'magenta',\r\n//    color: 'rgb(255,0,255),\r\n//    hex: '#ff00ff',\r\n//    hsl: 'hsl(300deg 100% 50%)',\r\n//    distance: 0\r\n// }\r\n```\r\n\r\nIn this example, the hex color '#ff8800' (which is a shade of orange) is compared to the colors in the colors array. The function returns the object with the name and hex value of the color that is closest to it, which in this case is the\r\nobject for the color red.\r\n\r\nArguments:\r\n\r\n- `color`: a string representing a color, accepts hexadecimal, rgb and hsl with and without alpha channel (e.g. `#ff0000` for hex red).\r\n- `colors`: (optional) you can provide to this function a custom list of color names to be used (replaces the default)\r\n- `args`: (optional) an Object that contains setup for this module\r\n- `args.info`: (optional) set to true to display additional information about the found color, like the hex value and the distance from the original\r\n\r\n**RETURNS** an object with the name and nearest color that is closest to the given color. (eg. `{ name: 'red', color: 'rgb(255,0,0)' }`)\r\n\r\n---\r\n\r\n#### 💡distance()\r\n\r\nComputes the distance between two colors using the euclidean distance formula.\r\n\r\n```js\r\n// Here is an example on how get the distance between two colors\r\nconst colorDivergence = distance([120, 255, 200], [255, 255, 255])\r\nconsole.log(colorDivergence); // 123.465\r\n```\r\n\r\nArguments:\r\n\r\n- `rgb1`: an array of values representing rgb of the first color to be compared\r\n- `rgb2`: an array of values representing rgb of the second color to be compared\r\n\r\n**RETURNS** the distance between two colors, the maximum distance is >441 and the color is exactly the same when the value is 0\r\n\r\n---\r\n\r\n#### rgbToHex\r\n\r\nConvert a rgb color into hexadecimal color\r\n\r\n```js\r\n// note: the rgb value is converted without taking into account the alpha channel\r\nconst hex = rgbToHex('rgb(255,255,255)')\r\nconst hex2 = rgbToHex('rgb(255 255 255 / .5)')\r\n// prints the hex result\r\nconsole.log(hex); // #FFFFFF\r\nconsole.log(hex2); // #FFFFFF\r\n```\r\n\r\nArguments:\r\n\r\n- `rgb`: a valid css rgb or rgba value (eg. rgb(1,2,3))\r\n\r\n**RETURNS** the hex value of the color\r\n\r\n---\r\n\r\n#### 💡getColor()\r\n\r\nsearch into ColorSet for the given color\r\n\r\n```js\r\n// note: the rgb value is converted without taking into account the alpha channel\r\nconst white = getColor('white') // {\"hex\": \"#ffffff\", \"hsl\": \"hsl(0,0%,100%)\", \"rgb\": \"rgb(255,255,255)\"}\r\nconst alertColor = getColor('red') // {\"hex\": \"#ff0000\", \"hsl\": \"hsl(0,100%,50%)\", \"rgb\": \"rgb(255,0,0)\"}\r\n\r\n// prints the hex result\r\nconsole.log(alertColor.hsl); // hsl(0,100%,50%)\r\nconsole.log(alertColor.hex); // #FF0000\r\nconsole.log(\"transparent red: \" + alertColor.hex + \"88\"); // #FF000088\r\n```\r\n\r\nArguments:\r\n\r\n- `colorName`: the name of a color you need find in the colorset\r\n\r\n**RETURNS** an Object with the color requested converted into hex, rgb and hsl\r\n\r\n---\r\n\r\n### Useful (additional) functions\r\n\r\n#### 💡isLight()\r\n\r\nCheck if the color is light (optically closer to white)\r\n\r\n#### 💡isDark()\r\n\r\nCheck if the color is dark (optically closer to black)\r\n\r\n#### 💡closestRGB()\r\n\r\nreturns the closest RGB color\r\n\r\nArguments:\r\n\r\n- `color`: a valid css color string\r\n\r\nExamples:\r\n\r\n```js\r\n// note: the rgb value is converted without taking into account the alpha channel\r\nisLight('#fff') // true\r\nisDark('#fff') // false\r\nclosestRGB('#FF1234') // red\r\n```\r\n\r\n---\r\n\r\n#### 💡Build your own color set\r\n\r\nFirst, clone the color-2-name package with `git clone https://github.com/wp-blocks/color-2-name.git` then cd into color-2-name folder.\r\n\r\nIn order to build a color set you need a json object with the following properties:\r\n- `name` - the name of the color (like \"Orange\")\r\n- `color` - the hex color value (like #FFAA00)\r\n\r\nSave it into `./src/data/` as \"myNewColorSet.json\". The file should contain something like this:\r\n\r\n```json\r\n[\r\n    { \"name\": \"white\", \"color\": \"#FFFFFF\" },\r\n    { \"name\": \"black\", \"color\": \"#000000\" },\r\n    { \"name\": \"red\", \"color\": \"#FF0000\" },\r\n    { \"name\": \"green\", \"color\": \"#008000\" },\r\n    { \"name\": \"blue\", \"color\": \"#0000FF\" }\r\n]\r\n```\r\n\r\n```bash\r\n# then run the following command\r\n$ node ./lib/colorSetUtils.mjs myNewColorSet\r\n```\r\n\r\n**RETURNS** A new file called \"myNewColorSet.ts\" containing the data for this module will be written inside the ./src/data/ folder\r\n\r\n---\r\n\r\n### Examples\r\n\r\nThis module is meant to be used in conjunction with React's color picker, so that the color name is shown as you select it. It can also be used in other ways of course, such as to determine whether a color is light or dark (using a custom\r\ncolor set with black and white) etc.\r\n\r\n![picker](https://user-images.githubusercontent.com/8550908/209803600-81954bea-63a0-4951-ac4c-a965a9d93bca.gif)\r\n\r\n### Limitations\r\n\r\nThis package uses the Euclidean distance formula to calculate the distance between colors in the RGB color space. While this is a simple and widely used method for comparing colors, it may not always give the most accurate results. In\r\nparticular, it does not take into account the perception of colors by the human eye, which can be affected by factors such as the surrounding colors and the luminance of the colors.\r\n\r\n### Contributing\r\n\r\nIf you would like to contribute to this package, please follow the guidelines in the CONTRIBUTING.md file.\r\n\r\n### License\r\n\r\nThis package is licensed under the ISC License. See the LICENSE file for details.\r\n\r\n### Credits\r\n\r\nThe wiki about the Euclidean distance formula https://en.wikipedia.org/wiki/Color_difference\r\n\r\nSome useful ideas and codes has been taken from the article on the website css-tricks at https://css-tricks.com/converting-color-spaces-in-javascript/\r\n","readmeFilename":"readme.md"}