Pick colors from any image and convert between HEX, RGB and HSL. 100% local.
The Color Picker lets you sample the exact color of any pixel in an image that never leaves your device, and convert between the three color formats the web actually uses: HEX, RGB and HSL. 颜色取色工具可以从任意图片上精确取色(图片不会上传),并在 HEX、RGB、HSL 三种格式之间互转。Click your way through a photo, build a palette, and copy values straight into your CSS or design tool.
Upload a photo, screenshot, product-page capture, or design draft — then simply click anywhere on it. The tool reads the pixel under your cursor locally and shows its HEX, RGB and HSL values, each with one-click copy. Every color you sample is added to the palette strip, so you can collect a full color set for a page, a campaign, or a brand in under a minute. 上传图片后在图上点击即可取色,取样结果自动加入色板,方便整套页面/主视觉配色。
Type into any field of the converter and the other two update instantly — useful when a spec sheet hands you HSL but your CSS expects HEX, or a design tool only accepts RGB.
The image is decoded and sampled entirely inside your browser — no upload, no tracking, and it keeps working offline. 图片在浏览器本地解码取色,不上传、不追踪,断网可用。
Q: Why does the color I picked look slightly off? / 取的颜色看着有色差? — JPEG photos carry compression artifacts, and displays add their own color profile. For exact values, pick from the original PNG/TIFF file where possible. JPEG 有压缩色差,尽量用原图取色。
Q: Can I use very large photos? / 大图可以用吗? — Yes. The canvas API handles images with several thousand pixels on any modern device. 支持,现代设备处理几千像素的图没有问题。
Q: How do I use the palette in CSS? / 色板怎么用? — "Copy Palette" gives you space-separated HEX values; paste them straight into your stylesheet or design tool. 复制色板为空格分隔的 HEX 值,直接粘进 CSS 或设计工具。