How to pick a color from an image
- Add your image. Drop a file onto the box, click to browse, or paste a screenshot straight from your clipboard.
- Aim with the loupe. As you move over the image, a magnifier shows the pixels under your pointer, so you can hit a single pixel precisely.
- Click to pick. The color code appears on the right in HEX, RGB, HSL, HSV and CMYK. Click any code to copy it.
- Collect a set. Every click is saved under “Picked colors”, so you can grab several colors and copy them all at once.
Why use this color picker?
- Private: the image is processed locally in your browser and is never uploaded.
- Precise: pixel-level zoom plus optional 3×3 or 5×5 averaging for noisy photos and JPEG artifacts.
- Every format: HEX for CSS and design tools, RGB and HSL for code, CMYK as a starting point for print.
- Works on phones: drag your finger and the loupe floats above it so you can see what you are picking.
Frequently asked questions
How do I find the HEX code of a color in a picture?
Open the picture here, hover over the color you want and click. The HEX code (for example #5B4BFF) is shown at the top of the results panel; click it to copy.
Is my image uploaded anywhere?
No. Everything happens inside your browser using the HTML canvas. Closing the tab removes the image completely.
Why is the picked color slightly different from what I expected?
Photos contain noise and compression artifacts, so neighbouring pixels often differ a little. Switch “Sample” to 3×3 or 5×5 to average the area around the pointer.
Can I pick a color from my screen, not just an image?
In Chrome and Edge, use the “Pick from screen” button to sample any pixel on your display. In other browsers, take a screenshot and paste it here.
How do I get the main colors of an image instead?
Use the Palette from Image tool. It finds the dominant colors automatically and exports them as CSS, JSON or Tailwind config.