{"_id":"@bobfrankston/colorlib","_rev":"11-c5d27ef0d9e4d016e360cffba44179ef","name":"@bobfrankston/colorlib","dist-tags":{"latest":"0.1.10"},"versions":{"0.1.0":{"name":"@bobfrankston/colorlib","version":"0.1.0","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.0","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"7568c6b21faf62c56b359c33d1ac27fe31285216","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.0.tgz","fileCount":22,"integrity":"sha512-z6iGyb0LSZ/fm6GQQU9hB5lL4JtZnxq9Q0yBpLYnv75ZsMGDBSIw1a1iSGDYx1jgBKNhMRvf2i8J4rphuh/thQ==","signatures":[{"sig":"MEUCIHAmdyfk3+LfOZnv1fXfBu9fhtb8eWjr1pzKOblSVinFAiEAitJip5T1Qb6Qq2dXAh0h7/usTc4czlVvXlrA5/rcxS0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30927},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"gitHead":"4e4f8e6f58056b5fdcf3f0c812ebe7b5b28e324b","scripts":{"build":"tsc","watch":"tsc -w"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.7.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"25.2.1","dependencies":{"color-convert":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"latest","@types/color-convert":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.0_1768157770482_0.23686493934869302","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@bobfrankston/colorlib","version":"0.1.1","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.1","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"2469730cf5c950191a175239755c97b584dd1a31","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.1.tgz","fileCount":18,"integrity":"sha512-Zm+VrT6lFN/nClg4mDY+Pt1+Rak0dRFPvKYQIhjdcNPZJ3cUSlfyKgdZASJAjp93T0iRMGrXwROKwb/NTRKgpA==","signatures":[{"sig":"MEUCIHaZAEuv1UDfyMaOVdITl8RmENZaVt/Gu01IwEwq+okAAiEAmLaNkZrP9fc/ZDApY/++OYuT7DgCT2aG5mTQVOqVjdw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22291},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"gitHead":"dca4831c6a1bffaea682717d0e7cc1bbaa1906a3","scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.7.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"25.2.1","dependencies":{"color-convert":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.6","@types/color-convert":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.1_1768239872418_0.9667140397078722","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@bobfrankston/colorlib","version":"0.1.2","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.2","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"6f15d79af4ba65f1a49d271d95ec39ae6c75bcdf","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.2.tgz","fileCount":18,"integrity":"sha512-ukRc2xvhh4VJ3k8r0EYgLTkN4VUaQQpQtOtmax3BpYpJBdqgGdB58Y3xV/gdxUx+schVCwQ9O5gltKdvOkXAYw==","signatures":[{"sig":"MEQCIGS8IIS7XAsUZmN0WYx0AzYr9B0EJ6KLPka/jUZIT+Y7AiBkKQVL52oeKiu+b8ElNkyutVGpaufIGOe0NxE/C7X3CQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22291},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"gitHead":"a28787e7ade32569edc50df9bfbed692b2061b80","scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.7.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"25.2.1","dependencies":{"color-convert":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.6","@types/color-convert":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.2_1768240384745_0.12722169662845584","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@bobfrankston/colorlib","version":"0.1.3","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.3","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"935ebe5da942b441fbaaa8e0db875be288c38ff1","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.3.tgz","fileCount":18,"integrity":"sha512-Skx2ftosHJCuVlLF0+yOTN2tmZe+HoHq4RmT2OqOFb3kU6rLz2eh87GY4WurOKeQIf3Qi7MqlnSbXRY/1FgSvg==","signatures":[{"sig":"MEUCIEtb8dtH0SepIaoqzwr3eIKwaD3cge+54NZcHd5/3/8iAiEAtTEEWH5+8AbBA3EBlbSqV63WcLn1090UHfmOIinwiR8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22291},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"gitHead":"900455ea3819a3295b383b65650d5d921288405b","scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.7.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"25.2.1","dependencies":{"color-convert":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.6","@types/color-convert":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.3_1768240924556_0.07961694839827871","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@bobfrankston/colorlib","version":"0.1.4","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.4","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"d761361ef6d8c7bb0d1daa7da62c2f2242f3db3f","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.4.tgz","fileCount":18,"integrity":"sha512-kqyH32oXlVJSDtjC1KG3xkzBUZZmjiQaRG+Yy2ZDQAD/P+jBJJxgFfbY3VD07Z/me94JNCBBZQiXXY6EwD479g==","signatures":[{"sig":"MEYCIQDhhvijW2SDBc1qotrZDTO0JB7ix5JokxDppSghQow1JAIhAPZkNTxx+p3x4g6EYX4gy53ZUr5Rk8oXmkczwDE7DyIL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22308},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"gitHead":"fe1f802b8875a9ed542b410d95c236db94fff8f0","scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish --loglevel=error"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.7.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"25.2.1","dependencies":{"color-convert":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.6","@types/color-convert":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.4_1768242726783_0.6588114964572276","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@bobfrankston/colorlib","version":"0.1.5","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.5","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"1e827d2252ab9c062bf709854dfd52dc6bc0422b","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.5.tgz","fileCount":18,"integrity":"sha512-RorikKFlub56BWyu52g/PxoDgT6Z2QWZpgdTJ7zAjkn+K1vHY9oh17k0+nG8gdSam+BzNBuSgruWTfyrcwPjvQ==","signatures":[{"sig":"MEQCICb4gVjeCfAV+myIk4Z7ZOAHwsegBNVVQXEtXCPItq3qAiB3MLOM5uqg35HMKGnm7nj5mN2sOmlDE8l9dJwFJKHFIw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22308},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"gitHead":"22d46469393f165c084a3f3b2a925e393f543095","scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish --loglevel=error"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.7.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"25.2.1","dependencies":{"color-convert":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.6","@types/color-convert":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.5_1768242891179_0.702642835520298","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@bobfrankston/colorlib","version":"0.1.6","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.6","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"515cf3e2ebc8a235859ccb644e1682f9660ea0e9","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.6.tgz","fileCount":18,"integrity":"sha512-0LL8zozDaT3dBPfcagZlZFonkTrMh8hOVyVWucdN7I8C8JUPDHudXtu4eA7CmVfYF4ZiUs1UetG2OOJJgClmxQ==","signatures":[{"sig":"MEUCIQDLZZ/6Wp+Tqrq+NGJ0cqLX5m094CXGFK2hvslvYYGljwIgLJ8DfqAOTx4ZTEfs235b09DPshgJgD2olFW7FLzRceg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22308},"main":"index.js","type":"module","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"gitHead":"921ed1b21b97ccc9ca996ddf9ca9d2cc7470eb12","scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish --loglevel=error"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.7.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"25.2.1","dependencies":{"color-convert":"^2.0.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.6","@types/color-convert":"^2.0.4"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.6_1768243549938_0.8731306026661951","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@bobfrankston/colorlib","version":"0.1.7","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.7","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"d26355e78311214034ab676c4f6c509b017ed490","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.7.tgz","fileCount":9,"integrity":"sha512-5dmxvwtO7MRJoGafpB+DIcBgD55w38566hjLA1pmieSMM+1o4G0NT3PqEdlqE2SWIeWHpJ9P6vCuF5PJTW2gYw==","signatures":[{"sig":"MEYCIQDJpiWWStZjCULbtTi0RaV+ALnay2ZyA12W/+oNhSKleQIhANuOQYMOd9NYjPgEoxb/5cWxyJr0adUt+VpMGJqZHIny","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14694},"main":"index.js","type":"module","_from":"file:bobfrankston-colorlib-0.1.7.tgz","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish --loglevel=error"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"y:\\dev\\homecontrol\\utils\\colorlib\\bobfrankston-colorlib-0.1.7.tgz","_integrity":"sha512-5dmxvwtO7MRJoGafpB+DIcBgD55w38566hjLA1pmieSMM+1o4G0NT3PqEdlqE2SWIeWHpJ9P6vCuF5PJTW2gYw==","repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.7.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"25.3.0","_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.9"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.7_1768859045733_0.3480029351862408","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@bobfrankston/colorlib","version":"0.1.8","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.8","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"80396427f71b2be518854966f5224d47978eac03","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.8.tgz","fileCount":9,"integrity":"sha512-88+vNuAZvOKpwjpyx6Ew8L8yDlt8jgtpDbjOe2qjFq9oKmQ1LKVwTKjfQDYHYGXg7wg9veAQn5Nn1KuEIqy7Nw==","signatures":[{"sig":"MEUCIBGng8V9dqf8P3+RaGawOUp11xYbJ60Oh8xXu0kwT46uAiEAziraEM3kXkT8wkGRvCSe8AsrWdPrlUmQhO+KPNcxyPc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14694},"main":"index.js","type":"module","_from":"file:bobfrankston-colorlib-0.1.8.tgz","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish --loglevel=error"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"y:\\dev\\homecontrol\\utils\\colorlib\\bobfrankston-colorlib-0.1.8.tgz","_integrity":"sha512-88+vNuAZvOKpwjpyx6Ew8L8yDlt8jgtpDbjOe2qjFq9oKmQ1LKVwTKjfQDYHYGXg7wg9veAQn5Nn1KuEIqy7Nw==","repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.7.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"25.3.0","_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.0.9"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.8_1768934043220_0.13546109297764053","host":"s3://npm-registry-packages-npm-production"}},"0.1.9":{"name":"@bobfrankston/colorlib","version":"0.1.9","keywords":["color","hsl","hsb","rgb","kelvin"],"license":"MIT","_id":"@bobfrankston/colorlib@0.1.9","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"homepage":"https://github.com/BobFrankston/colorlib#readme","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"5e628314a47f814095431efcbeb489fec7847fd1","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.9.tgz","fileCount":9,"integrity":"sha512-QnCrypP0tq+1ST3ktvLZm94ErqkdGcKxOWd3d9LYrVpwx1hnWNbEQveg0YFUdtrtxs4jrZmY3tzJ/Qicarrirw==","signatures":[{"sig":"MEYCIQDu8jzlx58T4kPwuRG194ULu62ek6jphLWNqsZFJs0tfAIhAJRwAD7FyP7/VT1Yg8uKeVh13zywjLyhqDhCzTq3pzVk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14743},"main":"index.js","type":"module","_from":"file:bobfrankston-colorlib-0.1.9.tgz","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish --loglevel=error"},"_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"_resolved":"Y:\\dev\\homecontrol\\utils\\colorlib\\bobfrankston-colorlib-0.1.9.tgz","_integrity":"sha512-QnCrypP0tq+1ST3ktvLZm94ErqkdGcKxOWd3d9LYrVpwx1hnWNbEQveg0YFUdtrtxs4jrZmY3tzJ/Qicarrirw==","repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.17.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"_nodeVersion":"26.4.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.3.0"},"_npmOperationalInternal":{"tmp":"tmp/colorlib_0.1.9_1784462549876_0.12936126485139932","host":"s3://npm-registry-packages-npm-production"}},"0.1.10":{"_id":"@bobfrankston/colorlib@0.1.10","bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"dist":{"shasum":"e19688ce386667705ec407689cb640386e84b175","tarball":"https://registry.npmjs.org/@bobfrankston/colorlib/-/colorlib-0.1.10.tgz","fileCount":10,"integrity":"sha512-Enqu7ORtGbHzysy+eYEXUwFJa+3kqfvrJ2ukVbkYkPjIeGgcmzdU6mrBlxuZ66uV5tLFJv0nCCP8mezLrrjsbA==","signatures":[{"sig":"MEUCIQCdLr77VAEsMFh4tvMrBA1XNkWPnjcE2HZTbXSvWO2P3gIgYsF5w2UNIh2smjfcSQ5pHo2CLKTvTlvjSqi3kuNmgRA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDeZM6zFyQJ7TW3Rd9LLdeiharhXSDEXza7J+t4eWn7BAiEAxQTScoOL7uw0l9baUHneF5NOHPKLs/XnzuMdFqt4WJg="}],"unpackedSize":18540},"main":"index.js","name":"@bobfrankston/colorlib","type":"module","_from":"file:bobfrankston-colorlib-0.1.10.tgz","types":"index.d.ts","exports":{".":{"types":"./index.d.ts","import":"./index.js"}},"license":"MIT","scripts":{"build":"tsc","watch":"tsc -w","release":"git add -A && git diff-index --quiet HEAD || git commit -m 'Build for release' && npm version patch","preversion":"npm run build","postversion":"git push && git push --tags && npm publish --loglevel=error"},"version":"0.1.10","_npmUser":{"name":"bobfrankston","email":"npm@bob.ma"},"homepage":"https://github.com/BobFrankston/colorlib#readme","keywords":["color","hsl","hsb","rgb","kelvin"],"_resolved":"Y:\\dev\\homecontrol\\utils\\colorlib\\bobfrankston-colorlib-0.1.10.tgz","_integrity":"sha512-Enqu7ORtGbHzysy+eYEXUwFJa+3kqfvrJ2ukVbkYkPjIeGgcmzdU6mrBlxuZ66uV5tLFJv0nCCP8mezLrrjsbA==","repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"_npmVersion":"11.17.0","description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","directories":{},"maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"_nodeVersion":"26.4.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@types/node":"^25.3.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/colorlib_0.1.10_1789431943389_0.22819518001171923"}}},"time":{"created":"2026-01-11T18:56:10.378Z","modified":"2026-09-15T00:25:43.609Z","0.1.0":"2026-01-11T18:56:10.640Z","0.1.1":"2026-01-12T17:44:32.557Z","0.1.2":"2026-01-12T17:53:04.883Z","0.1.3":"2026-01-12T18:02:04.707Z","0.1.4":"2026-01-12T18:32:06.920Z","0.1.5":"2026-01-12T18:34:51.309Z","0.1.6":"2026-01-12T18:45:50.069Z","0.1.7":"2026-01-19T21:44:05.882Z","0.1.8":"2026-01-20T18:34:03.359Z","0.1.9":"2026-07-19T12:02:30.049Z","0.1.10":"2026-09-15T00:25:43.479Z"},"bugs":{"url":"https://github.com/BobFrankston/colorlib/issues"},"license":"MIT","homepage":"https://github.com/BobFrankston/colorlib#readme","keywords":["color","hsl","hsb","rgb","kelvin"],"repository":{"url":"git+https://github.com/BobFrankston/colorlib.git","type":"git"},"description":"Color conversion library for RGB, HSL, HSB, HSBK and Kelvin","maintainers":[{"name":"bobfrankston","email":"npm@bob.ma"}],"readme":"# @bobfrankston/colorlib\n\nColour conversion between RGB, HSL, HSB, HSBK and Kelvin, plus one flexible parser.\n\nPure TypeScript, no dependencies, works in the browser and in Node — **with one exception, named\ncolours, described below.**\n\n```ts\nimport { parseColor, rgbToHsbk, kelvinToRgb, HSBK } from '@bobfrankston/colorlib';\n\nparseColor('#ff8800')            // { h: 32, s: 100, b: 100, k: 3500 }\nparseColor('rgb(255,136,0)')     // same\nparseColor('hsl(32,100%,50%)')   // same\nparseColor(2700)                 // white at 2700K: { h: 0, s: 0, b: 100, k: 2700 }\nparseColor({ r: 255, g: 136, b: 0 })\n```\n\n## Types\n\n| type | fields |\n|---|---|\n| `RGB` | `r`, `g`, `b` — 0-255 |\n| `HSL` | `h` 0-360, `s` 0-100, `l` 0-100 |\n| `HSB` | `h` 0-360, `s` 0-100, `b` 0-100 |\n| `HSBK` | `h` 0-360, `s` 0-100, `b` 0-100, `k` Kelvin 1500-9000 |\n| `HSBK16` | the same scaled to 0-0xFFFF for wire protocols; `k` stays in Kelvin |\n| `ColorInput` | `string` \\| `number` \\| `RGB` \\| `HSL` \\| `HSB` \\| `HSBK` |\n\nGuards: `isRGB`, `isHSL`, `isHSB`, `isHSBK`.\n\nKelvin defaults: `DEFAULT_KELVIN` 3500, range 1500-9000. A bare **number** passed to `parseColor` is\nread as a colour temperature and must be in that range.\n\n## Conversions\n\n```\nrgbToHsl   hslToRgb   rgbToHsb   hsbToRgb   hslToHsb   hsbToHsl\nrgbToHsbk  hslToHsbk  hsbToHsbk       (each takes an optional kelvin, default 3500)\nkelvinToRgb        hsbkTo16        hsbk16ToHsbk\n```\n\n## ⚠️ Named colours are browser-only\n\n`parseColor('red')` **works in a browser and throws under Node.**\n\nThere is no colour table in this library. `parseNamed` (`parse.ts:45`) creates a canvas, assigns the\nname to `fillStyle`, and reads back whatever the browser resolved:\n\n```ts\nconst ctx = canvas.getContext('2d');\nctx.fillStyle = name;      // the browser's own CSS parser does the work\n```\n\nIn a browser that is a good trade: you inherit the entire CSS keyword list, always current, for zero\nbytes of data. Outside one there is no `document`, the guard fails, and every name — including\n`red` — throws `Unknown color name`.\n\n**Everything else works everywhere.** `#rrggbb`, `#rgb`, `rgb(...)`, `hsl(...)`, Kelvin numbers and\nall the object forms are pure arithmetic and have no DOM dependency.\n\n### What to do in Node\n\nResolve the name first, then hand the hex to `parseColor`. `@bobfrankston/rmfc` already carries the\nfull CSS table (aliceblue through rebeccapurple) behind `colorToHex`, which returns its input\nunchanged when it does not know a name:\n\n```ts\nimport { parseColor } from '@bobfrankston/colorlib';\nimport { colorToHex } from '@bobfrankston/rmfc';\n\nfunction anyColor(text: string) {\n    try { return parseColor(text); }            // #hex, rgb(), hsl(), Kelvin, objects\n    catch {\n        const hex = colorToHex(text.trim());    // rmfc owns colour NAMES\n        if (!hex.startsWith('#')) throw new Error(`unknown colour \"${text}\"`);\n        return parseColor(hex);                 // colorlib owns colour MATHS\n    }\n}\n```\n\nThat is what `utils/setcolor` does. rmfc is deliberately **not** a dependency here: it is a\nNode-oriented library and is not in Houser's import map, so depending on it would drag it into the\nbrowser bundle. Keeping the split — rmfc for names, colorlib for maths — costs the caller four\nlines and keeps this library dependency-free on both platforms.\n\n*(Discovered 2026-09-02 when `setcolor -c red` failed from the command line while the same call\nworked in Houser. Written up by Claude Code at Bob's direction so the next caller does not have to\nrediscover it. If colorlib should ever resolve names itself, the options are a shared table both\nlibraries use, or — since msger can evaluate HTML and return a result — a webview round trip, which\nwould work but makes `parseColor` async and adds a host dependency.)*\n","readmeFilename":"README.md"}