Tool Hub

调色板提取

使用 k-means 聚类从图像中提取主色调

上传图像,使用 k-means 聚类提取主色调。图像在客户端采样至 5000 像素后分为 k 个簇;质心按簇大小排序显示,附带 hex/rgb 代码。

使用方法

  1. 上传并选择
  2. Wait for the k-means algorithm to extract up to 8 dominant colors from the image.
  3. Review the palette swatches alongside their hex codes and relative coverage.
  4. 上传并选择
  5. All processing runs entirely in your browser — nothing is stored or sent anywhere.

示例

  • 上传日落照片会提取大约 8 种阴影,范围从深橙色 (#c94a1b) 到柔和粉色 (#f2b89a)。
  • 上传具有平色的品牌徽标会返回确切的品牌颜色作为十六进制值,可粘贴到设计工具中。

生产环境使用前请验证输出。无担保 — 参见 条款.