ToolPal

图像颜色提取器

上传任意图像,立即提取主要颜色的 HEX 和 RGB 值。非常适合想从照片、Logo 或截图中匹配颜色的设计师。

🖼️

将图像拖放到此处或点击上传

支持 JPG、PNG、WebP、GIF — 在浏览器本地处理

8

工作原理

通过采样所有像素,将相似色调分组(颜色量化),并返回最常见的组。所有处理在浏览器中进行,您的图像不会上传到任何服务器。

使用方法

上传任意图像,立即提取主要颜色的 HEX 和 RGB 值。非常适合想从照片、Logo 或截图中匹配颜色的设计师。

  1. 1Drag and drop your image onto the upload area, or click to open the file picker. Any web image format works: JPEG, PNG, WebP, GIF, SVG. Your image stays in the browser — nothing is uploaded to any server.
  2. 2Adjust the color count slider before or after uploading. 6-8 colors is good for most images. Push it to 12-16 for images with many distinct hues like a watercolor painting or infographic. For logos and brand images, 4-6 colors is usually enough.
  3. 3The palette strip at the top shows the colors proportionally by how much they appear in the image. Click any color swatch to copy its HEX code. Use 'Copy all' to get the full list as HEX + RGB + percentage for pasting into a design tool.
  4. 4Use the extracted colors in your CSS as variables, in Figma/Sketch as swatches, or in any design tool's color picker by entering the HEX code. The percentage shows how dominant each color is in the image — useful for choosing a primary vs. accent color.

主要功能

  • 100% browser-based — no server upload, complete privacy, works offline after page load
  • Color quantization algorithm — groups similar shades intelligently for a clean, usable palette
  • Proportional palette strip — visualizes how dominant each color is in the source image
  • Adjustable color count — extract 4 to 16 dominant colors depending on your needs

常见问题

了解更多