Image Color Picker
Open a photo or paste a screenshot, then click any pixel to get its HEX, RGB and HSL code and the closest color name. A zoom loupe shows exactly which pixel you are on. Nothing is uploaded.
Open an image to pick colors from
Move over the picture and click to get HEX, RGB, HSL and the color name. Or paste a screenshot with Ctrl+V.
Drop files here or press Ctrl+V. JPG, PNG, WebP, AVIF, GIF, HEIC, SVG and PSD.
Or start with a blank canvas
What is an image color picker?
An image color picker reads the color of a pixel in a picture and shows it as codes you can paste into a design app, a website or your code. The eyedropper is on as soon as the image opens, and a zoom loupe follows your pointer so you see the exact pixel before you click. On a touch screen the loupe sits above your finger. Each pick shows HEX, RGB, HSL, HSV, OKLCH and CMYK, the nearest CSS color name and the nearest Tailwind CSS color. For photos, you can average a square of pixels, up to 31 × 31, instead of reading a single one. Most tools that work as a color picker from an image stop at the code. This one lives inside a photo editor, so you can use the color on the picture straight away.
How to pick a color from an image
- Choose Open File, drop an image on the page or paste a screenshot with Ctrl+V. The eyedropper is ready straight away.
- Move over the picture and watch the zoom loupe. For photos, set the sample size to 5 × 5 or larger to average out noise.
- Click or tap to pick. With a keyboard, use the arrow keys to move one pixel at a time and press Enter to pick.
- Copy the HEX, RGB, HSL, HSV, OKLCH or CMYK code with one click, and check the contrast against white and black text.
- Use the color for text, a shape or the background in the editor, or keep it in your list of picked colors for later.
Why pick colors here
- Average out photo noiseSample 1 × 1, 3 × 3, 5 × 5, 11 × 11 or 31 × 31 pixels for a color that matches what you see.
- Six formats, names and TailwindHEX, RGB, HSL, HSV, OKLCH and CMYK, plus the nearest CSS name and Tailwind CSS color, each one click to copy.
- Use the color straight awayApply it to text, shapes or the background in the same editor.
- Contrast check built inSee WCAG AA and AAA results against white and black text before you use a color.
- Pick from anywhere on screenIn Chrome and Edge on desktop, grab a color from outside the image too.
- PrivateThe image is read in your browser tab and never uploaded.
What people pick colors for
- Brand colors from a logo, a website screenshot or a packaging photo
- A website or slide theme that matches a hero photo
- Text colors that match a photo for social posts and thumbnails
- Reference colors for digital painting and illustration
- Outfit, makeup and paint ideas from a photo (screens and prints differ, so check real samples)
- School projects and color theory homework
Color codes explained
Every pick is shown in six formats plus a color name. Here is the same blue in each one, and where you would use it.
| Format | Example | Where it is used |
|---|---|---|
| HEX | #1E90FF | CSS and HTML, Figma, Canva and the color fields of most apps |
| RGB | rgb(30, 144, 255) | CSS, screens and image editors; each value runs from 0 to 255 |
| HSL | hsl(210, 100%, 56%) | CSS; change the last number to make lighter or darker shades |
| HSV (also called HSB) | hsv(210, 88%, 100%) | Color pickers in Photoshop, Figma and GIMP; not valid in CSS |
| OKLCH | oklch(65.2% 0.19 253.2) | Modern CSS and the Tailwind CSS v4 palette; good for even shade scales |
| CMYK | cmyk(88%, 44%, 0%, 0%) | Print; a simple conversion, so ask your printer for a proof |
| CSS color name | dodgerblue | CSS and HTML; one of 148 named colors |
All values are sRGB, the standard color space of the web. Printed colors depend on paper and ink, so treat CMYK as an estimate.
Example: a brand blue from a logo screenshot
Paste a screenshot of a logo and click the blue with a 5 × 5 sample. It reads #1E90FF, or rgb(30, 144, 255), and the nearest CSS name is dodgerblue. The contrast check shows that white text on this blue fails WCAG AA at normal text sizes (the ratio is about 3.2 to 1), while black text passes AA at about 6.5 to 1. So you use the blue as the background, add a black text layer on top and save the banner.
What to expect from the result
Images from a web address cannot be opened, because most sites block other pages from reading their pictures; take a screenshot and paste it instead. Codes are sRGB values, so colors from wide-gamut photos are converted to sRGB first. CMYK is a simple conversion without a printer profile, so use it as a starting point, not for print proofing. Picking from anywhere on the screen works in Chrome and Edge on desktop only. There is no Pantone matching.
Image color picker FAQ
How do I find the color code of a color in an image?
Open the image on this page, move over the color and click it. The HEX, RGB, HSL, HSV, OKLCH and CMYK codes appear at once, each with a copy button. For photos, use a sample size of 5 × 5 or more so one odd pixel does not throw off the result.
What color is this? How do I find the name of a color in a photo?
Click the color and the picker shows the nearest CSS color name, such as tomato, teal or dodgerblue, and the nearest Tailwind CSS color, such as sky-500. Names are the closest match from a fixed list, so a color from a photo will often sit between two names.
Can Google identify a color from an image?
Google's own color picker, which appears when you search for one, lets you choose a color by hand and shows its codes, but it cannot read a picture. Google Lens and AI chat apps can describe a color in words, but they do not reliably give its exact code. For an exact code from your own photo, use an image color picker like this one.
Does Chrome have a built-in color picker?
Chrome DevTools has an eyedropper for colors on web pages, and Chrome and Edge on desktop also let websites open a screen eyedropper. This page uses that feature for picking a color from anywhere on your screen, not just from the opened image.
Why do pixels next to each other have different codes?
Photos, and JPG files in particular, change slightly from pixel to pixel because of light, camera noise and compression. A single pixel can be a little off from the color you see. Set the sample size to 5 × 5 or 11 × 11 to average a small area and get the color your eye reads.
Can I pick colors on my phone?
Yes. Tap the picture to pick. The zoom loupe sits above your finger, so your finger does not hide the pixel you are aiming at. Screenshots work too: take one, then open it from your photos.
Are my photos uploaded anywhere?
No. The editor runs in your browser tab and reads your files directly from your device. There is no upload step, no account and no server copy. When you close the tab, the working copy is gone unless you saved it.
More image tools that stay on your device
Cut out a subject with the background remover, erase unwanted things with remove object from photo, or hide faces with blur face, then bring the result in as a layer. To change many files at once, use the image resizer. Before you share a photo, strip its location with the photo metadata remover.