Free image color picker

Get the color codes from any image

Upload a photo, screenshot or logo, then click anywhere on it to get the exact HEX, RGB, HSL and CMYK values. The dominant color palette is extracted for you automatically.

Sample imageDrag & drop, paste (Ctrl/⌘+V) or upload

Preview
#3AA0C4
Selected
#3AA0C4
  • HEX#3AA0C4
  • RGBrgb(58, 160, 196)
  • HSLhsl(196, 54%, 50%)
  • HSVhsv(196, 70%, 77%)
  • CMYKcmyk(70%, 18%, 0%, 23%)
How it works

Find any color in three steps

1

Add an image

Upload a file, drag and drop it, paste it from your clipboard, or paste a link to any image online.

2

Hover and click

Move over the image to preview colors in the magnifier. Click (or tap) to lock in the exact pixel you want.

3

Copy the code

Copy the color as HEX, RGB, HSL, HSV or CMYK, or grab the whole palette as a list or CSS variables.

Features

Everything you need to pull colors from images

Built to be fast, accurate and simple. Open the page and start picking, with nothing to install.

Pixel-perfect magnifier

A zoomed loupe shows the pixels around your cursor so you can hit exactly the color you want, even on small details.

Automatic palette

The dominant colors of every image are extracted instantly and ranked by how much of the picture they cover.

Load images from a link

Paste the address of any online image. No need to download it first and upload it again.

Private by design

Uploaded images are processed entirely in your browser. Nothing is stored and there is no account to create.

Five color formats

Every color is shown as HEX, RGB, HSL, HSV and CMYK, with one-click copy for each value.

Pick from your screen

In Chrome and Edge, use the screen eyedropper to grab a color from any window or app on your computer.

Color formats

Which color code should you use?

Every color you pick is shown in five formats. They describe the same color in different ways, so the right one depends on where you are going to use it.

Read the full guide →
FormatExampleBest for
HEX#3AA0C4CSS, HTML, design tools, sharing colors
RGBrgb(58, 160, 196)Screens, code that needs transparency
HSLhsl(196, 54%, 50%)Making lighter, darker or muted variants
HSVhsv(196, 70%, 77%)Color pickers in Photoshop and similar apps
CMYKcmyk(70%, 18%, 0%, 23%)Printed material such as flyers and packaging
Who it’s for

Used by designers, developers and makers

Web designers

Match a site’s colors to a client’s photography, logo or existing marketing material.

Developers

Pull exact HEX values from mockups and screenshots, then paste them straight into CSS.

Brand & marketing

Identify the colors in a logo or campaign image to keep social posts and slides on-brand.

Artists & illustrators

Study how painters and photographers use color, and build reference palettes from their work.

Interior & fashion

Capture the colors of a room, fabric or outfit and find paints or materials that match.

Print designers

Get approximate CMYK values from reference images before you check them against a proof.

FAQ

Frequently asked questions

Can’t find what you need? Suggest a feature or get in touch.

How do I get the color code from an image?

Upload the image, drag it onto the picker, paste it with Ctrl+V (Cmd+V on Mac), or paste a link to it. Move your cursor over the image to preview colors in the magnifier, then click to select one. The HEX, RGB, HSL, HSV and CMYK values appear on the right, each with a copy button.

Is Color From Image free?

Yes. Every tool on the site is completely free, with no sign-up, no watermark and no limit on how many images you check.

Are my images uploaded to a server?

No. Images you upload, drop or paste are read directly in your browser and never leave your device. Only when you load an image from a web link does our server fetch that image on your behalf, because most websites block other sites from reading their images directly. Those images are passed straight back to your browser and are not stored.

Which image formats are supported?

Any format your browser can display, including JPG/JPEG, PNG, WebP, GIF, SVG, BMP, ICO and AVIF. On recent versions of Safari you can also open HEIC photos from an iPhone.

How does the palette extraction work?

The picker samples up to 20,000 pixels from your image and groups similar colors together using a technique called median-cut quantization. Each group is averaged into a single color, and the results are sorted by how much of the image they cover. Very similar colors are merged so the palette stays useful.

Why is the color slightly different from what I expected?

Photos rarely contain one perfectly flat color. Lighting, shadows, JPEG compression and anti-aliased edges all create small variations between neighbouring pixels. Use the magnifier to aim for the centre of a flat area, and avoid edges, gradients and text outlines. If you need a brand color, check whether an official HEX value has been published.

Can I pick a color from anywhere on my screen?

Yes, in Chrome, Edge and Opera. Click "Pick from screen" to use the built-in browser eyedropper, which lets you pick any pixel on your display, including other windows and apps. The button is hidden in browsers that do not support it yet, such as Firefox and Safari.

Does it work on phones and tablets?

Yes. Tap the image to select a color, or drag your finger across it to see colors change. You can upload directly from your photo library or camera.

What is the difference between HEX, RGB, HSL and CMYK?

HEX and RGB describe the same thing, the amount of red, green and blue light in a color, written in different ways. HSL describes a color by hue, saturation and lightness, which is easier for people to adjust. CMYK describes how much cyan, magenta, yellow and black ink are needed to print a color. Use HEX, RGB or HSL for screens and CMYK for print.