Pick a color from your image

Drop an image here.

JPEG, PNG & WebP · Up to 30 MB · 16 MP

Image Color Picker

Use our free Image Color Picker to pick a color from an image and copy its HEX, RGB, or HSL code. Open a photo, logo, or screenshot, select a pixel, and collect colors in a small palette. Your image stays in your browser, with no account or installation needed.

How to pick a color from an image

Find a color code from an image on your computer, tablet, or phone. Start with the clearest original file available.

  1. Choose your image

    Click Choose image or drop a JPEG, PNG, or still WebP into the upload area. The preview fits the available space while keeping the complete picture visible.

  2. Select a pixel

    Click or tap the area you want to inspect. Drag to adjust your selection and use the magnified view to see nearby pixels. On a keyboard, focus the image, move with the arrow keys, and press Enter to save a color.

  3. Copy the color code

    Click HEX, RGB, or HSL to copy that value. Select more areas to build a palette, or choose a previous swatch to view its codes again. Copy palette copies the saved HEX codes on separate lines.

Understand HEX, RGB, and HSL color codes

The format you need depends on where you plan to use the color. These examples describe the same muted green in three common formats.

#6C816E

HEX color from image

HEX uses six characters to describe red, green, and blue. It is a convenient choice for website styles, presentation themes, and design apps. Copy the complete value, including the #, when your editor expects a HEX code.

rgb(108, 129, 110)

RGB color from image

RGB expresses the same color as three channel values from 0 to 255. Use this format when an app asks for red, green, and blue separately, or paste the complete rgb() value into a CSS color property.

hsl(126, 9%, 46%)

HSL color from image

HSL describes hue, saturation, and lightness. It can make a sampled color easier to understand when planning lighter backgrounds or less saturated accents in another editor. The picker reports rounded HSL values, so small rounding differences are possible.

Build a color palette from an image

A photo can provide useful starting colors for a website, social post, or presentation. Pick a background, a darker text color, and an accent from the same image to compare them together. The palette keeps up to 12 unique picked colors, with your newest selection first.

You choose each color yourself; this is not an automatic dominant-color extractor. Selecting an existing color moves it to the front instead of adding a duplicate. When the palette is full, the oldest color is replaced. Changing the image starts a fresh palette, so copy any codes you want to keep first.

Get accurate colors from a photo

The picker samples an original image pixel, even when the preview is displayed smaller. A photo contains many nearby shades, so where you click matters.

Sample inside a solid area

Avoid the edge of lettering or a small object when you want its main fill color. Smooth edges, shadows, reflections, and JPEG compression can change individual pixels. Inspect several nearby points rather than assuming one sample describes the whole object.

Use the original picture

A screenshot or compressed copy may differ from the original artwork. The codes describe the browser-decoded image in sRGB, not a guaranteed print, paint, or Pantone match. Lighting and camera processing also affect the colors recorded in photographs.

Check transparent backgrounds

Transparent pixels are read against white, matching the preview in both light and dark mode. A partially transparent color is blended with white before its code is shown; a fully transparent pixel returns white. Opacity values are not included.

Pick colors locally in your browser

The tool reads your selected image on your device without uploading it. Sampling does not edit or overwrite the original file. The image and palette stay in this page session; refreshing or leaving the page clears them. Copy the codes before closing the page.

Supported files and image limits

Open one JPEG, PNG, or still WebP at a time, up to 30 MB and 16 megapixels. Neither side can exceed 16,384 pixels. Animated files, GIF, HEIC, TIFF, and RAW are not supported. If a file is too large, choose a smaller copy.

Need to prepare the picture first? Use Image Rotator for a sideways photo or Image Flipper to mirror it. To hide visible details before sharing, open the Image Blur Tool.

Image Color Picker help

Image Color Picker FAQs

Answers about picking photo colors, copying codes, and building your palette.

Choose a JPEG, PNG, or still WebP, then click or tap the part of the image you want to sample. The Image Color Picker shows its HEX, RGB, and HSL values. Click a value to copy it.

Open your photo and select a pixel. The HEX field shows a six-digit color code beginning with #. Click that field to copy the code for a website, design app, or document.

Yes. Every selected pixel has an RGB value alongside its HEX and HSL codes. Click the RGB field to copy the red, green, and blue values in CSS rgb() format.

Yes. Pick colors manually to build a palette of up to 12 unique colors. Copy palette copies their HEX codes, one per line, with the most recent first. Colors are not extracted automatically.

Yes. You can pick colors and copy their codes without paying, creating an account, or installing an app.

No. The color picker opens and reads the selected image locally in your browser. Your image and picked palette are not uploaded by the tool.

Use JPEG, PNG, or still WebP files up to 30 MB and 16 megapixels, with no side exceeding 16,384 pixels. GIF, HEIC, TIFF, RAW, and animated files are not supported.

Yes. Open the tool in a modern mobile browser, choose a photo, and tap the image to select a color. Drag across the image to adjust your selection, then release to save the color to your palette.

Shadows, texture, compression, and smooth edges can give neighboring pixels different values. The tool reads one original image pixel at a time. Use the magnified preview to inspect the area before choosing.

Transparent and partially transparent pixels are read against white, matching the image preview. A fully transparent pixel therefore gives #FFFFFF. The tool does not output an alpha or opacity value.

Yes. Focus the image and press an arrow key to move one original image pixel. Press Enter or Space to save that color to the picked palette. This helps when the displayed image is smaller than its original size.

No. It provides HEX, RGB, and HSL values from the browser-decoded image. It does not identify paint brands, Pantone matches, or the physical color of an object under different lighting.