What this tool is for
Guessing a color by eye is hard, and being slightly off is enough to make a logo, slide or web page look "not quite right". This tool tells you the exact code of any point in an image.
Common uses:
- Finding a brand color. You only have the logo as a PNG, not the official color code — click the logo and copy the HEX.
- Web and social media design. Choosing text and background colors in Canva, a WordPress theme or a presentation that match a color in your photo.
- Colors from a screenshot. Getting the color of a site or app you like from a screenshot of it — step by step in How to find a color code from a screenshot or website.
- Paint, fabric and decor. Knowing the approximate RGB value of a shade in a photo so you can search for it in a paint chart or an online shop.
Which color code should I use?
| Format | Example | Where it's used |
|---|---|---|
| HEX | #2563EB | Websites, Canva, Figma, Photoshop, WordPress theme settings |
| RGB | rgb(37, 99, 235) | CSS, Office apps (Word and PowerPoint "More colors"), game and app settings |
| HSL | hsl(221, 83%, 53%) | Making lighter or darker shades of a color in CSS |
If in doubt, copy the HEX code — almost every program accepts it.
Getting an accurate result
- Use the original file. Screenshots can be affected by your screen's color settings and by compression. If you have the logo's original PNG or SVG, work with that; for an SVG, convert it first with SVG to PNG.
- Click a flat area. At edges two colors blend together (anti-aliasing). Clicking the middle of a solid area gives the true code.
- Average for photos. For natural surfaces such as sky, skin or fabric, a "5 × 5 average" gives a more representative color than one noisy pixel.
- Cut away what you don't need. If you want the palette of just a product or a logo, remove the surroundings first with Crop image.
If something goes wrong
"This image couldn't be opened." The file may be damaged or have the wrong extension. Try opening it in an image viewer first; iPhone photos (HEIC) are supported.
The Copy button doesn't work. Some browsers only allow writing to the clipboard on secure (https) pages. The code is still shown on screen, so you can select and copy it by hand.
The color I want isn't in the palette. The main colors are the shades that cover the most area, so a small detail may not make the list. Click that spot to add it to your picked colors — the palette card you download includes your picked colors too.