Image Color Picker

Click any pixel of a photo, logo or screenshot and get its exact HEX, RGB, HSL and OKLCH code. Found a color you like? Build a palette around it on the Color Wheel or swap it for another with the Image Color Replacer.

Drop an image here or click to browse - you can also paste with Ctrl+V PNGJPGWEBPGIFAVIFSVGBMP
Try a sample:

Export

:root custom properties

CSS variablesPick a few colors first

How to pick a color from an image

  1. Open your image. Drop an image on the page, browse for one, paste it with Ctrl+V or try a sample. Nothing is uploaded.
  2. Aim with the magnifier. Move over the image - the magnifier shows every pixel. Zoom in with the buttons or Ctrl + scroll, and nudge the point with the arrow keys.
  3. Click to pick. Click to add the color to your list. Use a larger sample size to average noisy photos.
  4. Copy or export. Copy the HEX, RGB, HSL or OKLCH code, or export all colors for Photoshop, Procreate, Figma or GIMP, as CSS, Tailwind or JSON, as a PNG or SVG swatch sheet, or everything in one ZIP.

Only need part of a big photo? Trim it first with the Image Cropper - the main colors then describe just that area.

HEX, RGB, HSL or OKLCH?

All four describe the same color - they are just different ways of writing it down. Pick the one your project uses.

FormatExampleBest for
HEX#3399CCCSS, design apps, brand guides - the most common
RGBrgb(51, 153, 204)Code that needs separate red, green and blue values
HSLhsl(200, 60%, 50%)Making a color lighter or darker by hand
OKLCHoklch(64.8% 0.119 235)Modern CSS - even steps of lightness that match the eye

Need to switch a whole stylesheet between formats? The CSS Color Editor converts them for you.

Tips for picking the right color

  • Zoom in on edges. Pixels at the edge of a shape mix two colors. Zoom to 400% or more and pick from the middle of the area.
  • Average photos. A 5 x 5 sample gives a steady result on skin, sky and fabric, where single pixels jump around.
  • Use the original file. Screenshots and compressed copies shift colors slightly. If you only have a WEBP, the result still matches it exactly - convert with WEBP to PNG if your app cannot open it.
  • Check readability. Before using a picked color for text, test it with the Contrast Checker.
  • Turn it into a palette. Send a color to the Color Wheel for matching shades, or blend two in the Gradient Generator.

Frequently Asked Questions

Drop the image on the page, paste it with Ctrl+V or open a sample. Move over the image - the magnifier shows the pixels under your cursor - and click to pick.

The color goes into your list with its HEX, RGB, HSL and OKLCH codes, ready to copy.

Yes. Colors are read from the image at its full, original resolution, not from the smaller preview on your screen - zoom level and retina screens do not change the result.

With Sample size at 1 x 1 you get the exact pixel. Larger sizes give the average of the pixels around it.

Photos and JPG files are full of tiny noise, so two neighboring pixels are rarely identical.

Set Sample size to 3 x 3, 5 x 5 or 11 x 11 and the tool averages the pixels around your click - that is the color your eye actually sees.

As soon as the image opens, the tool groups similar pixels and shows the main colors under the image, biggest areas first, with the share each one covers.

Click a color to add it to your list, or Add all to take the whole palette. For mood-based palettes try the AI Color Palette.

Yes, in Chrome, Edge and Opera on a computer. Click Screen picker and then click anywhere on your screen - another tab, an app or your desktop.

Other browsers do not offer this yet, so the button is hidden there.

Use the Export panel and choose Your colors or Main colors. Design apps: Adobe ASE, Photoshop ACO, Procreate, Figma variables and GIMP. Code: CSS variables, SCSS, Tailwind, JSON or a plain list.

Image: a PNG or SVG swatch sheet, or take Everything (ZIP). The real file size is shown before you download. Want to tweak a color first? Open it in the CSS Color Editor.

Any format your browser can open: PNG, JPG, WEBP, GIF, BMP, SVG and AVIF in most browsers.

iPhone HEIC photos open in Safari only - elsewhere, convert them first with HEIC to JPG.

No. The image is opened and read in your browser and never leaves your device.

Your picked colors are saved in this browser only, so they are still here next time - see our Privacy Policy.

Guides & Tutorials

All 45 guides
New Tutorial How to Take a Full Page Screenshot of Any Website Nov 13, 2026 · 6 min read Read New Tutorial How to Add a Favicon to Your Website (2026 Setup) Nov 13, 2026 · 4 min read Read New Tutorial How to Remove the Background from a GIF (and Keep the Animation) Nov 13, 2026 · 4 min read Read