色板提取

Extract frequently used colors from a reference image and copy their HEX values.

Use cases

Use it for pixel-art color analysis, UI color references, and identifying primary and secondary character colors.

如何采样颜色

为了在浏览器中快速处理,图像会缩小采样,使最长边约不超过 180 像素。工具会忽略大部分透明像素,把 RGB 值归入较粗的区间,并将样本中出现频率最高的区间作为代表色。

如何理解结果

结果是按出现频率生成的实用摘要,并不是色彩管理校样或数学上的最优调色板。当大面积背景占据图像时,小面积强调色可能被忽略;若强调色重要,建议先围绕主体裁剪图像。

推荐工作流程

先从参考图中提取代表色,再与配色推荐工具进行比较,最后在资源副本上使用减色工具,查看更少颜色下的实际效果。

使用方法

  1. 请选择图像。
  2. Choose between 3 and 16 colors.
  3. Click a color swatch to copy its HEX code.

Limitations

For fast browser processing, the image is downsampled and colors are grouped at fixed intervals. Results may differ from professional color quantization.

FAQ

Are transparent areas included?

Mostly transparent pixels are excluded.

How are colors ordered?

They are ordered by frequency in the sample.

相关工具

实际示例:从像素图提取代表色

对96×64测试图以8色目标分析。图片小于180px,因此不缩放,并使用与实际工具相同的32级RGB分桶和每4个像素采样。结果为 #002020、#204040、#40A0A0、#60E0FF、#FFC040。

输入 · 96×64测试图
输入 · 96×64测试图
结果 · 5种代表色
结果 · 5种代表色