Owner mode on: no ads, no wait. ✕
← All tools
🌈

Pick Colors from an Image

Pick colors from an image by uploading it and moving your cursor over any pixel: a magnifying loupe shows the exact spot while the HEX, RGB, HSL and HSV values update live. Click to save colors, or let the tool pull a dominant palette you can export as CSS variables, Tailwind config, JSON or a PNG — all in your browser, so your image is never uploaded.

Advertisement

How to use

  1. Open your image (or drag it in).
  2. Move your cursor over the image; the loupe zooms in for pixel-precise picking.
  3. Watch the HEX, RGB, HSL and HSV values update, and click to save a color.
  4. Adjust the palette size to auto-extract dominant colors.
  5. Copy any value, or export the palette as CSS, Tailwind, JSON or PNG.

FAQ

How do I get the HEX code of a color in an image?

Upload the image and hover over the spot you want. The HEX code (plus RGB, HSL and HSV) appears instantly, and a magnifier helps you land on the exact pixel. Click to save it, then copy.

Can it extract a whole color palette automatically?

Yes. The tool runs k-means clustering on the image to find its dominant colors. Use the slider to choose between 2 and 12 colors.

Are my images uploaded to a server?

No. Everything runs locally in your browser; your image never leaves your device.

What formats can I copy or export?

Copy any color as HEX, RGB, HSL or HSV. Export the palette as CSS variables, a Tailwind color object, a JSON array, or a downloadable PNG swatch strip.

Is it free and unlimited?

Yes — completely free, no sign-up, no limits and no watermark.

Related tools

Advertisement