How to find a color code from a screenshot or website
Take a screenshot of a color you like and get its HEX code in one click — on your phone or your computer
By Metin Ersoy · Updated November 8, 2026
Why a screenshot
The simplest way to get the code of a color you see on a website, in an app or in a slide, and one that works on every device, is to take a screenshot and click the color in the image. You don't need to install a program, add a browser extension or read the page's code. The same method works for an Instagram post, a game menu or a table inside a PDF.
1. Take a screenshot
| Device | Shortcut | Where it's saved |
|---|---|---|
| Windows | Win + Shift + S → select an area | Copied to the clipboard; save it from the notification (Pictures → Screenshots) |
| Mac | Cmd + Shift + 4 → select an area | Desktop |
| iPhone | Side button + volume up | Photos |
| Android | Power + volume down | Gallery → Screenshots |
Tips:
- Make the color big. Zoom the page in (Ctrl / Cmd and +) until a small button fills the screen before you capture it; that makes it easy to click the right spot later.
- Turn off night light and blue-light filters. On some devices they change the tone of the screenshot as well as the screen.
- Save as PNG if you can. JPG compression shifts even flat colors a little. The Windows Snipping Tool and Mac screenshots already save PNG.
2. Open the image and click the color
- Open the Image color picker and choose or drop your screenshot. If the shot is on your clipboard, press Ctrl+V (Cmd + V on a Mac) on the page instead.
- Move the pointer over the image; the color under it shows live.
- Click the color you want. The HEX, RGB and HSL codes appear, each with a "Copy" button.
- Need several colors? Click each one and they're added to "Colors you picked". "Download palette (PNG)" gives you a color card with the codes written on it.
If the screenshot is on your phone, open the same page in your phone's browser, pick it from your gallery and tap the color.
3. Use the code
- Canva, Figma, Photoshop: paste the code starting with
#into the HEX box of the color picker. - Word, PowerPoint, Excel: Font color → More colors → Custom; type the RGB values, or use the HEX box in recent versions.
- WordPress and site builders: paste the HEX code into the color field in the theme settings.
- Social media graphics: using the same HEX codes across every post makes an account look consistent and deliberate.
Another way on a computer: browser developer tools
If you know the color is part of a web page, right-click the element in Chrome or Edge and choose Inspect; the color and background-color values appear in the styles panel. This gives the exact code but means finding your way around the page structure, and it can't show colors inside images, logos or videos. The screenshot method works in every case.
If something goes wrong
The code doesn't match the site. You may have clicked the edge of the color, where smoothing blends two colors together. Click the middle of a flat area, or set "Sample size" to the 3 × 3 pixel average.
The color looks different on another screen. Screens display colors differently, but the code stays the same. As long as you use the right code, the color is defined the same everywhere.
The image is blurry and it's hard to pick a point. Zoom the page in before taking the screenshot. If needed, use Crop image to keep only the colored area.
Ready to try it? It is free and your file stays on your device.
Open Image color picker