{"_id":"colorjs.io","_rev":"3624243","name":"colorjs.io","description":"Let’s get serious about color","dist-tags":{"alpha":"0.6.0-alpha.1","latest":"0.5.2"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"time":{"modified":"2025-09-01T02:04:14.000Z","created":"2020-12-10T12:43:26.065Z","0.6.0-alpha.1":"2024-12-26T17:42:13.193Z","0.5.2":"2024-06-26T20:50:12.251Z","0.5.1":"2024-06-24T20:54:49.483Z","0.5.0":"2024-03-01T03:00:13.545Z","0.4.5":"2023-06-05T15:56:54.368Z","0.4.4-patch.1":"2023-05-31T15:00:54.087Z","0.4.4":"2023-05-29T20:59:22.816Z","0.4.3":"2023-01-27T20:58:34.819Z","0.4.2":"2022-11-17T19:13:52.472Z","0.4.1-patch.1":"2022-11-01T18:45:44.314Z","0.4.1":"2022-10-28T20:41:16.216Z","0.4.0":"2022-08-06T15:20:15.166Z","0.3.0":"2022-07-05T17:49:23.155Z","0.2.4":"2022-06-29T15:14:26.931Z","0.2.3":"2022-06-29T12:11:01.356Z","0.2.2":"2022-06-28T20:27:33.807Z","0.2.1":"2022-06-28T17:36:34.041Z","0.2.0":"2022-06-28T12:43:21.999Z","0.1.0":"2022-06-26T10:34:34.624Z","0.0.7":"2022-06-16T11:39:27.734Z","0.0.6":"2022-06-16T10:36:56.724Z","0.0.5":"2022-02-19T16:10:45.526Z","0.0.4":"2021-11-01T10:44:31.885Z","0.0.3":"2020-12-10T20:01:54.249Z","0.0.2":"2020-12-10T18:16:41.605Z","0.0.1":"2020-12-10T12:43:26.065Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"versions":{"0.6.0-alpha.1":{"name":"colorjs.io","version":"0.6.0-alpha.1","description":"Let’s get serious about color","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/color.js"},"require":{"types":"./types/index.d.ts","default":"./dist/color.cjs"}},"./fn":{"import":{"types":"./types/src/index-fn.d.ts","default":"./src/index-fn.js"},"require":{"types":"./types/src/index-fn.d.ts","default":"./dist/color-fn.cjs"}},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","directories":{"test":"tests"},"scripts":{"test":"npx htest ./test","dtslint":"dtslint --expectOnly types","eslint":"eslint . --ext .js --ext .ts --ext .cjs","lint":"run-s build:space-accessors \"eslint -- --fix\" build:ts dtslint","lint:ci":"run-s build:space-accessors \"eslint -- --max-warnings 0\" build:ts dtslint","build:html":"npx @11ty/eleventy --config=_build/eleventy.js","watch:html":"npx @11ty/eleventy --config=_build/eleventy.js --serve","build:js":"rollup -c _build/rollup.config.js","watch:js":"rollup -c _build/rollup.config.js --watch","build:ts":"node ./scripts/copy-declarations.js && tsc || exit 0","watch:ts":"tsc --watch","build:apidocs":"npx typedoc","watch:apidocs":"npx typedoc --watch","build:js:legacy":"rollup -c _build/rollup.legacy.config.js","build:space-accessors":"node ./scripts/generate-space-accessor-types.js","build":"run-s build:apidocs build:html build:js build:ts build:js:legacy build:space-accessors","watch":"run-p watch:*","prepack":"npm run build","release":"release-it"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"funding":{"type":"opencollective","url":"https://opencollective.com/color"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^3.0.0","@babel/core":"^7.24.0","@babel/preset-env":"^7.24.0","@definitelytyped/dtslint":"0.0.182","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@stylistic/eslint-plugin":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","acorn":"latest","brep":"^0.0.9","core-js":"^3.36.0","eslint":"latest","htest.dev":">=0.0.14","mathjs":"^12.4.0","npm-run-all":"^4.1.5","release-it":"^17.1.1","rollup":"^4.12.0","typedoc":"^0.25.12","typedoc-plugin-rename-defaults":"^0.7.0","typescript":"^5.3.3"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"_id":"colorjs.io@0.6.0-alpha.1","readmeFilename":"README.md","gitHead":"68a94496598642a43c19aae7dd80fde1770fb4bd","_nodeVersion":"22.11.0","_npmVersion":"10.9.1","dist":{"shasum":"c1c382d0f4f34ae8b1d82db73a233a69b7c36f98","size":3359246,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.6.0-alpha.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.6.0-alpha.1.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/colorjs.io_0.6.0-alpha.1_1735234932853_0.308652633819148"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-12-26T17:42:13.193Z","publish_time":1735234933193,"_source_registry_name":"default","_cnpm_publish_time":1735234933193},"0.5.2":{"name":"colorjs.io","version":"0.5.2","description":"Let’s get serious about color","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/color.js"},"require":{"types":"./types/index.d.cts","default":"./dist/color.cjs"}},"./fn":{"import":{"types":"./types/src/index-fn.d.ts","default":"./src/index-fn.js"},"require":{"types":"./types/src/index-fn.d.cts","default":"./dist/color-fn.cjs"}},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"test":"tests"},"scripts":{"test":"npx htest ./test","dtslint":"dtslint --expectOnly types","eslint":"eslint . --ext .js --ext .ts --ext .cjs","lint":"run-s build:space-accessors \"eslint -- --fix\" dtslint","lint:ci":"run-s build:space-accessors \"eslint -- --max-warnings 0\" dtslint","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build:space-accessors":"node ./scripts/generate-space-accessor-types.js","build":"run-s build:html build:css build:js build:js:legacy build:space-accessors","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"run-p watch:*","prepack":"npm run build","release":"release-it"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^2.0","@babel/core":"^7.24.0","@babel/preset-env":"^7.24.0","@definitelytyped/dtslint":"0.0.182","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@stylistic/eslint-plugin":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","acorn":"latest","core-js":"^3.36.0","eslint":"latest","htest.dev":"^0.0.9","mathjs":"^12.4.0","npm-run-all":"^4.1.5","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","release-it":"^17.1.1","rollup":"^4.12.0","typescript":"^5.3.3"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"gitHead":"c3dce07d4d3f3163182c24b2ceed99096b9c4d5a","_id":"colorjs.io@0.5.2","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"shasum":"63b20139b007591ebc3359932bef84628eb3fcef","size":2137108,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.5.2.tgz"},"_npmUser":{"name":"mysteryblokhed","email":"adamthompsonsharpe@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.5.2_1719435012079_0.4775300591019285"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-26T20:50:12.251Z","publish_time":1719435012251,"_source_registry_name":"default","maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_cnpm_publish_time":1719435012251},"0.5.1":{"name":"colorjs.io","version":"0.5.1","description":"Let’s get serious about color","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/color.js"},"require":{"types":"./types/index.d.cts","default":"./dist/color.cjs"}},"./fn":{"import":{"types":"./types/src/index-fn.d.ts","default":"./src/index-fn.js"},"require":{"types":"./types/src/index-fn.d.cts","default":"./dist/color-fn.cjs"}},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"test":"tests"},"scripts":{"test":"npx htest ./test","dtslint":"dtslint --expectOnly types","eslint":"eslint . --ext .js --ext .ts --ext .cjs","lint":"run-s build:space-accessors \"eslint -- --fix\" dtslint","lint:ci":"run-s build:space-accessors \"eslint -- --max-warnings 0\" dtslint","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build:space-accessors":"node ./scripts/generate-space-accessor-types.js","build":"run-s build:html build:css build:js build:js:legacy build:space-accessors","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"run-p watch:*","prepack":"npm run build","release":"release-it"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^2.0","@babel/core":"^7.24.0","@babel/preset-env":"^7.24.0","@definitelytyped/dtslint":"0.0.182","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@stylistic/eslint-plugin":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","acorn":"latest","core-js":"^3.36.0","eslint":"latest","htest.dev":"^0.0.9","mathjs":"^12.4.0","npm-run-all":"^4.1.5","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","release-it":"^17.1.1","rollup":"^4.12.0","typescript":"^5.3.3"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"_id":"colorjs.io@0.5.1","gitHead":"963018028e1d936f6066c40dd3f255741e26c8d0","_nodeVersion":"22.3.0","_npmVersion":"10.8.1","dist":{"shasum":"22bbaee65204da0e2cde610085cd7f5306bb7e90","size":2160421,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.5.1.tgz"},"_npmUser":{"name":"mysteryblokhed","email":"adamthompsonsharpe@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.5.1_1719262489258_0.3666157278827449"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-24T20:54:49.483Z","publish_time":1719262489483,"_source_registry_name":"default","maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_cnpm_publish_time":1719262489483},"0.5.0":{"name":"colorjs.io","version":"0.5.0","description":"Let’s get serious about color","exports":{".":{"import":{"types":"./types/index.d.ts","default":"./dist/color.js"},"require":{"types":"./types/index.d.cts","default":"./dist/color.cjs"}},"./fn":{"import":{"types":"./types/src/index-fn.d.ts","default":"./src/index-fn.js"},"require":{"types":"./types/src/index-fn.d.cts","default":"./dist/color-fn.cjs"}},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"test":"tests"},"scripts":{"test":"npx htest ./test","dtslint":"dtslint --expectOnly types","eslint":"eslint . --ext .js --ext .ts --ext .cjs","lint":"run-s build:space-accessors \"eslint -- --fix\" dtslint","lint:ci":"run-s build:space-accessors \"eslint -- --max-warnings 0\" dtslint","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build:space-accessors":"node ./scripts/generate-space-accessor-types.js","build":"run-s build:html build:css build:js build:js:legacy build:space-accessors","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"run-p watch:*","prepack":"npm run build","release":"release-it"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^2.0","@babel/core":"^7.24.0","@babel/preset-env":"^7.24.0","@definitelytyped/dtslint":"0.0.182","@rollup/plugin-babel":"^6.0.4","@rollup/plugin-commonjs":"^25.0.7","@rollup/plugin-node-resolve":"^15.2.3","@rollup/plugin-terser":"^0.4.4","@stylistic/eslint-plugin":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","acorn":"latest","core-js":"^3.36.0","eslint":"latest","htest.dev":"^0.0.9","mathjs":"^12.4.0","npm-run-all":"^4.1.5","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","release-it":"^17.1.1","rollup":"^4.12.0","typescript":"^5.3.3"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"_id":"colorjs.io@0.5.0","gitHead":"58524b8fbcadd29aaca494ec2f0b44c5fa9288f5","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"shasum":"b1034184b4812b54e28c5082029fbd8ca53aa532","size":2149131,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.5.0.tgz"},"_npmUser":{"name":"jgerigmeyer","email":"jonny@oddbird.net"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.5.0_1709262013354_0.24731875050065022"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-01T03:00:13.545Z","publish_time":1709262013545,"_source_registry_name":"default","_cnpm_publish_time":1709262013545},"0.4.5":{"name":"colorjs.io","version":"0.4.5","description":"Let’s get serious about color","exports":{".":{"types":"./types/index.d.ts","import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":{"types":"./types/src/index-fn.d.ts","import":"./src/index-fn.js"},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"test":"tests"},"scripts":{"test":"open tests/","dtslint":"dtslint types","lint":"eslint . --fix --ext .js --ext .ts --ext .js --ext .cjs","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build":"npm run build:html && npm run build:css && npm run build:js && npm run build:js:legacy","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js","prepack":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^2.0","@babel/core":"^7.21.4","@babel/preset-env":"^7.21.4","@definitelytyped/dtslint":"latest","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@typescript-eslint/parser":"^5.59.1","acorn":"latest","core-js":"^3.30.1","eslint":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^3.21","typescript":"^5.0.4"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"gitHead":"f22556161af0caf03bff447ff86b918d125ccbe4","_id":"colorjs.io@0.4.5","_nodeVersion":"18.3.0","_npmVersion":"9.6.7","dist":{"shasum":"7775f787ff90aca7a38f6edb7b7c0f8cce1e6418","size":488146,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.4.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.4.5.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.4.5_1685980614044_0.9517605499952784"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-05T15:56:54.368Z","publish_time":1685980614368,"_source_registry_name":"default","_cnpm_publish_time":1685980614368},"0.4.4-patch.1":{"name":"colorjs.io","version":"0.4.4-patch.1","description":"Let’s get serious about color","exports":{".":{"types":"./types/index.d.ts","import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":{"types":"./types/src/index-fn.d.ts","import":"./src/index-fn.js"},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"test":"tests"},"scripts":{"test":"open tests/","dtslint":"dtslint types","lint":"eslint . --fix --ext .js --ext .ts --ext .js --ext .cjs","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build":"npm run build:html && npm run build:css && npm run build:js && npm run build:js:legacy","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js","prepack":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^2.0","@babel/core":"^7.21.4","@babel/preset-env":"^7.21.4","@definitelytyped/dtslint":"latest","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@typescript-eslint/parser":"^5.59.1","acorn":"latest","core-js":"^3.30.1","eslint":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^3.21","typescript":"^5.0.4"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"gitHead":"c4fcbbec8bdb3ec7dee2338d25a16cb363407b45","_id":"colorjs.io@0.4.4-patch.1","_nodeVersion":"18.3.0","_npmVersion":"9.6.7","dist":{"shasum":"a62f031c10770d9725ccd6383258e80b2f67636a","size":488151,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.4.4-patch.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.4.4-patch.1.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.4.4-patch.1_1685545253760_0.03381260188410962"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-31T15:00:54.087Z","publish_time":1685545254087,"_source_registry_name":"default","_cnpm_publish_time":1685545254087},"0.4.4":{"name":"colorjs.io","version":"0.4.4","description":"Let’s get serious about color","exports":{".":{"types":"./types/index.d.ts","import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":{"types":"./types/src/index-fn.d.ts","import":"./src/index-fn.js"},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"doc":"docs","test":"tests"},"scripts":{"test":"open tests/","dtslint":"dtslint types","lint":"eslint . --fix --ext .js --ext .ts --ext .js --ext .cjs","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build":"npm run build:html && npm run build:css && npm run build:js && npm run build:js:legacy","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js","prepack":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^2.0","@babel/core":"^7.21.4","@babel/preset-env":"^7.21.4","@definitelytyped/dtslint":"latest","@rollup/plugin-babel":"^6.0.3","@rollup/plugin-commonjs":"^24.1.0","@rollup/plugin-node-resolve":"^15.0.2","@rollup/plugin-terser":"^0.4.1","@typescript-eslint/parser":"^5.59.1","acorn":"latest","core-js":"^3.30.1","eslint":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^3.21","typescript":"^5.0.4"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"dependencies":{"a-sync-waterfall":"^1.0.1","acorn-jsx":"^5.3.2","ajv":"^6.12.6","ansi-regex":"^5.0.1","ansi-styles":"^3.2.1","any-promise":"^0.1.0","anymatch":"^3.1.3","aproba":"^1.2.0","are-we-there-yet":"^1.1.7","argparse":"^2.0.1","array-differ":"^3.0.0","array-union":"^2.1.0","array-uniq":"^1.0.3","arrify":"^2.0.1","asap":"^2.0.6","asn1":"^0.2.6","assert-never":"^1.2.1","assert-plus":"^1.0.0","async":"^3.2.4","asynckit":"^0.4.0","aws-sign2":"^0.7.0","aws4":"^1.12.0","babel-code-frame":"^6.26.0","babel-plugin-polyfill-corejs2":"^0.4.3","babel-plugin-polyfill-corejs3":"^0.8.1","babel-plugin-polyfill-regenerator":"^0.5.0","babel-walk":"^3.0.0-canary-5","balanced-match":"^1.0.2","base64-js":"^1.5.1","bcp-47":"^1.0.8","bcp-47-match":"^1.0.3","bcp-47-normalize":"^1.1.1","bcrypt-pbkdf":"^1.0.2","binary-extensions":"^2.2.0","bl":"^4.1.0","brace-expansion":"^1.1.11","braces":"^3.0.2","browserslist":"^4.21.7","buffer":"^5.7.1","buffer-from":"^1.1.2","builtin-modules":"^3.3.0","builtins":"^1.0.3","call-bind":"^1.0.2","callsites":"^3.1.0","camelcase":"^5.3.1","caniuse-lite":"^1.0.30001489","caseless":"^0.12.0","chalk":"^2.4.2","character-parser":"^2.2.0","charm":"^1.0.2","chokidar":"^3.5.3","chownr":"^2.0.0","cliui":"^6.0.0","code-point-at":"^1.1.0","color-convert":"^1.9.3","color-name":"^1.1.3","combined-stream":"^1.0.8","command-exists":"^1.2.9","commander":"^10.0.1","commondir":"^1.0.1","concat-map":"^0.0.1","concat-stream":"^2.0.0","console-control-strings":"^1.1.0","constantinople":"^4.0.1","convert-source-map":"^1.9.0","core-js-compat":"^3.30.2","core-util-is":"^1.0.2","cross-spawn":"^7.0.3","cssesc":"^3.0.0","dashdash":"^1.14.1","debug":"^4.3.4","decamelize":"^1.2.0","deep-is":"^0.1.4","deepmerge":"^4.3.1","delayed-stream":"^1.0.0","delegates":"^1.0.0","dependency-graph":"^0.11.0","dev-ip":"^1.0.1","diff":"^3.5.0","dir-glob":"^3.0.1","doctrine":"^3.0.0","doctypes":"^1.1.0","dom-serializer":"^1.4.1","domelementtype":"^2.3.0","domhandler":"^4.3.1","domutils":"^2.8.0","ecc-jsbn":"^0.1.2","ee-first":"^1.1.1","ejs":"^3.1.9","electron-to-chromium":"^1.4.412","emoji-regex":"^8.0.0","encodeurl":"^1.0.2","end-of-stream":"^1.4.4","entities":"^3.0.1","errno":"^0.1.8","escalade":"^3.1.1","escape-html":"^1.0.3","escape-string-regexp":"^4.0.0","eslint-scope":"^5.1.1","eslint-visitor-keys":"^3.4.1","espree":"^9.5.2","esprima":"^4.0.1","esquery":"^1.5.0","esrecurse":"^4.3.0","estraverse":"^4.3.0","estree-walker":"^2.0.2","esutils":"^2.0.3","extend":"^3.0.2","extend-shallow":"^2.0.1","extsprintf":"^1.3.0","fast-deep-equal":"^3.1.3","fast-glob":"^3.2.12","fast-json-stable-stringify":"^2.1.0","fast-levenshtein":"^2.0.6","fastq":"^1.15.0","file-entry-cache":"^6.0.1","filelist":"^1.0.4","fill-range":"^7.0.1","finalhandler":"^1.2.0","find-up":"^5.0.0","flat-cache":"^3.0.4","flatted":"^3.2.7","forever-agent":"^0.6.1","form-data":"^2.3.3","fs-constants":"^1.0.0","fs-extra":"^6.0.1","fs-minipass":"^2.1.0","fs.realpath":"^1.0.0","fstream":"^1.0.12","function-bind":"^1.1.1","gauge":"^2.7.4","gensync":"^1.0.0-beta.2","get-caller-file":"^2.0.5","get-intrinsic":"^1.2.1","get-stdin":"^9.0.0","getpass":"^0.1.7","glob":"^8.1.0","glob-parent":"^5.1.2","globals":"^11.12.0","globby":"^11.1.0","graceful-fs":"^4.2.11","grapheme-splitter":"^1.0.4","graphemer":"^1.4.0","gray-matter":"^4.0.3","hamljs":"^0.6.2","handlebars":"^4.7.7","har-schema":"^2.0.0","har-validator":"^5.1.5","has":"^1.0.3","has-ansi":"^2.0.0","has-flag":"^3.0.0","has-proto":"^1.0.1","has-symbols":"^1.0.3","has-tostringtag":"^1.0.0","has-unicode":"^2.0.1","hosted-git-info":"^4.1.0","htmlparser2":"^7.2.0","http-equiv-refresh":"^1.0.0","http-signature":"^1.2.0","ieee754":"^1.2.1","ignore":"^5.2.4","import-fresh":"^3.3.0","imurmurhash":"^0.1.4","inflight":"^1.0.6","inherits":"^2.0.4","is-alphabetical":"^1.0.4","is-alphanumerical":"^1.0.4","is-binary-path":"^2.1.0","is-builtin-module":"^3.2.1","is-core-module":"^2.12.1","is-decimal":"^1.0.4","is-expression":"^4.0.0","is-extendable":"^0.1.1","is-extglob":"^2.1.1","is-fullwidth-code-point":"^1.0.0","is-glob":"^4.0.3","is-json":"^2.0.1","is-module":"^1.0.0","is-number":"^7.0.0","is-path-inside":"^3.0.3","is-promise":"^2.2.2","is-reference":"^1.2.1","is-regex":"^1.1.4","is-typedarray":"^1.0.0","isarray":"^1.0.0","isexe":"^2.0.0","iso-639-1":"^2.1.15","isstream":"^0.1.2","jake":"^10.8.7","js-stringify":"^1.0.2","js-tokens":"^4.0.0","js-yaml":"^4.1.0","jsbn":"^0.1.1","jsesc":"^2.5.2","json-schema":"^0.4.0","json-schema-traverse":"^0.4.1","json-stable-stringify":"^1.0.2","json-stable-stringify-without-jsonify":"^1.0.1","json-stringify-safe":"^5.0.1","json5":"^2.2.3","jsonfile":"^4.0.0","jsonify":"^0.0.1","jsprim":"^1.4.2","jstransformer":"^1.0.0","junk":"^1.0.3","kind-of":"^6.0.3","kleur":"^4.1.5","levn":"^0.4.1","lilconfig":"^2.1.0","linkify-it":"^4.0.1","liquidjs":"^10.7.1","list-to-array":"^1.1.0","locate-path":"^6.0.0","lodash.debounce":"^4.0.8","lodash.deburr":"^4.1.0","lodash.merge":"^4.6.2","lru-cache":"^5.1.1","luxon":"^3.3.0","magic-string":"^0.27.0","markdown-it":"^13.0.1","maximatch":"^0.1.0","mdurl":"^1.0.1","merge2":"^1.4.1","micromatch":"^4.0.5","mime":"^3.0.0","mime-db":"^1.52.0","mime-types":"^2.1.35","minimatch":"^3.1.2","minimist":"^1.2.8","minipass":"^3.3.6","minizlib":"^2.1.2","mkdirp":"^0.5.6","moo":"^0.5.2","morphdom":"^2.7.0","ms":"^2.1.2","multimatch":"^5.0.0","mustache":"^4.2.0","nanoid":"^3.3.6","natural-compare":"^1.4.0","natural-compare-lite":"^1.4.0","neo-async":"^2.6.2","node-releases":"^2.0.12","normalize-package-data":"^3.0.3","normalize-path":"^3.0.0","npm-package-arg":"^8.1.5","npmlog":"^4.1.2","number-is-nan":"^1.0.1","nunjucks":"^3.2.4","oauth-sign":"^0.9.0","object-assign":"^4.1.1","on-finished":"^2.4.1","once":"^1.4.0","optionator":"^0.9.1","p-limit":"^3.1.0","p-locate":"^5.0.0","p-try":"^2.2.0","parent-module":"^1.0.1","parse-srcset":"^1.0.2","parseurl":"^1.3.3","parsimmon":"^1.18.1","path-exists":"^4.0.0","path-is-absolute":"^1.0.1","path-key":"^3.1.1","path-parse":"^1.0.7","path-to-regexp":"^6.2.1","path-type":"^4.0.0","performance-now":"^2.1.0","picocolors":"^1.0.0","picomatch":"^2.3.1","pify":"^2.3.0","please-upgrade-node":"^3.2.0","postcss-load-config":"^4.0.1","postcss-reporter":"^7.0.5","postcss-selector-parser":"^6.0.13","posthtml":"^0.16.6","posthtml-parser":"^0.11.0","posthtml-render":"^3.0.0","posthtml-urls":"^1.0.0","prelude-ls":"^1.2.1","pretty-hrtime":"^1.0.3","process-nextick-args":"^2.0.1","promise":"^7.3.1","promise-each":"^2.2.0","prr":"^1.0.1","psl":"^1.9.0","pug":"^3.0.2","pug-attrs":"^3.0.0","pug-code-gen":"^3.0.2","pug-error":"^2.0.0","pug-filters":"^4.0.0","pug-lexer":"^5.0.1","pug-linker":"^4.0.0","pug-load":"^3.0.0","pug-parser":"^6.0.0","pug-runtime":"^3.0.1","pug-strip-comments":"^2.0.0","pug-walk":"^2.0.0","punycode":"^2.3.0","qs":"^6.5.3","queue-microtask":"^1.2.3","randombytes":"^2.1.0","read-cache":"^1.0.0","readable-stream":"^3.6.2","readdirp":"^3.6.0","recursive-copy":"^2.0.14","regenerate":"^1.4.2","regenerate-unicode-properties":"^10.1.0","regenerator-runtime":"^0.13.11","regenerator-transform":"^0.15.1","regexpu-core":"^5.3.2","regjsparser":"^0.9.1","request":"^2.88.2","require-directory":"^2.1.1","require-main-filename":"^2.0.0","resolve":"^1.22.2","resolve-from":"^4.0.0","retry":"^0.12.0","reusify":"^1.0.4","rimraf":"^3.0.2","run-parallel":"^1.2.0","safe-buffer":"^5.2.1","safer-buffer":"^2.1.2","section-matter":"^1.0.0","semver":"^7.5.1","semver-compare":"^1.0.0","serialize-javascript":"^6.0.1","set-blocking":"^2.0.0","shebang-command":"^2.0.0","shebang-regex":"^3.0.0","signal-exit":"^3.0.7","slash":"^3.0.0","slide":"^1.1.6","slugify":"^1.6.6","smob":"^1.4.0","source-map":"^0.6.1","source-map-js":"^1.0.2","source-map-support":"^0.5.21","spdx-correct":"^3.2.0","spdx-exceptions":"^2.3.0","spdx-expression-parse":"^3.0.1","spdx-license-ids":"^3.0.13","sprintf-js":"^1.0.3","sshpk":"^1.17.0","ssri":"^8.0.1","statuses":"^2.0.1","string-width":"^1.0.2","string_decoder":"^1.3.0","strip-ansi":"^6.0.1","strip-bom-string":"^1.0.0","strip-json-comments":"^2.0.1","supports-color":"^5.5.0","supports-preserve-symlinks-flag":"^1.0.0","tar":"^6.1.15","tar-stream":"^2.2.0","terser":"^5.17.6","text-table":"^0.2.0","thenby":"^1.3.4","tmp":"^0.2.1","to-fast-properties":"^2.0.0","to-regex-range":"^5.0.1","token-stream":"^1.0.0","tough-cookie":"^2.5.0","tslib":"^1.14.1","tslint":"^5.14.0","tsutils":"^3.21.0","tunnel-agent":"^0.6.0","tweetnacl":"^0.14.5","type-check":"^0.4.0","type-fest":"^0.20.2","typedarray":"^0.0.6","uc.micro":"^1.0.6","uglify-js":"^3.17.4","unicode-canonical-property-names-ecmascript":"^2.0.0","unicode-match-property-ecmascript":"^2.0.0","unicode-match-property-value-ecmascript":"^2.1.0","unicode-property-aliases-ecmascript":"^2.1.0","universalify":"^0.1.2","unpipe":"^1.0.0","update-browserslist-db":"^1.0.11","uri-js":"^4.4.1","util-deprecate":"^1.0.2","uuid":"^3.4.0","validate-npm-package-license":"^3.0.4","validate-npm-package-name":"^3.0.0","verror":"^1.10.0","void-elements":"^3.1.0","which":"^2.0.2","which-module":"^2.0.1","wide-align":"^1.1.5","with":"^7.0.2","word-wrap":"^1.2.3","wordwrap":"^1.0.0","wrap-ansi":"^6.2.0","wrappy":"^1.0.2","ws":"^8.13.0","y18n":"^4.0.3","yallist":"^3.1.1","yaml":"^2.3.1","yargs":"^15.4.1","yargs-parser":"^18.1.3","yocto-queue":"^0.1.0"},"author":"","gitHead":"c4fcbbec8bdb3ec7dee2338d25a16cb363407b45","_id":"colorjs.io@0.4.4","_nodeVersion":"20.2.0","_npmVersion":"9.6.6","dist":{"shasum":"284f541f76af1773da6aad3ff4bfb66019d18790","size":491352,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.4.4.tgz"},"_npmUser":{"name":"svgeesus","email":"chris@w3.org"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.4.4_1685393962549_0.13803139894650207"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-29T20:59:22.816Z","publish_time":1685393962816,"_source_registry_name":"default","_cnpm_publish_time":1685393962816},"0.4.3":{"name":"colorjs.io","version":"0.4.3","description":"Let’s get serious about color","exports":{".":{"types":"./types/index.d.ts","import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":{"types":"./types/src/index-fn.d.ts","import":"./src/index-fn.js"},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"test":"tests"},"scripts":{"test":"open tests/","dtslint":"dtslint types","lint":"eslint . --fix --ext .js --ext .ts --ext .js --ext .cjs","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build":"npm run build:html && npm run build:css && npm run build:js && npm run build:js:legacy","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js","prepack":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@definitelytyped/dtslint":"latest","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-node-resolve":"^14.1.0","@typescript-eslint/parser":"^5.40.0","acorn":"latest","core-js":"^3.25.3","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7","typescript":"^4.8.4"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"gitHead":"4a13fd3e970b59ca6d7776a586eaeac5a1b10faa","_id":"colorjs.io@0.4.3","_nodeVersion":"18.3.0","_npmVersion":"9.4.0","dist":{"shasum":"0f12aca97508d7db8f53ed304d28f079b3b3fff5","size":482051,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.4.3.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.4.3_1674853114596_0.4966140077758707"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-27T20:58:34.819Z","publish_time":1674853114819,"_cnpm_publish_time":1674853114819},"0.4.2":{"name":"colorjs.io","version":"0.4.2","description":"Let’s get serious about color","exports":{".":{"types":"./types/index.d.ts","import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":{"types":"./types/src/index-fn.d.ts","import":"./src/index-fn.js"},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"test":"tests"},"scripts":{"test":"open tests/","dtslint":"dtslint types","lint":"eslint . --fix --ext .js --ext .ts --ext .js --ext .cjs","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build":"npm run build:html && npm run build:css && npm run build:js && npm run build:js:legacy","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js","prepack":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@definitelytyped/dtslint":"latest","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-node-resolve":"^14.1.0","@typescript-eslint/parser":"^5.40.0","acorn":"latest","core-js":"^3.25.3","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7","typescript":"^4.8.4"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"gitHead":"b921dbf3a889f05105be707af333ec85f73c441d","_id":"colorjs.io@0.4.2","_nodeVersion":"18.3.0","_npmVersion":"8.19.2","dist":{"shasum":"5338fc185a8be3b46674420cd2be88389a18145b","size":490186,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.4.2.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.4.2_1668712432221_0.6276195566144664"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-17T19:14:24.504Z","publish_time":1668712432472,"_cnpm_publish_time":1668712432472},"0.4.1-patch.1":{"name":"colorjs.io","version":"0.4.1-patch.1","description":"Let’s get serious about color","exports":{".":{"types":"./types/index.d.ts","import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":{"types":"./types/src/index-fn.d.ts","import":"./src/index-fn.js"},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"test":"tests"},"scripts":{"test":"open tests/","dtslint":"dtslint types","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build":"npm run build:html && npm run build:css && npm run build:js && npm run build:js:legacy","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js","prepack":"npm run build"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@definitelytyped/dtslint":"latest","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-node-resolve":"^14.1.0","@typescript-eslint/parser":"^5.40.0","acorn":"latest","core-js":"^3.25.3","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7","typescript":"^4.8.4"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"gitHead":"a9e316eee7198e5a8932c1a1afdad428a70df1dd","_id":"colorjs.io@0.4.1-patch.1","_nodeVersion":"18.3.0","_npmVersion":"8.19.2","dist":{"shasum":"3c9388703184196053337b59f8f4338f2b043095","size":490074,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.4.1-patch.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.4.1-patch.1.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.4.1-patch.1_1667328344089_0.7433313773067916"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-11-01T18:47:55.971Z","publish_time":1667328344314,"_cnpm_publish_time":1667328344314},"0.4.1":{"name":"colorjs.io","version":"0.4.1","description":"Let’s get serious about color","exports":{".":{"types":"./types/index.d.ts","import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":{"types":"./types/src/index-fn.d.ts","import":"./src/index-fn.js"},"./dist/*":"./dist/*"},"typesVersions":{"*":{"fn":["./types/src/index-fn.d.ts"]}},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","types":"./types","directories":{"test":"tests"},"scripts":{"test":"open tests/","dtslint":"dtslint types","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build:js:legacy":"rollup -c rollup.legacy.config.js","build":"npm run build:html && npm run build:css && npm run build:js && npm run build:js:legacy","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","@babel/core":"^7.19.3","@babel/preset-env":"^7.19.3","@definitelytyped/dtslint":"latest","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-commonjs":"^22.0.2","@rollup/plugin-node-resolve":"^14.1.0","@typescript-eslint/parser":"^5.40.0","acorn":"latest","core-js":"^3.25.3","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7","typescript":"^4.8.4"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"gitHead":"b2f6a486df749c5986a93c69ec3512e7cbe124d3","_id":"colorjs.io@0.4.1","_nodeVersion":"18.3.0","_npmVersion":"8.19.1","dist":{"shasum":"5618a28fa3b50054d78641ef264317c741c41d83","size":212888,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.4.1.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.4.1_1666989675871_0.136380942577071"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-28T20:41:21.809Z","publish_time":1666989676216,"_cnpm_publish_time":1666989676216},"0.4.0":{"name":"colorjs.io","version":"0.4.0","description":"Let’s get serious about color","exports":{".":{"import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":"./src/index-fn.js"},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"latest","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"gitHead":"585906e3a44ba5076f0f59eecc78a5228d1bc13c","_id":"colorjs.io@0.4.0","_nodeVersion":"18.3.0","_npmVersion":"8.15.0","dist":{"shasum":"2a9c6d9a727f990c127f1922d62439d286f92a6d","size":204734,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.4.0.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.4.0_1659799214870_0.24057302811318682"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-06T15:20:18.685Z","publish_time":1659799215166,"_cnpm_publish_time":1659799215166},"0.3.0":{"name":"colorjs.io","version":"0.3.0","description":"Let’s get serious about color","exports":{".":{"import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":"./src/index-fn.js"},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"latest","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7"},"sideEffects":["./src/index.js","./src/spaces/index.js"],"gitHead":"cd805a24ea6f87a6ffdfc416f99883c3f8823d28","_id":"colorjs.io@0.3.0","_nodeVersion":"18.3.0","_npmVersion":"8.13.2","dist":{"shasum":"58c7dcd47b898fac9a0dd7b01ba23c021427ec7a","size":195857,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.3.0.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.3.0_1657043362919_0.5560097216363358"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-05T18:09:19.534Z","publish_time":1657043363155,"_cnpm_publish_time":1657043363155},"0.2.4":{"name":"colorjs.io","version":"0.2.4","description":"Let’s get serious about color","exports":{".":{"import":"./dist/color.js","require":"./dist/color.cjs"},"./fn":"./src/index-fn.js"},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"latest","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7"},"gitHead":"16c1121ec30f2729ba3d20e674f76bef4a14dbee","_id":"colorjs.io@0.2.4","_nodeVersion":"18.3.0","_npmVersion":"8.13.1","dist":{"shasum":"f200aa6aa32e63841836f34b4bcb705610f784a8","size":193341,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.2.4.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.2.4_1656515666748_0.8536546531535532"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-29T15:16:28.145Z","publish_time":1656515666931,"_cnpm_publish_time":1656515666931},"0.2.3":{"name":"colorjs.io","version":"0.2.3","description":"Let’s get serious about color","exports":{"import":"./dist/color.js","require":"./dist/color.cjs","./fn":"./src/index-fn.js"},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"latest","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7"},"gitHead":"23265faa35280a31535cb2eeaf5733079f7bcf84","_id":"colorjs.io@0.2.3","_nodeVersion":"18.3.0","_npmVersion":"8.13.1","dist":{"shasum":"d649b2eb26a3906356497f3c32725b3712f40337","size":193087,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.2.3.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.2.3_1656504661040_0.1942230102370024"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-29T13:28:03.447Z","publish_time":1656504661356,"_cnpm_publish_time":1656504661356},"0.2.2":{"name":"colorjs.io","version":"0.2.2","description":"Let’s get serious about color","exports":{"import":"./dist/color.js","require":"./dist/color.cjs","./fn":"./src/index-fn.js"},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"latest","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7"},"gitHead":"e52251eb9d90e1c8fad1e66f19f7e140febd166b","_id":"colorjs.io@0.2.2","_nodeVersion":"18.3.0","_npmVersion":"8.13.1","dist":{"shasum":"d763991ab8130f945e54570d549c992f02a19227","size":163329,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.2.2.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.2.2_1656448053535_0.8071319693179773"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-28T20:27:46.539Z","publish_time":1656448053807,"_cnpm_publish_time":1656448053807},"0.2.1":{"name":"colorjs.io","version":"0.2.1","description":"Let’s get serious about color","exports":{"import":"./dist/color.js","require":"./dist/color.cjs","./fn":"./src/index-fn.js"},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"contributors":[{"name":"Lea Verou"},{"name":"Chris Lilley"}],"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"latest","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7"},"gitHead":"ff566559f6ce6cfccc33384ce6692e70fa3a7069","_id":"colorjs.io@0.2.1","_nodeVersion":"18.3.0","_npmVersion":"8.13.1","dist":{"shasum":"b2ce65b7c246fe7c1fa6859ed3b13b76b7540a65","size":163172,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.2.1.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.2.1_1656437793800_0.8558242747214422"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-28T17:49:29.783Z","publish_time":1656437794041,"_cnpm_publish_time":1656437794041},"0.2.0":{"name":"colorjs.io","version":"0.2.0","description":"Let’s get serious about color","exports":{"import":"./dist/color.js","require":"./dist/color.cjs","./fn":"./src/index-fn.js"},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"author":{"name":"Lea Verou, Chris Lilley"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"latest","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7"},"gitHead":"2dfdd97ea94792ac1dc4082cf1989f6b788edfb9","_id":"colorjs.io@0.2.0","_nodeVersion":"18.3.0","_npmVersion":"8.13.1","dist":{"shasum":"58b394d130b959d9e3da4fa979fd8e24d4887a77","size":163281,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.2.0.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.2.0_1656420201792_0.4573001093627489"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-28T14:05:26.310Z","publish_time":1656420201999,"_cnpm_publish_time":1656420201999},"0.1.0":{"name":"colorjs.io","version":"0.1.0","description":"Let’s get serious about color","exports":{"import":"./dist/color.js","require":"./dist/color.cjs"},"type":"module","main":"./dist/color.cjs","module":"./dist/color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs","build:html":"npx @11ty/eleventy --config=.eleventy.cjs","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --config postcss.config.cjs --watch","watch:html":"npx @11ty/eleventy --config=.eleventy.cjs --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"author":{"name":"Lea Verou, Chris Lilley"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"latest","eslint":"latest","markdown-it":"latest","postcss":"latest","postcss-cli":"latest","postcss-nesting":"latest","rollup":"^2.10","rollup-plugin-terser":"^7"},"gitHead":"e0f54a3b1353f133e88ce5efebec863cd3ee363a","_id":"colorjs.io@0.1.0","_nodeVersion":"18.3.0","_npmVersion":"8.13.1","dist":{"shasum":"f0614b4640338c28d9c6644aab065d490cd67f80","size":155429,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.1.0.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.1.0_1656239674433_0.24166794511353662"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-26T10:38:30.993Z","publish_time":1656239674624,"_cnpm_publish_time":1656239674624},"0.0.7":{"name":"colorjs.io","version":"0.0.7","description":"Color space agnostic color manipulation library","exports":{"import":"./dist/color.esm.js","require":"./dist/color.cjs.js"},"main":"./dist/color.cjs.js","module":"./dist/color.esm.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css","build:html":"npx @11ty/eleventy","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --watch","watch:html":"npx @11ty/eleventy --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"author":{"name":"Lea Verou, Chris Lilley"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"^7","eslint":"^7","markdown-it":"^13","postcss":"^8","postcss-cli":"^9","postcss-nesting":"^7","rollup":"^2.10","rollup-plugin-terser":"^5.3"},"gitHead":"5bf68c3c0c3e5972fd50a502b0a6ac5f7b25e7e4","_id":"colorjs.io@0.0.7","_nodeVersion":"18.3.0","_npmVersion":"8.12.2","dist":{"shasum":"0e3ddec424af060c4625667e817693fc7212fc09","size":146751,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.0.7.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.0.7_1655379567598_0.9880801020765921"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-16T12:48:59.411Z","publish_time":1655379567734,"_cnpm_publish_time":1655379567734},"0.0.6":{"name":"colorjs.io","version":"0.0.6","description":"Color space agnostic color manipulation library","exports":{"import":"./dist/color.esm.js","require":"./dist/color.cjs.js"},"main":"./dist/color.cjs.js","module":"./dist/color.esm.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css","build:html":"npx @11ty/eleventy","build:js":"rollup -c","build":"npm run build:html && npm run build:css && npm run build:js","watch:css":"npx postcss \"**/*.postcss\" --base . --dir . --ext .css --watch","watch:html":"npx @11ty/eleventy --watch","watch:js":"rollup -c --watch","watch":"npm run watch:css & npm run watch:html & npm run watch:js"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"author":{"name":"Lea Verou, Chris Lilley"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"@11ty/eleventy":"^1.0","acorn":"^7","eslint":"^7","markdown-it":"^13","postcss":"^8","postcss-cli":"^9","postcss-nesting":"^7","rollup":"^2.10","rollup-plugin-terser":"^5.3"},"gitHead":"a50d939bd9ef6f38873e127c8e18caa4c03220c9","_id":"colorjs.io@0.0.6","_nodeVersion":"18.3.0","_npmVersion":"8.12.2","dist":{"shasum":"78c5f80055ac2c1ded8f164b10616a0c0ba0cf7c","size":146818,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.0.6.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.0.6_1655375816548_0.38326117552938355"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-06-16T12:48:58.107Z","publish_time":1655375816724,"_cnpm_publish_time":1655375816724},"0.0.5":{"name":"colorjs.io","version":"0.0.5","description":"Color space agnostic color manipulation library","exports":{"import":"./dist/color.esm.js","require":"./dist/color.cjs.js"},"main":"./dist/color.cjs.js","module":"./dist/color.esm.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build":"gulp"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"author":{"name":"Lea Verou, Chris Lilley"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"babel-eslint":"^10.1.0","eslint":"^7.2.0","gulp":"^4.0.2","gulp-file-include":"^2.2.2","gulp-postcss":"^8.0.0","gulp-rename":"^2.0.0","postcss-nesting":"^7.0.1","rollup":"^2.10.5","rollup-plugin-terser":"^5.3.0","showdown":"^1.9.1"},"dependencies":{"acorn":"^7.3.1"},"gitHead":"7fb92ef42ae616022e415edf2585695c53b641c4","_id":"colorjs.io@0.0.5","_nodeVersion":"16.11.1","_npmVersion":"8.5.0","dist":{"shasum":"84ac10c8b870045d175cdd61891575e19c45ba0e","size":122837,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.0.5.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.0.5_1645287045161_0.48974828102822165"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-19T16:10:49.405Z","publish_time":1645287045526,"_cnpm_publish_time":1645287045526},"0.0.4":{"name":"colorjs.io","version":"0.0.4","description":"Color space agnostic color manipulation library","exports":{"import":"./dist/color.esm.js","require":"./dist/color.cjs.js","default":"./dist/color.js"},"main":"./dist/color.cjs.js","module":"./dist/color.esm.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build":"gulp"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"author":{"name":"Lea Verou, Chris Lilley"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"babel-eslint":"^10.1.0","eslint":"^7.2.0","gulp":"^4.0.2","gulp-file-include":"^2.2.2","gulp-postcss":"^8.0.0","gulp-rename":"^2.0.0","postcss-nesting":"^7.0.1","rollup":"^2.10.5","rollup-plugin-terser":"^5.3.0","showdown":"^1.9.1"},"dependencies":{"acorn":"^7.3.1"},"gitHead":"6fd685ac3821fae3ffc6829680334ccc838a4e40","_id":"colorjs.io@0.0.4","_nodeVersion":"16.11.1","_npmVersion":"8.1.1","dist":{"shasum":"8c960482750305451c74729e94803dd3e6d758ba","size":466456,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.0.4.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.0.4_1635763471598_0.1631297448173168"},"_hasShrinkwrap":false,"publish_time":1635763471885,"_cnpm_publish_time":1635763471885,"_cnpmcore_publish_time":"2021-12-18T00:40:22.857Z"},"0.0.3":{"name":"colorjs.io","version":"0.0.3","description":"Color space agnostic color manipulation library","main":"color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/","build":"gulp"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"author":{"name":"Lea Verou, Chris Lilley"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"babel-eslint":"^10.1.0","eslint":"^7.2.0","gulp":"^4.0.2","gulp-file-include":"^2.2.2","gulp-postcss":"^8.0.0","gulp-rename":"^2.0.0","postcss-nesting":"^7.0.1","rollup":"^2.10.5","rollup-plugin-terser":"^5.3.0","showdown":"^1.9.1"},"dependencies":{"acorn":"^7.3.1"},"gitHead":"81b6fee0b154574d5919375c623f74adebbc2145","_id":"colorjs.io@0.0.3","_nodeVersion":"14.3.0","_npmVersion":"6.14.9","dist":{"shasum":"d46f17ef6529ca4ab1bad41809ce9df03497121c","size":464978,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.0.3.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.0.3_1607630513894_0.19961849735444326"},"_hasShrinkwrap":false,"publish_time":1607630514249,"_cnpm_publish_time":1607630514249,"_cnpmcore_publish_time":"2021-12-18T00:40:23.083Z"},"0.0.2":{"name":"colorjs.io","version":"0.0.2","description":"Color space agnostic color manipulation library","main":"color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"author":{"name":"Lea Verou, Chris Lilley"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"babel-eslint":"^10.1.0","eslint":"^7.2.0","gulp":"^4.0.2","gulp-file-include":"^2.2.2","gulp-postcss":"^8.0.0","gulp-rename":"^2.0.0","postcss-nesting":"^7.0.1","rollup":"^2.10.5","rollup-plugin-terser":"^5.3.0","showdown":"^1.9.1"},"dependencies":{"acorn":"^7.3.1"},"gitHead":"c987b76470a0672206807b98318de5a81195bf9c","_id":"colorjs.io@0.0.2","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"shasum":"f3ca29785b658c09048f6b14f34be230ea48fc13","size":105421,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.0.2.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.0.2_1607624201443_0.275721966976894"},"_hasShrinkwrap":false,"publish_time":1607624201605,"_cnpm_publish_time":1607624201605,"_cnpmcore_publish_time":"2021-12-18T00:40:23.259Z"},"0.0.1":{"name":"colorjs.io","version":"0.0.1","description":"Color space agnostic color manipulation library","main":"color.js","directories":{"test":"tests"},"scripts":{"test":"open tests/"},"repository":{"type":"git","url":"git+https://github.com/LeaVerou/color.js.git"},"keywords":["color"],"author":{"name":"Lea Verou, Chris Lilley"},"license":"MIT","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"homepage":"https://colorjs.io","devDependencies":{"babel-eslint":"^10.1.0","eslint":"^7.2.0","gulp":"^4.0.2","gulp-file-include":"^2.2.2","gulp-postcss":"^8.0.0","gulp-rename":"^2.0.0","postcss-nesting":"^7.0.1","rollup":"^2.10.5","rollup-plugin-terser":"^5.3.0","showdown":"^1.9.1"},"dependencies":{"acorn":"^7.3.1"},"gitHead":"487aaf11cf691b286ec729a8d251d5b5afb97d8a","_id":"colorjs.io@0.0.1","_nodeVersion":"14.3.0","_npmVersion":"6.14.5","dist":{"shasum":"8676a6a0d5e75f018705af1acb815f9454ee9807","size":102520,"noattachment":false,"key":"/colorjs.io/-/colorjs.io-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colorjs.io/download/colorjs.io-0.0.1.tgz"},"_npmUser":{"name":"leaverou","email":"lea@verou.me"},"maintainers":[{"name":"jgerigmeyer","email":""},{"name":"leaverou","email":"lea@verou.me"},{"name":"mysteryblokhed","email":""},{"name":"svgeesus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/colorjs.io_0.0.1_1607604205923_0.19599557272971535"},"_hasShrinkwrap":false,"publish_time":1607604206065,"_cnpm_publish_time":1607604206065,"_cnpmcore_publish_time":"2021-12-18T00:40:23.423Z"}},"readme":"<header class=\"readme-only\">\n\n# Color.js: Let’s get serious about color\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/a6208d72-3d48-43ab-9132-b9f31f828609/deploy-status)](https://app.netlify.com/sites/colorjs/deploys)\n[![npm](https://img.shields.io/npm/dw/colorjs.io)](https://npmjs.com/package/colorjs.io)\n\n[Official website](https://colorjs.io) • [Contribution guide](CONTRIBUTING.md)\n\nColor.js is a color conversion and modification library originally created by two of the editors of the CSS Color specifications: Lea Verou and Chris Lilley.\nThey continue to work on it, but are also joined by an exceptional small grassroots team of co-maintainers.\n\n## Features\n\n- **Color space agnostic**: Each color object is basically a list of coords and a color space reference. Operations are color space agnostic.\nModules for <a href=\"https://colorjs.io/docs/spaces.html\">a wide variety of color spaces</a>,\nincluding Lab/LCh, OKLab/OKLCh,\nsRGB and friends (HSL/HSV/HWB), Display P3,\nJ<sub>z</sub>a<sub>z</sub>b<sub>z</sub>, REC.2100 and many <a href=\"https://colorjs.io/docs/spaces.html\">more</a>.\n- **Doesn't gloss over color science**: Actual <a href=\"docs/gamut-mapping.html\">gamut mapping</a> instead of naïve clipping,\nmultiple <a href=\"https://colorjs.io/docs/color-difference.html\">DeltaE</a> methods (76, CMC, 2000, J<sub>z</sub>),\nmultiple <a href=\"https://colorjs.io/docs/adaptation.html\">chromatic adaptation</a> methods (von Kries, Bradford, CAT02, CAT16),\nall with sensible defaults\n- **Up to date with CSS Color 4**: Every <a href=\"https://drafts.csswg.org/css-color-4/\">CSS Color 4</a> format & color space supported for both <a href=\"docs/the-color-object.html\">input</a> and <a href=\"https://colorjs.io/docs/output.html\">output</a>, whether your browser supports it or not.\n- **Readable, object-oriented API**: Color objects for multiple operations on the same color, and static `Color.something()` functions for one-off calculations\n- **Modular & Extensible**: Use only what you need, or a bundle. Client-side or Node. Deep extensibility with <a href=\"https://colorjs.io/api/#Hooks-hooks.js\">hooks</a>.\n- **Fast & efficient**: <a href=\"https://colorjs.io/docs/procedural.html\">Procedural, tree-shakeable API</a> available for performance sensitive tasks and reduced bundle size\n\n</header>\n\n<section>\n\t\n## Impact\n\n- Has been used to create demos for several W3C specifications\n- Has been used by browsers to test their CSS Color 4/5 implementations\n- Over [2 million total npm downloads](https://limonte.dev/total-npm-downloads/?package=colorjs.io)!\n- Used by several [high impact projects](https://www.npmjs.com/browse/depended/colorjs.io), including [Sass](https://sass-lang.com/), [Open Props](https://open-props.style/), [axe](https://www.deque.com/axe/) accessibility testing engine, and [OddContrast](https://www.oddcontrast.com/) and [CSS HD Gradients](https://gradient.style/) color tools\n- Parts of Color.js’s API are used as a testing ground for the design of a [native `Color` object for the Web platform](https://github.com/wicg/color-api).\n\n</section>\n\n<section class=\"cn-ignore\">\n\n## Installation\n\nColor.js is designed make simple things easy, and complex things possible, and that extends to installation as well.\n\nFor quick experiments, you can just import Color.js directly from the CDN (kindly provided by the awesome folks at [Netlify](https://netlify.com)) with all modules included:\n\n```js\nimport Color from \"https://colorjs.io/dist/color.js\";\n```\n\nYou can also install via npm if you’d prefer:\n\n```\nnpm install colorjs.io\n```\n\nWhether you’re using NPM, the CDN, or local files, Color.js allows you to also import specific modules by directly importing from `src`:\n- `https://colorjs.io/src/` for the CDN\n- `node_modules/colorjs.io/src/ for NPM\n\nFor example:\n```js\nimport Color from \"https://colorjs.io/src/color.js\";\nimport p3 from \"https://colorjs.io/src/spaces/p3.js\";\nimport rec2020 from \"https://colorjs.io/src/spaces/rec2020.js\";\nimport deltaE200 from \"https://colorjs.io/src/deltaE/deltaE2000.js\";\n```\n\nWarning: To use `import` statements in a browser, your `<script>` needs `type=\"module\"`\n\nAre you old school and prefer to simply have a global `Color` variable? \nWe’ve got you covered! \nJust include the following script in your HTML:\n\n```html\n<script src=\"https://colorjs.io/dist/color.global.js\"></script>\n```\n\n<p class=\"read-more\"><a href=\"https://colorjs.io/get\">Read more about installation</a></p>\n\n</section>\n\n<section>\n\n## Reading colors\n\nAny color from CSS Color Level 4 should work:\n\n```js\nlet color = new Color(\"slategray\");\nlet color2 = new Color(\"hwb(60 30% 40% / .5)\");\nlet color3 = new Color(\"color(display-p3 0 1 0 / .9)\");\nlet color4 = new Color(\"lch(50% 80 30)\");\n```\n\nYou can also create `Color` objects manually:\n\n```js\nlet color2 = new Color(\"hwb\", [60, 30, 40], .5);\nlet color3 = new Color({space: \"p3\", coords: [0, 1, 0], alpha: .9});\n```\n\n<p class=\"read-more\"><a href=\"https://colorjs.io/docs/the-color-object.html\">Read more about color objects</a>\n\n</section>\n\n<section>\n<h2>Manipulating colors</h2>\n\nYou can use properties to modify coordinates\nof any color space and convert back\n\n```js\nlet color = new Color(\"slategray\");\ncolor.lch.l = 80; // Set coord directly in any color space\ncolor.lch.c *= 1.2; // saturate by increasing LCH chroma by 20%\ncolor.hwb.w += 10; // any other color space also available\n```\n\nTo modify coordinates in any color space you use `color.set()` and `color.setAll()`:\n\n```js\nlet color = new Color(\"slategray\");\n\n// Multiple coordinates\ncolor.set({\n\t\"lch.l\": 80, // set lightness to 80\n\t\"lch.c\": c => c * 1.2 // Relative manipulation\n});\n\n// Set single coordinate\ncolor.set(\"hwb.w\", w => w + 10);\n```\n\nCoordinates of the color's color space are available without a prefix:\n\n```js\nlet color = new Color(\"slategray\").to(\"lch\");\n\n// Multiple coordinates\ncolor.set({\n\tl: 80, // set lightness to 80\n\tc: c => c * 1.2 // Relative manipulation\n});\n\n// Set single coordinate\ncolor.set(\"h\", 30);\n```\n\nChaining-style modifications are also supported:\n```js\nlet color = new Color(\"lch(50% 50 10)\");\ncolor = color.set({\n\th: h => h + 180,\n\tc: 60\n}).lighten();\n```\n\nYou can also use properties:\n\n```js\nlet color = new Color(\"slategray\");\ncolor.lch.l = 80; // Set coord directly in any color space\ncolor.lch.c *= 1.2; // saturate by increasing LCH chroma by 20%\ncolor.hwb.w += 10; // any other color space also available\n```\n\nCoordinates of the color's color space are available without a prefix:\n\n```js\nlet color = new Color(\"slategray\").to(\"lch\");\ncolor.l = 80; // Set LCH lightness\ncolor.c *= 1.2; // saturate by increasing LCH chroma\n```\n\n<p class=\"read-more\"><a href=\"https://colorjs.io/docs/manipulation.html\">Read more about color manipulation</a></p>\n\n</section>\n\n<section>\n\n## Converting between color spaces & stringifying\n\nConvert to any color space:\n\n```js\nlet color = new Color(\"slategray\");\ncolor.to(\"lch\") // Convert to LCH\n```\n\nOutput in any color space\n\n```js\nlet color = new Color(\"slategray\");\ncolor + \"\"; // default stringification\ncolor.to(\"p3\").toString({precision: 3});\n```\n\nClip to gamut or don't\n```js\nlet color = new Color(\"p3\", [0, 1, 0]);\ncolor.to(\"srgb\") + \"\"; // Default toString()\ncolor.to(\"srgb\").toString({inGamut: false});\n```\n\n<p class=\"read-more\"><a href=\"https://colorjs.io/docs/output.html\">Read more about output</a></p>\n\n</section>\n\n<section>\n\n## Interpolation\n\nGet a function that accepts a percentage:\n\n```js\nlet color = new Color(\"p3\", [0, 1, 0]);\nlet redgreen = color.range(\"red\", {\n\tspace: \"lch\", // interpolation space\n\toutputSpace: \"srgb\"\n});\nredgreen(.5); // midpoint\n```\n\nInterpolation by discrete steps:\n\n```js\nlet color = new Color(\"p3\", [0, 1, 0]);\ncolor.steps(\"red\", {\n\tspace: \"lch\",\n\toutputSpace: \"srgb\",\n\tmaxDeltaE: 3, // max deltaE between consecutive steps\n\tsteps: 10 // min number of steps\n});\n```\n\nShortcut for specific points in the range:\n\n```js\nlet color = new Color(\"p3\", [0, 1, 0]);\nlet redgreen = color.mix(\"red\", .5, {space: \"lch\", outputSpace: \"srgb\"});\nlet reddishGreen = color.mix(\"red\", .25, {space: \"lch\", outputSpace: \"srgb\"});\n```\n\nStatic syntax  (every color method has a static one too):\n\n```js\nColor.mix(\"color(display-p3 0 1 0)\", \"red\", .5);\n```\n\n<p class=\"read-more\"><a href=\"https://colorjs.io/docs/interpolation.html\">Read more about interpolation</a></p>\n\n</section>\n","_attachments":{},"homepage":"https://colorjs.io","bugs":{"url":"https://github.com/LeaVerou/color.js/issues"},"license":"MIT"}