{"_id":"@14ch/color-palette-generator","_rev":"14-c7a6d8b8655866a966555e9947958c9e","name":"@14ch/color-palette-generator","dist-tags":{"latest":"1.0.2"},"versions":{"0.1.0":{"name":"@14ch/color-palette-generator","version":"0.1.0","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.1.0","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/14ch/color-palette-generator#readme","bugs":{"url":"https://github.com/14ch/color-palette-generator/issues"},"dist":{"shasum":"aa661a9021a40a0ffefa937df1c1096aa52d24cc","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.1.0.tgz","fileCount":31,"integrity":"sha512-uTlIK2P4wsa/EnQ4yy1GqrDTWRMQhUwgmsUClCuh3C5bE0qltWe5gQ52PIgqiTUAmWRgn0muKDjJvbP5zccRHQ==","signatures":[{"sig":"MEYCIQCVSZHiDIDuxCTmANAp2BorrnAaEo2eP7tD4NxP2YAIKQIhANv5gQ/S8MF0YEV7vhrH+zsoI1qGlIbb7I9d8SRuZ1UU","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175381},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"0298c2e2b22f94e33f673920e41ba337c2faff49","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/14ch/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.1.0_1752924021495_0.5741673827899278","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@14ch/color-palette-generator","version":"0.1.1","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.1.1","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/14ch/color-palette-generator#readme","bugs":{"url":"https://github.com/14ch/color-palette-generator/issues"},"dist":{"shasum":"7fc6d43ba8a32f0c53d37f3f1c934abd2e5bcdf9","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.1.1.tgz","fileCount":31,"integrity":"sha512-O2yKW5S3eTr/dVenlPvdgVxNzs9qukK2G5SA+aFe9lL3xnVnQ+fFIx4PqYJeL+E7iccae9pZnP0Txr9IuJuUnw==","signatures":[{"sig":"MEQCIDAedZLc3LUAj44Eo29Tp2W+8VF23b0KPLT5sI2mhuwaAiB/Pz/kcaqHHBED2n9Lp+zxb7MgfcYQyxGv165FLHkEEg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175588},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"ee415ce29cd06cc16785e8d869677be5ec6e61f3","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/14ch/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.1.1_1753068140157_0.23083482356321028","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@14ch/color-palette-generator","version":"0.1.2","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.1.2","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"1430476eef9b6e7f591af5c88ec5ffd4770f20cc","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.1.2.tgz","fileCount":31,"integrity":"sha512-B8Z0pMoUgnQLWSuh0EtJWnimyH/NtP2EcPU5FaBPkSZZzSHpF0O09RvskSyDiaLoof7FadBt8tXhlQsxY6484Q==","signatures":[{"sig":"MEYCIQCvMRXbSvErwVdHRQHLPtLGcul+ScAUJThb4xc3VjQRrgIhALPUKbVtcs8wAzcVjtYCbAPN9pRZFIdKNdJ0gVOnKv/t","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175611},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"62f2c7667bd637972fa28f4d5258fed516a0d679","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.1.2_1753174741859_0.8489505419431858","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@14ch/color-palette-generator","version":"0.2.0","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.2.0","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"692a09d535f9c38f7411dfbf52a82fe8abb226b6","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.2.0.tgz","fileCount":32,"integrity":"sha512-GqVe/Rfni9i96Bp7F+phmPJkyI3mBhHVxhRI7VFn9fIZsz0gMU1uACK61NjiEN8vqx1arKYOX+HTIauyq4JH0Q==","signatures":[{"sig":"MEQCIHHdAhuvjHGXKZLwzyznkKfhkTD8Atmo2h4tgakK//ZRAiAeJREbo6goWsP8OlBWgZJvmnOIxN5LKKJviqAPX/5GOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":197577},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"86a5edaa0e690e731b0fc093c8cc6a54d211df92","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.2.0_1754396239654_0.7300161737201398","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@14ch/color-palette-generator","version":"0.3.0","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.3.0","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"ef938a37262fbe3a04da24c4190e2af48c797ed7","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.3.0.tgz","fileCount":32,"integrity":"sha512-g94OpE42lYBa9gz8LbAPBpynhnYgs8y1/Gqxroiu5UhoESlAnfPpv6gWD469XRotccNWxOMT76gwlzbkh2U1ng==","signatures":[{"sig":"MEQCIDlJrUyhJJpuW9oDi9reAIbrJE7pZfHxGmxhmTkKOMbtAiBN4sztMk2WATh5qCYZ69HxigsR2z08UNTyBawWK0gs7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203581},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"2f9a28387f47309c363d82532bad7e8c68323b4f","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.3.0_1754443912031_0.549962253139153","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@14ch/color-palette-generator","version":"0.3.1","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.3.1","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"a419259782672b2c7b28edf8519ac836354fde4a","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.3.1.tgz","fileCount":32,"integrity":"sha512-eL3TUCBigUNBuO9Mhhb1UxNqN14jn3qp32V4aZ0EEW7emzgQjBWtwjse4htwtZ07/su+ZuvXcw05Pn+0uwl2yQ==","signatures":[{"sig":"MEUCICvDBjkyEM9kkLJ/4My45NBQnt0bb/hyt5RXADwKMJX8AiEAgqhyIO4J0/oFC5M+qxyTsszK0Ky5m7Tb8MVmzQ4Zxfw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203575},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"520defe0cbf9724184dd1b77dce46affa34bcb70","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.3.1_1756791037598_0.12817536965062382","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@14ch/color-palette-generator","version":"0.3.2","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.3.2","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"5bbf842dabc6d22417a91ebd7b01d000a5f29c5b","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.3.2.tgz","fileCount":32,"integrity":"sha512-9T0kKiaP21OSb/C19yc7qBpueqb33bnL1PSPadsi+Y6/7e++pZPxgZP3wb+MI1onHxiZdHyspg/5pM78q+HYGw==","signatures":[{"sig":"MEQCIDH4t2CYZ+iJCEgxrw2fDGnF0JUpYqlei2Ov2fCF0NgvAiA2BbfzvX83iYLdkMdfaJaqqTNHkzweBYviBOjRtaK6/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":203593},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"520defe0cbf9724184dd1b77dce46affa34bcb70","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.3.2_1756791442478_0.20338963229455453","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@14ch/color-palette-generator","version":"0.4.0","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.4.0","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"a03a25cc873f681362c37391dd5baef882b2c901","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.4.0.tgz","fileCount":32,"integrity":"sha512-jWLz++plo6zzRaMvL6Bks5nelTCA86F+e4LVoCbXL/OiTa9gYimBDlNGGo6QbnpUNFRn7YER0ZMQsNgS5ApFnw==","signatures":[{"sig":"MEUCIQC2k7XBPEZ3Xrm65+aSx3ApIytCWmNW7RjVSrdML3+LjQIgXnkZ+2vSLuAs4RAWUOTGq9MEfO0cddAyjV7Nw5f4B0I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":219620},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"4dc89eb3fdcdd9d807eeea7e38edf8a81296cff4","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.4.0_1758045120836_0.6775401969725512","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@14ch/color-palette-generator","version":"0.5.0","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.5.0","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"2c3e3fa08533e111b448c7e729940a0e77e97f44","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.5.0.tgz","fileCount":33,"integrity":"sha512-cBOwtJI15F8mDDM/E0Z42v3jsNGnNfIdbDRdcaEOitAckJfHXl0di8V2CID3X4yBCSBSjhMtk7S/2NzOxut5tw==","signatures":[{"sig":"MEQCIEiOm9/Y3V/ITwsHyiK9Kq2dnfEjsKGNEsYWUJlUdMpxAiAhcI+w+2KaRCiOpwML536qvY/jKUQuKMP0odYyx8RqiA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":228119},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"c8fe80aec6200a01d389a53d85b14ef111b7237c","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.5.0_1758092203794_0.9241670354479785","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@14ch/color-palette-generator","version":"0.5.1","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.5.1","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"c17a0f8fd92115ed407b40fc0d842b99b0122198","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.5.1.tgz","fileCount":33,"integrity":"sha512-XUCvmxt4i63RDyqspI4RN0r4R+6JK8nIVo6F2f8o2SA7JdFYrkfQZvnO4DvTP5/iBwRj1Rz+NwiF04N7Pwsb+w==","signatures":[{"sig":"MEUCIDItFaCNy1j6kYnhR/LXUxrfcu28Rlx1u22rITtbCA+LAiEAjun3/xBMf/zJdKG850jEqtDAyZYJQ6rw71+YO1C/4eA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":228203},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"57b7e602fbc4554504f49a78518bc7f0911110a7","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.5.1_1758094672059_0.694872940820048","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@14ch/color-palette-generator","version":"0.5.2","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@0.5.2","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"12d02828e901873f38fe26f25d9fa5b76f231988","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-0.5.2.tgz","fileCount":33,"integrity":"sha512-R+qMbYBwYTNPCPspb50iz0szQiLF971GDiYl7+caL2V5C4hEP6an9ED2a0k875x9tQ+rYpw5iYz+mSt54PGIiA==","signatures":[{"sig":"MEYCIQDAKkx9m92oCT+n/BFAy4c2o7nr4GTMnSOB9KX6bNKRagIhAOiII/GQKr/kqrGXdFV1hJ3evJ6gHD43qxUjiwvp/+ck","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":233594},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"553d7dac5040dbec0f3b1c17de9831d3673fb984","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A comprehensive color palette generation library with support for color scales, combinations, and transparency","directories":{},"_nodeVersion":"20.19.2","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@rollup/plugin-typescript":"^11.1.6"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_0.5.2_1758111687710_0.8346668968061184","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@14ch/color-palette-generator","version":"1.0.0","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@1.0.0","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"ec1061448ccddc8af7d7a78443e070f16243d907","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-1.0.0.tgz","fileCount":18,"integrity":"sha512-rlZxWtbAC6ixkvcZhhSmI2XYxDsp/5M7EbrGRdHbM7G2wu32oG86soFSehcDZEGP4PYEvKsUEMndAYxx+UXl+g==","signatures":[{"sig":"MEYCIQDVSpkovtcceDEBrPu2QYnRlltxeFEbKpiyxZWGp5BNdwIhAPGY2ykHs+F3abHeIKP9q84Bc/MNkJ8soHdaj+AT1OME","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":171842},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"633e4ae4229d5c031fd4ecde1858bddff47b7040","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A color palette generation library that balances tones across different hues for harmonious multi-color systems","directories":{},"_nodeVersion":"20.19.2","dependencies":{"culori":"^4.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@types/culori":"^4.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_1.0.0_1760289513924_0.9572511294446377","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@14ch/color-palette-generator","version":"1.0.1","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","_id":"@14ch/color-palette-generator@1.0.1","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"dist":{"shasum":"557ae528b72b3e1312c4f6a3dbda52193ea26906","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-1.0.1.tgz","fileCount":18,"integrity":"sha512-grHstqUL+kBuAz3chgNCXdHVqik8GC/NsxOuAfYruS2abpot2/sFG0h0sWINEbkgHq6G2/wsYmVmYKKx41Rq2A==","signatures":[{"sig":"MEUCIQDqFQSw2mNDKv0RYPTAmeseDEZ0o9v3GisawUhELZLtMQIgFAOYDCriP1ecfQeJdXfvgn5vVcoXbHo3CsAl00omJEM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175005},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.esm.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js","require":"./dist/index.js"}},"gitHead":"633e4ae4229d5c031fd4ecde1858bddff47b7040","scripts":{"test":"vitest","build":"rollup -c","test:run":"vitest run","prepublishOnly":"npm run build"},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"repository":{"url":"git+https://github.com/iyodatakashi/color-palette-generator.git","type":"git"},"_npmVersion":"10.8.2","description":"A color palette generation library that balances tones across different hues for harmonious multi-color systems","directories":{},"_nodeVersion":"20.19.2","dependencies":{"culori":"^4.0.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.6.2","rollup":"^4.9.0","vitest":"^1.0.0","typescript":"^5.3.0","@types/node":"^20.10.0","@types/culori":"^4.0.1","@rollup/plugin-typescript":"^11.1.6","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/color-palette-generator_1.0.1_1760293790798_0.691988474140377","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@14ch/color-palette-generator","version":"1.0.2","type":"module","description":"A color palette generation library that balances tones across different hues for harmonious multi-color systems","main":"dist/index.js","module":"dist/index.esm.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.esm.js","require":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"build":"rollup -c","test":"vitest","test:run":"vitest run","prepublishOnly":"npm run build"},"keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"author":{"name":"14ch"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/iyodatakashi/color-palette-generator.git"},"bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","devDependencies":{"@rollup/plugin-node-resolve":"^16.0.1","@rollup/plugin-typescript":"^11.1.6","@types/culori":"^4.0.1","@types/node":"^20.10.0","rollup":"^4.9.0","tslib":"^2.6.2","typescript":"^5.3.0","vitest":"^1.0.0"},"dependencies":{"culori":"^4.0.2"},"publishConfig":{"access":"public"},"_id":"@14ch/color-palette-generator@1.0.2","gitHead":"bc9bf628c25b5d204b2efd9ab0ae3aae7969aa09","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-FRgQf4brHLdHqKpq/9aQ9NgTj1KdayC//oqagPmVQjjsd6h4CaDy402mSejoLzfFD/YWjWItULt6X21oOVFvEw==","shasum":"e25a862c4f1fe04e5ecee690d36cefe978b2e39f","tarball":"https://registry.npmjs.org/@14ch/color-palette-generator/-/color-palette-generator-1.0.2.tgz","fileCount":18,"unpackedSize":175567,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCZm+Ys4VXrEgA5QD8nFdxnSeglaPakE/pu3vsGNoYw8QIhAKDkUAv7LeaYa1ilzeNHdz+w9Xk1NDn+pv3jNPpi7pm6"}]},"_npmUser":{"name":"14ch","email":"iyoda.takashi@gmail.com"},"directories":{},"maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/color-palette-generator_1.0.2_1760413934277_0.92805044424933"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-19T11:20:21.437Z","modified":"2025-10-14T03:52:14.639Z","0.1.0":"2025-07-19T11:20:21.694Z","0.1.1":"2025-07-21T03:22:20.351Z","0.1.2":"2025-07-22T08:59:02.021Z","0.2.0":"2025-08-05T12:17:19.850Z","0.3.0":"2025-08-06T01:31:52.204Z","0.3.1":"2025-09-02T05:30:37.775Z","0.3.2":"2025-09-02T05:37:22.671Z","0.4.0":"2025-09-16T17:52:01.014Z","0.5.0":"2025-09-17T06:56:43.965Z","0.5.1":"2025-09-17T07:37:52.216Z","0.5.2":"2025-09-17T12:21:27.916Z","1.0.0":"2025-10-12T17:18:34.094Z","1.0.1":"2025-10-12T18:29:51.001Z","1.0.2":"2025-10-14T03:52:14.472Z"},"bugs":{"url":"https://github.com/iyodatakashi/color-palette-generator/issues"},"author":{"name":"14ch"},"license":"MIT","homepage":"https://github.com/iyodatakashi/color-palette-generator#readme","keywords":["color","palette","color-palette","color-scale","color-combination","design-system","ui","colors","typescript"],"repository":{"type":"git","url":"git+https://github.com/iyodatakashi/color-palette-generator.git"},"description":"A color palette generation library that balances tones across different hues for harmonious multi-color systems","maintainers":[{"name":"14ch","email":"iyoda.takashi@gmail.com"}],"readme":"# Color Palette Generator\n\nA color palette generation library that balances tones across different hues for harmonious multi-color systems.\n\n## 🌐 Online Tool\n\nCreate color palettes with my web application at **[color-palette.14ch.jp](https://color-palette.14ch.jp)**\n\nA full-featured color palette generator built with this library.\n\n## Features\n\n### Multi-hue Palette Generation with Tone Balancing\n\nThis library generates color palettes where different hues maintain similar visual weight across the same lightness levels.\n\nWhen generating a palette with multiple colors (e.g., base, primary, secondary):\n\n- Colors at the same level (e.g., 500) are adjusted to have similar perceived intensity\n- By using OKLCH color space, you get a palette where different hues are consistently balanced\n\n### Other Features\n\n- **Color Combinations**: Generate palettes based on color theory (complementary, triadic, analogous, etc.)\n- **Transparency Variants**: Generate transparent color variations\n- **Random Color Generation**: Generate colors within specified ranges\n- **24-Hue Swatch System**: Pre-defined color names across the color wheel\n- **Configurable Adjustments**: Control lightness curves, chroma behavior, and hue shifting\n\n## Installation\n\n```bash\nnpm install @14ch/color-palette-generator\n```\n\n## Usage\n\n### Basic Palette Generation\n\n```typescript\nimport { generateColorPalette } from \"@14ch/color-palette-generator\";\n\n// Generate a color palette from a single color\nconst palette = generateColorPalette({\n  prefix: \"primary\",\n  seedColor: \"#3b82f6\",\n});\n\nconsole.log(palette);\n// Output: {\n//   '--primary-50': '#eff6ff',\n//   '--primary-100': '#dbeafe',\n//   ...,\n//   '--primary-500': '#3b82f6',\n//   ...,\n//   '--primary-950': '#1e3a8a'\n// }\n\n// Generate palettes from multiple colors\nconst configs = [\n  { prefix: \"primary\", seedColor: \"#3b82f6\" },\n  { prefix: \"secondary\", seedColor: \"#10b981\" },\n];\nconst multiPalette = generateColorPalette(configs);\n```\n\n### Color Combinations\n\n```typescript\nimport {\n  generateCombination,\n  generateColorPalette,\n} from \"@14ch/color-palette-generator\";\n\n// Generate complementary colors\nconst colorConfigs = generateCombination({\n  seedColor: \"#3b82f6\",\n  combinationType: \"complementary\",\n  baseColorStrategy: \"harmonic\",\n});\n\n// Generate palettes from the combination\nconst palette = generateColorPalette(colorConfigs);\n```\n\n#### Combination Types\n\n- `monochromatic` - Single hue (base + primary only)\n- `analogous` - Adjacent hues (base + primary + 2 secondaries)\n- `complementary` - Opposite hues (base + primary + 1 secondary)\n- `splitComplementary` - Split opposite hues (base + primary + 2 secondaries)\n- `triadic` - Three evenly spaced hues (base + primary + 2 secondaries)\n- `tetradic` - Four evenly spaced hues (base + primary + 3 secondaries)\n- `doubleComplementary` - Two pairs of complementary hues (base + primary + 3 secondaries)\n- `doubleComplementaryReverse` - Reverse of double complementary (base + primary + 3 secondaries)\n\n#### Base Color Strategies\n\n- `harmonic` - Base color uses same hue as primary with low chroma\n- `contrasting` - Base color uses complementary hue\n- `neutral` - Base color with near-zero chroma (grayscale)\n\n```typescript\nconst colorConfigs = generateCombination({\n  seedColor: \"#3b82f6\",\n  combinationType: \"triadic\",\n  baseColorStrategy: \"neutral\",\n});\n```\n\n### Swatch Generation (24-Hue Color System)\n\n```typescript\nimport {\n  generateSwatch,\n  generateColorPalette,\n} from \"@14ch/color-palette-generator\";\n\n// Generate color configs for 24 hues across the color wheel\nconst swatchConfigs = generateSwatch({\n  seedChroma: 0.2,\n  originLevel: 500,\n});\n\n// Generate palettes for all swatch colors\nconst swatchPalette = generateColorPalette(swatchConfigs);\n\n// Output includes: --ruby-500, --red-500, --orange-500, --yellow-500,\n// --green-500, --blue-500, --purple-500, etc.\n```\n\n### Optional Features\n\n#### Transparent Colors\n\n```typescript\nconst palette = generateColorPalette({\n  prefix: \"primary\",\n  seedColor: \"#3b82f6\",\n  includeTransparent: true,\n  bgColorLight: \"#ffffff\",\n  bgColorDark: \"#000000\",\n  transparentOriginLevel: 500,\n});\n\n// Output includes:\n// '--primary-50-transparent': 'rgba(135, 245, 0, 0.100)',\n// '--primary-500-transparent': 'rgba(137, 177, 0, 1.000)', etc.\n```\n\n#### Text Colors\n\n```typescript\nconst palette = generateColorPalette({\n  prefix: \"primary\",\n  seedColor: \"#3b82f6\",\n  includeTextColors: true,\n  bgColorLight: \"#ffffff\",\n  bgColorDark: \"#000000\",\n});\n\n// Output includes:\n// '--primary-text-color-on-light': 'var(--primary-700)',\n// '--primary-text-color-on-dark': 'var(--primary-400)'\n```\n\n#### Variation Colors\n\nAll palettes automatically include variation colors:\n\n```\n--primary-color: var(--primary-500)\n--primary-lighter: var(--primary-300)\n--primary-light: var(--primary-400)\n--primary-dark: var(--primary-600)\n--primary-darker: var(--primary-700)\n```\n\n### Utility Functions\n\n#### Get Color Lightness\n\n```typescript\nimport { getLightness } from \"@14ch/color-palette-generator\";\n\n// Get lightness value of a color (0-100)\nconst lightness = getLightness(\"#3b82f6\");\nconsole.log(lightness); // Output: 59.8\n```\n\n#### Resolve CSS Variables\n\n```typescript\nimport { resolveVariable } from \"@14ch/color-palette-generator\";\n\n// Palette structure: variables reference other variables\nconst palette = {\n  \"--primary-color\": \"var(--primary-500)\", // Before: CSS variable reference\n  \"--primary-500\": \"#3b82f6\", // Actual HEX value\n};\n\nconst resolvedColor = resolveVariable({\n  variableName: \"--primary-color\",\n  palette,\n});\n// Returns: '#3b82f6'\n```\n\n#### Apply to DOM\n\n```typescript\nimport {\n  generateColorPalette,\n  applyColorPaletteToDom,\n} from \"@14ch/color-palette-generator\";\n\nconst palette = generateColorPalette({\n  prefix: \"primary\",\n  seedColor: \"#3b82f6\",\n});\n\napplyColorPaletteToDom(palette);\n// Now you can use var(--primary-500) in your CSS\n```\n\n## API Reference\n\n### `generateColorPalette(config)`\n\nGenerate a color palette from one or more color configurations.\n\n```typescript\nimport { generateColorPalette } from \"@14ch/color-palette-generator\";\n\nconst palette = generateColorPalette({\n  prefix: \"primary\",\n  seedColor: \"#3b82f6\",\n  originLevel: 500,\n  hueShiftMode: \"natural\",\n  includeTransparent: false,\n  includeTextColors: false,\n  enableLightnessAdjustment: true,\n  enableChromaAdjustment: true,\n});\n```\n\n#### Parameters\n\n- `prefix` (string, required): CSS variable prefix\n- `seedColor` (string, required): Base color in HEX format\n- `originLevel` (number, required): Reference level (typically one of: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950)\n- `id` (string, optional): Identifier for the color\n- `seedOklch` (Oklch, optional): Pre-calculated OKLCH color\n- `hueShiftMode` (string, optional): \"fixed\" | \"natural\" | \"unnatural\" (default: \"natural\")\n- `includeTransparent` (boolean, optional): Generate transparent variants (default: false)\n- `includeTextColors` (boolean, optional): Generate text colors (default: false)\n- `bgColorLight` (string, optional): Background color for light mode (default: \"#ffffff\")\n- `bgColorDark` (string, optional): Background color for dark mode (default: \"#000000\")\n- `transparentOriginLevel` (number, optional): Reference level for transparent colors (default: 500)\n- `enableLightnessAdjustment` (boolean, optional): Apply sigmoid curve for lightness (default: true)\n- `enableChromaAdjustment` (boolean, optional): Apply chroma suppression at extremes (default: true)\n- `enableChromaLimit` (boolean, optional): Limit maximum chroma (default: false)\n- `maxChroma` (number, optional): Maximum chroma value when enableChromaLimit is true (typical range: 0-0.4 for sRGB gamut)\n\n### `generateCombination(config)`\n\nGenerate harmonious color combinations based on color theory.\n\n```typescript\nimport { generateCombination } from \"@14ch/color-palette-generator\";\n\nconst colorConfigs = generateCombination({\n  seedColor: \"#3b82f6\",\n  combinationType: \"complementary\",\n  baseColorStrategy: \"harmonic\",\n  enableLightnessAdjustment: true,\n  enableChromaAdjustment: true,\n});\n```\n\n#### Parameters\n\n- `seedColor` (string, required): Base color in HEX format\n- `combinationType` (string, optional): Combination type (default: \"complementary\")\n- `baseColorStrategy` (string, optional): \"harmonic\" | \"contrasting\" | \"neutral\" (default: \"harmonic\")\n- `enableLightnessAdjustment` (boolean, optional): Apply to primary/secondary (default: true)\n- `enableChromaAdjustment` (boolean, optional): Apply to primary/secondary (default: true)\n- `includeTransparent` (boolean, optional): Generate transparent variants (default: false)\n- `includeTextColors` (boolean, optional): Generate text colors (default: false)\n- `bgColorLight` (string, optional): Background color for light mode (default: \"#ffffff\")\n- `bgColorDark` (string, optional): Background color for dark mode (default: \"#000000\")\n- `transparentOriginLevel` (number, optional): Reference for primary/secondary transparent colors (default: 500)\n- `baseTransparentOriginLevel` (number, optional): Reference for base transparent colors (default: 950)\n- `hueShiftMode` (string, optional): \"fixed\" | \"natural\" | \"unnatural\" (default: \"natural\")\n- `enableChromaLimit` (boolean, optional): Limit maximum chroma (default: true)\n- `maxChroma` (number, optional): Maximum chroma value (default: 0.2, typical range: 0-0.4)\n\n### `generateSwatch(config)`\n\nGenerate 24-hue color system configurations.\n\n```typescript\nimport { generateSwatch } from \"@14ch/color-palette-generator\";\n\nconst swatchConfigs = generateSwatch({\n  seedChroma: 0.2,\n  originLevel: 500,\n  enableLightnessAdjustment: true,\n  enableChromaAdjustment: true,\n});\n```\n\n#### Parameters\n\n- `seedChroma` (number, required): Base chroma value for all hues (0-1)\n- `originLevel` (number, optional): Reference level (default: 500)\n- `enableLightnessAdjustment` (boolean, optional): Apply sigmoid curve (default: true)\n- `enableChromaAdjustment` (boolean, optional): Apply chroma suppression (default: true)\n- `hueShiftMode` (string, optional): \"fixed\" | \"natural\" | \"unnatural\" (default: \"natural\")\n- `includeTransparent` (boolean, optional): Generate transparent variants (default: true)\n- `includeTextColors` (boolean, optional): Generate text colors (default: true)\n- `bgColorLight` (string, optional): Background for light mode (default: \"#ffffff\")\n- `bgColorDark` (string, optional): Background for dark mode (default: \"#000000\")\n- `transparentOriginLevel` (number, optional): Reference for transparent colors (default: 500)\n- `enableChromaLimit` (boolean, optional): Limit maximum chroma (default: true)\n- `maxChroma` (number, optional): Maximum chroma value (default: 0.2, typical range: 0-0.4)\n\n### `generateRandomSeedColor(config)`\n\nGenerate a random color with constraints. Returns a HEX string.\n\n```typescript\nimport { generateRandomSeedColor } from \"@14ch/color-palette-generator\";\n\nconst randomColor = generateRandomSeedColor({\n  chromaRange: [0.15, 0.25],\n  lightnessRange: [0.47, 0.82],\n  hueRange: [0, 360],\n});\n// Returns: '#a855f7'\n```\n\n#### Parameters\n\n- `chromaRange` ([number, number], optional): Chroma range (0-1) (default: [0.15, 0.25])\n- `lightnessRange` ([number, number], optional): Lightness range (0-1) (default: [0.82, 0.47])\n- `hueRange` ([number, number], optional): Hue range (0-360) (default: [0, 360])\n\n### `getLightness(color)`\n\nGet the lightness value of a color.\n\n```typescript\nimport { getLightness } from \"@14ch/color-palette-generator\";\n\nconst lightness = getLightness(\"#3b82f6\");\n// Returns: number (0-100)\n```\n\n### `applyColorPaletteToDom(palette)`\n\nApply palette to DOM as CSS custom properties.\n\n```typescript\nimport { applyColorPaletteToDom } from \"@14ch/color-palette-generator\";\n\napplyColorPaletteToDom(palette);\n// Now you can use var(--primary-500) in your CSS\n```\n\n### `resolveVariable(params)`\n\nResolve nested CSS variable references to final HEX values.\n\n```typescript\nimport { resolveVariable } from \"@14ch/color-palette-generator\";\n\nconst hexValue = resolveVariable({\n  variableName: \"--primary-color\",\n  palette,\n});\n```\n\n## Types\n\n```typescript\ninterface ColorConfig {\n  prefix: string;\n  seedColor: string;\n  originLevel: number;\n  id?: string;\n  seedOklch?: Oklch | null;\n  hueShiftMode?: HueShiftMode;\n  includeTransparent?: boolean;\n  includeTextColors?: boolean;\n  bgColorLight?: string;\n  bgColorDark?: string;\n  transparentOriginLevel?: number;\n  enableLightnessAdjustment?: boolean;\n  enableChromaAdjustment?: boolean;\n  enableChromaLimit?: boolean;\n  maxChroma?: number;\n}\n\ninterface CombinationConfig {\n  seedColor: string;\n  combinationType?: CombinationType;\n  baseColorStrategy?: BaseColorStrategy;\n  enableLightnessAdjustment?: boolean;\n  enableChromaAdjustment?: boolean;\n  includeTransparent?: boolean;\n  includeTextColors?: boolean;\n  bgColorLight?: string;\n  bgColorDark?: string;\n  transparentOriginLevel?: number;\n  baseTransparentOriginLevel?: number;\n  hueShiftMode?: HueShiftMode;\n  enableChromaLimit?: boolean;\n  maxChroma?: number;\n}\n\ninterface SwatchConfig {\n  seedChroma: number;\n  originLevel?: number;\n  enableLightnessAdjustment?: boolean;\n  enableChromaAdjustment?: boolean;\n  hueShiftMode?: HueShiftMode;\n  includeTransparent?: boolean;\n  includeTextColors?: boolean;\n  bgColorLight?: string;\n  bgColorDark?: string;\n  transparentOriginLevel?: number;\n  enableChromaLimit?: boolean;\n  maxChroma?: number;\n}\n\ninterface RandomColorConfig {\n  chromaRange?: [number, number];\n  lightnessRange?: [number, number];\n  hueRange?: [number, number];\n}\n\ntype HueShiftMode = \"fixed\" | \"natural\" | \"unnatural\";\ntype BaseColorStrategy = \"harmonic\" | \"contrasting\" | \"neutral\";\ntype CombinationType =\n  | \"monochromatic\"\n  | \"analogous\"\n  | \"complementary\"\n  | \"splitComplementary\"\n  | \"doubleComplementary\"\n  | \"doubleComplementaryReverse\"\n  | \"triadic\"\n  | \"tetradic\";\n```\n\n## Advanced Configuration\n\n### Lightness and Chroma Adjustments\n\nControl how the library adjusts colors across different levels:\n\n```typescript\nconst palette = generateColorPalette({\n  prefix: \"primary\",\n  seedColor: \"#3b82f6\",\n  originLevel: 500,\n  enableLightnessAdjustment: true, // Apply sigmoid curve for lightness distribution\n  enableChromaAdjustment: true, // Apply chroma suppression at extreme levels\n});\n```\n\n- `enableLightnessAdjustment`: When true, applies a sigmoid curve to distribute lightness values naturally\n- `enableChromaAdjustment`: When true, reduces chroma at very light (50) and very dark (950) levels for more natural appearance\n\n### Hue Shift Modes\n\nControl how hue changes across lightness levels:\n\n```typescript\nconst palette = generateColorPalette({\n  prefix: \"primary\",\n  seedColor: \"#3b82f6\",\n  originLevel: 500,\n  hueShiftMode: \"natural\", // \"fixed\" | \"natural\" | \"unnatural\"\n});\n```\n\n- `fixed`: Hue stays constant across all levels\n- `natural`: Hue shifts naturally (warmer when lighter, cooler when darker)\n- `unnatural`: Hue shifts in the opposite direction\n\n### Chroma Limit\n\nLimit maximum chroma in the generated palette:\n\n```typescript\nconst combination = generateCombination({\n  seedColor: \"#ff0000\",\n  combinationType: \"complementary\",\n  enableChromaLimit: true,\n  maxChroma: 0.2,\n});\n```\n\n## Functions Reference\n\n#### `generateColorPalette(config: ColorConfig | ColorConfig[]): Palette`\n\nGenerate color palettes from one or more configurations.\n\n#### `generateCombination(config: CombinationConfig): ColorConfig[]`\n\nGenerate color combinations based on color theory.\n\n#### `generateSwatch(config: SwatchConfig): ColorConfig[]`\n\nGenerate 24-hue color system configurations.\n\n#### `generateRandomSeedColor(config?: RandomColorConfig): string`\n\nGenerate a random color with constraints. Returns a HEX string.\n\n#### `getLightness(color: string): number`\n\nGet the lightness value of a color (0-100).\n\n#### `applyColorPaletteToDom(palette: Palette): void`\n\nApply CSS custom properties to the document root.\n\n#### `resolveVariable({ variableName, palette, fallback? }): string`\n\nResolve nested CSS variable references to final HEX values.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}