Image Color Picker

Pick exact colors from any image and get their HEX, RGB and HSL codes. Zoom in with the magnifier for pixel-perfect picks, and extract the main color palette of a photo or logo automatically.

  • HEX, RGB & HSL
  • Pixel magnifier
  • Automatic palette
Drop an image here, click to choose, or paste with Ctrl+V Photos, screenshots, logos · nothing is uploaded

How to use the Image Color Picker tool

  1. Add an imageDrop a photo, screenshot or logo, click to choose one, or paste a screenshot with Ctrl+V.
  2. Hover and clickMove over the image to see the color under the magnifier, and click to pick it.
  3. Copy the codeCopy the HEX, RGB or HSL value. Every picked color is saved in the list below.
  4. Grab the paletteUse the automatically detected main colors, or copy them all as CSS variables.

Features

  • Magnifying loupeSee an enlarged view of the pixels around your cursor for precise picking.
  • Palette extractionFinds the eight most important colors in the image, ordered by how much of it they cover.
  • Pick from anywhereIn Chrome and Edge, use the screen picker to grab a color from any window or app.
  • Keyboard friendlyMove pixel by pixel with the arrow keys (Shift for 10 px) and press Enter to pick.
  • PrivateYour image is processed in your browser and never uploaded.

When you need a color picker

  • Match brand colors: get the exact HEX code of a logo when you don’t have the brand guidelines.
  • Design from a photo: build a color scheme for a website, presentation or room from a picture you love.
  • Front-end development: copy colors from a screenshot of a design mockup straight into CSS.
  • Art and crafts: find paint, yarn or fabric colors that match a reference image.

HEX, RGB and HSL

FormatExampleUsed in
HEX#7C3AEDWeb design, CSS, Figma, Canva
RGBrgb(124 58 237)CSS, Photoshop, video and screen work
HSLhsl(262 83% 58%)CSS, creating lighter and darker variants

Need CMYK for print, or contrast checks for accessibility? Paste the HEX code into our Color Converter.

Why does the same spot give slightly different colors?

Photos are made of many slightly different pixels because of lighting, texture, noise and JPEG compression. Use the magnifier and pick from a flat area, or use the automatic palette, which averages similar pixels into representative colors. For logos and graphics, use the original PNG or SVG rather than a compressed screenshot to get the exact brand color.

How the palette is found

The tool groups similar pixels using k-means clustering, a common technique for color quantization, and reports the average color of each group, ordered by size. It ignores transparent areas, so logos with transparent backgrounds give a clean palette.

Want to extract a color from an SVG logo? Convert it first with SVG to PNG.

Frequently asked questions

How do I find the HEX code of a color in an image?
Add the image, hover over the color and click. The HEX, RGB and HSL codes appear and can be copied with one click.
Can I get a color palette from a photo?
Yes. The main colors are extracted automatically when you add an image. Click a swatch to copy it, or copy them all as CSS variables.
Can I pick a color from my screen, not just an image?
In Chrome and Edge, click “Pick a color from anywhere on screen” to use the browser’s eyedropper.
Why is the color slightly different from the brand color?
Compression, lighting and screenshots change pixels slightly. Use the original logo file and pick from a flat area for the most accurate result.
Is my image uploaded?
No. Everything runs in your browser and the image never leaves your device.