Pick colors from an image and get the HEX code
Open a logo, photo or screenshot, click or tap any point, and copy the exact color as HEX, RGB or HSL. The image’s dominant colors are pulled out for you too.
Your files never leave your device. Everything happens inside this browser tab. Nothing is uploaded, stored or logged, and the tool keeps working if you go offline after the page loads. Ads on this site are served by Google and may use cookies; they never see your files or what you type. Privacy policy.
Your image will appear here.
#1F4D3Argb(31, 77, 58)hsl(155, 43%, 21%)Main colors in the image
01
How it works
-
01
Open an image
Drop in a JPG, PNG, WebP or GIF, or paste one from your clipboard with Ctrl/⌘ + V.
-
02
Click to sample
Click or tap anywhere on the image. With a keyboard, focus the image and move the marker with the arrow keys.
-
03
Copy the code
Copy the HEX, RGB or HSL value, or pick from the dominant colors found in the image.
02
Questions
How do I find the HEX code of a color in a logo?
Open the logo here and click the colored area. The HEX code appears straight away with a copy button. Sample the middle of a shape rather than its edge, where colors blend into the background.
Is my image uploaded?
No. The image is drawn onto a canvas inside your browser and read there. It never leaves your device.
How are the dominant colors chosen?
The image is sampled and similar colors are grouped together. The groups covering the largest area are shown, most common first.
Why is the color slightly different from my design file?
Images saved as JPEG are compressed, which shifts colors a little, and some images carry a color profile. For exact brand colors, check the original design file or brand guide.
03
Related tools
Free, private and in the browser, like this one. See all tools
-
Images & color
Color Palette Generator
Build harmonious palettes and copy HEX, RGB or CSS.
Open tool -
Images & color
Image Compressor
Shrink JPG, PNG and WebP images and see the saving first.
Open tool -
Business & money
Email Signature Generator
A clean HTML signature for Gmail, Outlook and Apple Mail.
Open tool