Skip to content
vladier

Color Picker from Image

Open or paste a picture, then click or tap the spot whose color you want.

Published Oct 22, 2026

How to pick a color from an image

  1. Press Open image, drop a picture onto the box, or copy an image or a screenshot and paste it with Ctrl+V (Cmd+V on a Mac).
  2. Move the pointer over the picture. The magnifier shows the pixels around it, and the small swatch above the result shows the color under the pointer.
  3. Click or tap to pick. The color appears in the big swatch with its HEX, RGB and HSL codes, and the HEX code is copied for you.
  4. Click any code to copy it in that format. Every color you pick goes into Picked colors, where one click copies it again.

With a keyboard, press Tab until the image is selected, move with the arrow keys (hold Shift to jump 10 pixels) and press Enter to pick. A sample sunset is loaded at the start, so you can try everything before you open your own file.

One pixel or an average?

A single pixel is exact, which is what you want for flat graphics such as logos, icons, charts and website screenshots. Photos are different. Even a clear blue sky is made of pixels that vary a little, and JPG compression adds its own noise. Set Sample size to 3 × 3 or 5 × 5 and the tool returns the average of that square, which is closer to the color your eye sees. The 9 × 9 option helps with grainy phone pictures taken in low light.

The main colors of a picture

Under the picked colors you get a palette of the colors that fill most of the image, with the share of the picture each one covers. It updates every time you open a new image. This is a quick way to build a color scheme from a photo you like: a beach photo gives sand, sea and sky tones, and a product shot gives you the colors to match on a flyer or a web page. Click a color to copy it, or use Copy all to get the whole list of HEX codes at once.

HEX, RGB and HSL in short

  • HEX, like #C0528A, is the format most design apps and CSS use. The three pairs are red, green and blue from 00 to FF.
  • RGB, like rgb(192, 82, 138), gives the same three values as numbers from 0 to 255.
  • HSL, like hsl(330, 47%, 54%), describes hue, saturation and lightness, which makes it easy to create a lighter or darker version of the color you picked.

The name under the swatch is the closest of the standard web color names. When the match is not exact it says “Near”, because only about 140 colors have a name.

Tips for accurate colors

  • Use the original file instead of a screenshot of it when you can. Screenshots of photos can shift colors slightly.
  • Turn off night mode or blue light filters on your screen. They change what you see, although the codes the tool reads from the file stay the same.
  • Pick from the middle of an area, away from edges, where pixels blend with the neighboring color.
  • For printing, treat the codes as a starting point. Screens show RGB light and printers mix CMYK inks, so a test print is the only sure check.

Want to see whether your monitor shows every color properly? Run the dead pixel test, which fills the screen with solid colors one after another.

Questions

Is my image uploaded anywhere?

No. The picture is opened by your browser and drawn on a canvas on this page. Nothing is sent to a server, and the image is gone as soon as you close or reload the page. Only the list of colors you picked is kept in your browser, so it is still there next time.

Why is the HEX code a little different from the one in my design file?

Photos and screenshots go through compression and color profiles, so neighboring pixels often differ by a few points. JPG files are the worst for this. Use the 3 × 3 or 5 × 5 average to smooth out noise, and pick from a PNG export when you need the exact color of a logo or a button.

What are the main colors in the image?

They are the colors that cover the biggest parts of the picture. The tool groups similar pixels with a method called median cut and shows the average of each group, with the share of the image it covers. Choose from 4 to 10 colors.

Which image types can I open?

Any format your browser can show, which in practice means JPG, PNG, WebP, GIF, BMP and SVG, plus AVIF and HEIC in browsers that support them. Very large pictures are scaled down to 1,600 pixels on the longer side, which keeps the tool fast and does not change the colors in a way you would notice.

Does it work on a phone?

Yes. Tap Open image to choose a photo from your gallery or take a new one, then tap the spot whose color you want. Swiping over the image scrolls the page as usual, so a short tap is what picks the color.