Your pixels stay on your device.

Color Picker from Image

Click a pixel, get its HEX and RGB.

Loading workspace…

A color picker from image reads the exact color of any pixel you click and gives you the code to paste into CSS, a brand guide, or a design file. Open a JPG, PNG, WebP, AVIF, HEIC, GIF, or BMP, then copy HEX, RGB, HSL, HSV, CMYK, or OKLCH, plus the nearest color name.

Open one image of up to 50 MB. The tool accepts JPG, PNG, WebP, AVIF, HEIC, GIF (first frame only), and BMP. Drag the file in, paste it, choose it from disk, or take a photo with the camera.

Runs in your browser. Nothing is uploaded.

Formats
JPG · PNG · WebP · AVIF · HEIC · GIF +1
Max file
50 MB
A cursor with an 8× loupe clicks a petal and the HEX, RGB, and color name appear beside a row of recent swatches
A cursor with an 8× loupe clicks a petal and the HEX, RGB, and color name appear beside a row of recent swatches

How to Get a HEX Code from a Picture

  1. Open your photo or screenshot. Drag it onto the page, paste it, choose a file, or take a picture with your camera.

  2. Move the pointer over the area you want. The 8× loupe, on by default, shows the pixels under the cursor so you can land on the right one.

  3. Click to sample. The default is a single pixel. If the photo is a noisy JPG, switch to a 3×3 or 5×5 average so compression noise does not throw the reading off.

  4. Choose which formats to show. HEX and RGB are on by default; you can also show HSL, HSV, CMYK, and OKLCH.

  5. Copy the value you need, or export the recent picks as an ASE or JSON file.

  6. To sample a color already on your screen but not in a file, use the screen eyedropper in Chromium browsers such as Chrome and Edge.

Color Picker from Image Features

HEX, RGB, and the Other Codes You Actually Paste

Most people come here for a hex code, so HEX and RGB show up together by default. If a stylesheet, print spec, or design token needs a different notation, turn on HSL, HSV, CMYK, or OKLCH and copy that string. You can also export the history as ASE or JSON.

An 8× Loupe and One-Pixel or Averaged Samples

The loupe magnifies the pointer area 8× so you can see the exact pixel before you click, which helps on a phone or on a thin border. The default sample size is 1 px, which is right for a flat, clean color. For a compressed JPG with speckled noise, a 3×3 or 5×5 average is more stable than trusting a single noisy pixel.

Color Names Next to the Code

With color names on (the default), the tool finds the nearest name from CSS named colors and a list of about 1,500 common names, using CIEDE2000 as the distance. That covers the "color picker from image with name" search: you get the code and a label for a brief. Turn the names off if you only want the numeric values.

A History of the Last 20 Colors

Click through a logo, a product shot, and a screenshot, and the last 20 colors stay in a list so you can copy any of them again or export the set. The list is for this session's picks; it does not edit the photo itself.

A Screen Eyedropper, Without Installing an Extension

A "color picker from image extension" is usually wanted to sample a color from a live page or another window. The screen eyedropper uses the browser's EyeDropper API and works in Chromium browsers such as Chrome and Edge. In Firefox and Safari the button is hidden, because those browsers do not support the API yet; open a screenshot instead.

Color Picker from Image Use Cases

Pulling a Brand HEX Code from a Logo or Product Photo

A marketer or designer is handed a logo PNG or a product shot and asked for the official red, with no brand guide attached. Open the file, click a flat area of the logo with the 1 px sample, and avoid anti-aliased edges that mix the brand color with the background. Copy the HEX for the web team, or RGB or CMYK if a print vendor asks for a different notation. Then build a fuller scheme with a color palette generator, or change color of image if you need to swap that swatch in the asset itself.

Matching a Color from a Screenshot of a Website or App

A developer is restyling a page and needs to match a button or a chart series that only exists on screen. Capture the interface, open the screenshot here, and click the fill. If the capture is a slightly compressed JPG, use a 3×3 average so a single noisy pixel does not drift. The reading is the sRGB value stored in the file, which is what CSS expects. If you still need to grab the screen first, take a screenshot and open that file here.

Putting a Color Name on a Physical Sample

A buyer, stylist, or teacher photographs a fabric, a paint chip, or a flower and needs to describe the color in writing, not only as a hex string. Take the photo with the camera on a phone, click a representative area, and keep the color name that appears next to the code. Names are the nearest match from CSS names and a 1,500-color list, so treat them as a useful label, not a laboratory identification.

Sampling Colors on a Phone for a Design or Code File

You are out with a phone and want the color of a storefront, a package, or a poster before you forget it. Open the color picker from image in the mobile browser, take a photo or paste one from the camera roll, and use the loupe to land on the right pixel with a finger. Copy the HEX into a note. No account and no extension are required.

HEX, RGB, HSL, and CMYK: Which Code to Copy

HEX and RGB describe the same sRGB color; HEX is just the compact form used in CSS (#C45A2A is the same as rgb(196, 90, 42)). HSL and HSV rearrange that color into hue, saturation, and lightness or value, which is handy when you want to nudge a color without guessing a new hex string. OKLCH is often more uniform when you change lightness. CMYK values here are a conversion from the file's sRGB numbers, not a press-profiled recipe, so a print vendor may still adjust them.

Displays and some editors also apply color management. This tool reads the sRGB values stored in the file. If a desktop app shows a color-managed preview, its eyedropper can disagree by a few units. For a web color, trust the file's sRGB numbers.

Is the Color Picker from Image Private?

Yes. The color picker from image runs in your browser. Files you open from your device are read locally with the canvas, and the color name lookup runs on your device too. Nothing is uploaded to our server.

Color Picker from Image FAQ

How do I get a hex code from an image?

Open the picture, click the pixel you want, and copy the HEX value. HEX and RGB are shown by default. Use the 8× loupe if the area is small, and stay away from anti-aliased edges. To copy RGB, HSL, HSV, CMYK, or OKLCH, turn that format on.

How do I pick a color from a photo on iPhone?

Open this page in Safari, or any browser on Android, choose a photo from the roll or take one with the camera, then tap the spot you want. The loupe helps a finger hit a single pixel. You can copy the HEX code and the color name without installing an app.

Can I pick colors from a screenshot?

Yes. Save or paste the screenshot, then click the area you want. This is the usual workaround when the color lives in a video, a window, or a browser that does not support the screen eyedropper. For a slightly compressed screenshot, a 3×3 sample is often steadier than 1 px.

Can I pick a color from anywhere on my screen?

Yes, in Chrome, Edge, and other Chromium browsers that support the EyeDropper API. Use the screen eyedropper and click any pixel on the display. Firefox and Safari do not support that API yet, so the button is hidden there; take a screenshot and open the file instead. You do not need a browser extension.

Can I get the color name, not just the code?

Yes. Color names are on by default. The tool finds the nearest name from CSS named colors and a list of about 1,500 common names, using CIEDE2000 distance. The name is a convenient label, not a branded paint or fabric name. Turn names off if you only want numeric codes.

Why is the color slightly different from what I expected?

The reading is the sRGB value stored in the file, not a color-managed preview of your display. A desktop design app can show a different number if it is applying a display profile. JPEG noise can also shift a 1 px sample; try a 3×3 or 5×5 average, and avoid anti-aliased edges.

Is my image uploaded to a server?

No. When you open a file from your device, or paste it, the color is read in the browser and the file is not uploaded. You do not need to sign in.

Is this color picker from image free, and do I need to sign up?

Yes, it is free, and no, you do not need an account or an install. You can pick colors, copy codes, and export ASE or JSON without registering. There is no watermark because the tool only gives you color values; it does not re-export the photo.

What to Do Next After Picking a Color from an Image

01Build a Palette Around the Color You Picked

02Recolor or Grade the Photo

All tools