取色器 / 调色板
在图片上点一下就能取到那个像素的颜色,也能自动提取整张图的主色调。
在图片上点一下就能取到那个像素的颜色,也能自动提取整张图的主色调。
How to use: 1) Drop in an image and click or drag on it to pick colours. 2) Read HEX / RGB / HSL / CMYK and copy whichever you need. 3) Switch to palette extraction, choose the colour count, then export the palette and a PNG swatch card.
提取的主色和原图为什么会有偏差?
统计前会把图片降采样到最长边 400px,小面积的颜色可能被合并;这样做是为了让大图不卡死。
用的是 k-means 吗?
不是,用的是中位切分(median cut)。图片真实颜色数少于所选数量时,返回的颜色会少于所选值。
Why can extracted colours differ slightly?
The image is downsampled to a 400 px longest edge before counting, so tiny colour areas may merge — this keeps large images responsive.
Is it k-means?
No, it uses median cut. If the image has fewer distinct colours than requested, you get fewer colours back.
全程在浏览器本地处理,文件不上传;如需不限次数使用,VIP 会员 可解锁全部 29 个工具。