How to Get the HEX Color of Any Pixel in an Image
You spotted the perfect shade in a photo, a screenshot, or a brand logo — and now you need its exact code. Eyeballing it never works, and most "what color is this" sites make you create an account or upload your file to a server first. There's a faster, more private way.
Tooldrop's image color picker reads pixel colors straight from an image in your browser. Drop a picture in, click the spot you want, and copy the HEX (like #2563eb) or RGB value in one click. It's free, there's no sign-up, no limits, and because the work happens on your device with the canvas, your image is never uploaded anywhere.
Step by step
- 1Open the Image Color Picker at /image/color-picker — nothing to install or sign up for.
- 2Under "1. Add an image," drag a file into the drop zone or click to browse and choose one. JPG, PNG, and WebP all work.
- 3Your image appears in the "2. Pick a colour" panel, ready to sample. It stays on your device — it is read locally with the canvas, not uploaded.
- 4Move your cursor over the image. A live preview shows the HEX and RGB of whatever pixel you're hovering, so you can hunt for the exact shade.
- 5Click the pixel you want to lock its colour in place as your picked colour.
- 6Check the result: a colour swatch plus the HEX value (e.g. #2563eb) and the RGB value (e.g. rgb(37, 99, 235)).
- 7Click "Copy HEX" or "Copy RGB" to send the code straight to your clipboard, then paste it into your design tool, CSS, or doc.
- 8Want another shade? Just hover and click a different pixel — or drop a new image to start over. There are no usage limits.
Why use a browser-based image color picker?
An image color picker is the quickest way to turn a color you can see into a code you can use. Instead of guessing at a hex value or matching swatches by hand, you click the actual pixel and read its exact RGB and HEX.
Tooldrop runs the whole thing in your browser. When you drop an image, it's drawn to a canvas on your own device and each pixel you click is sampled locally — the file never leaves your computer and nothing is sent to a server. That means it's fast (no upload wait), private by design, and works on sensitive material like client mockups, unreleased designs, or personal photos without second-guessing where they end up. It's also completely free, with no account and no daily cap on how many colors you grab.
HEX vs RGB: which should you copy?
The tool gives you both formats for every pixel, so you can grab whichever your workflow expects.
HEX (like #2563eb) is the compact six-character code you'll reach for most in web and design work — CSS, Figma, Tailwind config, brand guidelines. RGB (like rgb(37, 99, 235)) spells out the red, green, and blue channels as numbers from 0 to 255, which is handy when you're tweaking a single channel, working in editors that prefer RGB inputs, or building an rgba() value with transparency. Both describe the same color; pick the one that drops cleanly into wherever you're pasting.
Get more from your colors
Once you've sampled a shade, Tooldrop has a few neighbours that pair well with it — all free, all in-browser, all no sign-up. If you want every dominant color in one go instead of clicking pixel by pixel, the Color Palette Extractor at /image/color-palette pulls a full palette from any image. Need the same color in a different notation? The Color Converter at /dev/color-converter turns HEX into RGB and HSL instantly. And before you ship a color combo, the Contrast Checker at /dev/contrast-checker tells you whether your text passes WCAG AA and AAA. Cropping the image down to just the area you care about first? That's at /image/crop.
Frequently asked questions
Is my image uploaded when I pick a color?
What color formats does the tool give me?
What image formats can I use?
Do I need an account, and are there any limits?
Tools used in this guide
Related guides
A fast, private walkthrough for turning a PNG into a smaller JPG right in your browser — no upload, no sign-up.
A fast, private way to convert JPG to WebP in your browser and shrink image weight by roughly 25-35% with no sign-up.
Shrink JPG, PNG, and WebP files for faster-loading pages using a free, private, browser-based image compressor.