Free tool
Get the HEX code of a colour in an image
Click or tap any point of your picture and copy its HEX code, like #2B6CB0. The loupe magnifies the pixels, so you pick the exact one.
The tool loads here. It needs JavaScript, and runs in your browser.
Our example

What it is good for
- Get the HEX code of a logo colour for a website or a document.
- Match a button or a background colour from a screenshot.
- Find the HEX code of a colour in a photo for a social post.
How it works
- Add your image, or try the example photo.
- Click or tap the colour you want; the loupe shows the exact pixel.
- Press Copy HEX.
Facts
| Price | free |
|---|---|
| Where it runs | in your browser; nothing is uploaded |
| HEX format | upper case, like #2B6CB0 (switch to lower case in one click) |
| Also | RGB and HSL codes for the same colour |
| Picks | one exact pixel of your image at full size |
| Mark | a small brshot.com mark in the bottom-right corner of the image it makes |
Questions
- How do I find the HEX code of a colour in a picture?
- Add the picture here and click the colour. Its HEX code appears with a copy button, together with RGB and HSL.
- Can I get the HEX code of a colour in a screenshot?
- Yes. Take the screenshot, add it here and click the colour. Screenshots have flat colours, so the code matches exactly.
- Is #2b6cb0 the same as #2B6CB0?
- Yes. HEX codes do not depend on upper or lower case; pick the one your tool or style guide uses.
- Is it free?
- Yes. It runs in your browser and your image is not uploaded.
Part of
Same tool, other settings
More free tools
Aspect ratio calculatorBefore and after makerBlur and pixelateCharacter counterGIF makerImage compressorImage converterImage splitterInstagram fontsPhone and browser mockupMeme generatorNo-crop borderSafe-zone checkerSocial image resizerUTM link builderVideo frame extractorWatermark maker
Free credits every month
Sign in with Google and get 50 free credits every month. Unused credits do not roll over. Your credits also work in Claude Code and Codex through the BrShot MCP server.
Signing in shares your Google email address with BrShot; the privacy note says what we keep and for how long. Privacy note.