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
- HEX
#3AA0C4 - RGB
rgb(58, 160, 196) - HSL
hsl(196, 54%, 50%) - HSV
hsv(196, 70%, 77%) - CMYK
cmyk(70%, 18%, 0%, 23%)
Find any color in three steps
Add an image
Upload a file, drag and drop it, paste it from your clipboard, or paste a link to any image online.
Hover and click
Move over the image to preview colors in the magnifier. Click (or tap) to lock in the exact pixel you want.
Copy the code
Copy the color as HEX, RGB, HSL, HSV or CMYK, or grab the whole palette as a list or CSS variables.
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.
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 →| Format | Example | Best for |
|---|---|---|
| HEX | #3AA0C4 | CSS, HTML, design tools, sharing colors |
| RGB | rgb(58, 160, 196) | Screens, code that needs transparency |
| HSL | hsl(196, 54%, 50%) | Making lighter, darker or muted variants |
| HSV | hsv(196, 70%, 77%) | Color pickers in Photoshop and similar apps |
| CMYK | cmyk(70%, 18%, 0%, 23%) | Printed material such as flyers and packaging |
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.
Keep working with your colors
Color Converter →
Convert between HEX, RGB, HSL, HSV and CMYK, with tints, shades and harmonies.
Contrast Checker →
Test text and background colors against WCAG AA and AAA accessibility standards.
Color Theory →
Learn the color wheel, harmonies, tints and shades, and how to combine colors with confidence.
Learn more about color
HEX, RGB, HSL and CMYK Explained
A practical guide to the four most common color formats: how each one works, when to use it, and how to convert between them.
How to Get the Exact Color From an Image
Step-by-step instructions for picking accurate color codes from photos, logos and screenshots, plus the common mistakes that give you the wrong color.
How to Create a Color Palette From a Photo
Turn any photograph into a usable color palette for websites, brands and illustrations, using the 60-30-10 rule and a few simple checks.
Color Contrast and Accessibility (WCAG) Guide
What contrast ratios mean, what WCAG AA and AAA require, how the ratio is calculated, and how to fix colors that fail.
Color Psychology: What Colors Mean
How colors influence mood and perception, what each major hue tends to communicate, and how culture changes the meaning.
RGB vs CMYK: Why Colors Change When You Print
Why bright screen colors look dull on paper, what color gamut means, and how to prepare files so prints match your design.
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.