{"schemaVersion":"toolkit.registry.tool.v1","kind":"toolkit.tool","issuer":"toolkit.fun","id":"6a7ac5a1607249f7a76e495c","slug":"color-convert","name":"颜色格式互转","version":1,"status":"market","category":"图像","description":"在 HEX / RGB / HSL 之间互转，并给出与黑白文字的对比度提示，设计还原时顺手校色。","updatedAt":"2026-08-11T06:48:01.708Z","artifact":{"type":"javascript-source","digest":"sha256:3165127b5e6b5b7e8dbf882e55802ce61b40c4114c8a9bbb2a3ab6babf408227","sourceHash":"3165127b5e6b5b7e8dbf882e55802ce61b40c4114c8a9bbb2a3ab6babf408227","byteLength":2580,"sourceUrl":"https://cn.toolkit.fun/api/v1/registry/tools/color-convert/source","contentAddressedUrl":"https://cn.toolkit.fun/api/v1/registry/artifacts/sha256/3165127b5e6b5b7e8dbf882e55802ce61b40c4114c8a9bbb2a3ab6babf408227"},"license":{"expression":"Apache-2.0","text":{"digest":"sha256:643fa11652471c395705eac6a09b77b514e16b66cee111cc88d0908eb8a5251b","url":"https://cn.toolkit.fun/api/v1/registry/attachments/sha256/643fa11652471c395705eac6a09b77b514e16b66cee111cc88d0908eb8a5251b","mediaType":"text/plain; charset=utf-8"}},"copyright":["Copyright 2026 Toolkit"],"provenance":{"schemaVersion":"toolkit.registry.provenance.v1","type":"git","publisher":{"type":"organization","name":"Toolkit","id":"toolkit.fun"},"publishedAt":"2026-08-11T06:48:01.708Z","rightsAttestation":{"statementVersion":"toolkit.publisher-rights.v1","attested":true,"attestedBy":{"type":"organization","name":"Toolkit","id":"toolkit.fun"},"attestedAt":"2026-08-11T06:48:01.708Z","acceptedAt":"2026-08-11T06:48:01.708Z","scope":"official-builtin-preview","statementDigest":"sha256:d8f7fe62197ad5c204831dc12ec363d9249076acf9a4c028852c72df8554eb69","note":"Preview attestation records publisher responsibility; it is not an open-source license grant."},"revision":{"artifactDigest":"sha256:3165127b5e6b5b7e8dbf882e55802ce61b40c4114c8a9bbb2a3ab6babf408227","toolId":"6a7ac5a1607249f7a76e495c","toolVersion":1,"repository":"private://toolkit_new","commit":"local-preview","path":"scripts/builtin_tools.js#color-convert"}},"thirdParty":{"notice":{"digest":"sha256:4a45a442f4647b1e7ba0f98ad91d35d4ecbbbe79aa52ce42d32e0ddf3493ef3a","url":"https://cn.toolkit.fun/api/v1/registry/attachments/sha256/4a45a442f4647b1e7ba0f98ad91d35d4ecbbbe79aa52ce42d32e0ddf3493ef3a","mediaType":"text/plain; charset=utf-8"},"sbom":{"digest":"sha256:2828d2d12a6c75ee1bbdbfa18b993c89774af1e2cd2f3c598b57e82dd9f3fe1b","url":"https://cn.toolkit.fun/api/v1/registry/attachments/sha256/2828d2d12a6c75ee1bbdbfa18b993c89774af1e2cd2f3c598b57e82dd9f3fe1b","mediaType":"application/spdx+json; charset=utf-8"}},"runtime":{"engine":"node_vm","sandbox":{"timeoutMs":2000,"memMb":128,"net":false,"ai":false}},"inputSchema":{"type":"object","properties":{"input":{"type":"string","description":"工具输入"}},"required":["input"]},"endpoints":{"rest":"https://cn.toolkit.fun/api/v1/t/color-convert","mcp":"https://cn.toolkit.fun/api/mcp","manifest":"https://cn.toolkit.fun/api/v1/registry/tools/color-convert/manifest","lockfile":"https://cn.toolkit.fun/api/v1/registry/lockfile?tools=color-convert"},"digest":"sha256:a3b9bcf181d9188e1ca1b5266b9ca4e29c23d28bcf6838c63c816a31f7413caf","signature":{"alg":"EdDSA","keyId":"cn-production","createdAt":"2026-09-29T15:41:27.990Z","payloadDigest":"sha256:a3b9bcf181d9188e1ca1b5266b9ca4e29c23d28bcf6838c63c816a31f7413caf","value":"ed25519:KhKgaoMMgtN1-rMj0Zt2gkkLpE_73yuFwIRSemIBgjrBUKeT9tcamhG8kvGYIKCQUkCCg0l4o2QII1nWG3WkBg"}}