NathanTools
NathanTools
Text Tools 13
SEO Tools 7
Image Tools 19
YouTube Tools 38
Device Tests 4
PDF Tools 10
Calculators 52
Electrical Calculators 10
Time Tools 7
Random Tools 9
Converters 14
Developer Tools 11
Hash Generators 5
Password & Security 2
Network & DNS 3
Website Tools 9

Image Color Picker

Drop an image or paste a screenshot, then click any pixel to copy its HEX, RGB, HSL or CMYK colour code. The dominant colours are extracted automatically.

100% free No sign-up Works on any device

Updated November 2026 · Your image stays in your browser

How to get a colour code from an image

  1. Add an image: drop a photo, logo or screenshot onto the box, click to browse, or paste a screenshot with Ctrl + V.
  2. Find the pixel: move over the image. The magnifier shows the exact pixel under the pointer, and the codes update as you move. On a phone, drag your finger and the magnifier appears above it.
  3. Pick it: click (or lift your finger) to add the colour to Your picks. With a keyboard, use the arrow keys and press Enter.
  4. Copy the code you need: HEX, RGB, HSL, HSV or CMYK. Press CSS variables to copy every pick and the dominant colours as ready-to-paste CSS.

In Chrome and Edge you'll also see Pick a colour from anywhere on screen. It uses the browser's built-in eyedropper, so you can sample a colour from another window or app without taking a screenshot first.

Colour formats explained

FormatExampleUse it in
HEX#5A3FE0CSS, HTML, Figma, Canva, WordPress, most design tools
RGBrgb(90, 63, 224)CSS, Photoshop, PowerPoint, Excel; values run 0–255
HSLhsl(249, 73%, 56%)CSS, when you want lighter or darker shades: change only the last number
HSV / HSBhsv(249, 72%, 88%)Photoshop, Illustrator, Affinity and GIMP colour pickers
CMYKcmyk(60%, 72%, 0%, 12%)Print design; ask your printer for their profile before final files

HEX and RGB describe exactly the same colour: 5A in hex is 90 in decimal, 3F is 63 and E0 is 224. Convert any value by hand with our RGB to HEX converter.

Getting an accurate colour

  • Use the best source you have. JPG compression blends nearby pixels, so the edge of a logo in a small JPG can be a few shades off. A PNG or SVG of the logo gives the true brand colour.
  • Zoom in on flat areas. Photos contain noise and shading. Pick from the middle of a solid area, or use the dominant colours, which average similar pixels.
  • Screens and print differ. A colour picked from a screen is RGB. The CMYK value here is a standard conversion; printed colour also depends on paper and ink, so for brand work ask for an official Pantone or CMYK value.
  • Screenshots can shift colour. Some systems apply a display colour profile to screenshots. If a picked colour looks slightly off, sample the original file instead.

Build a palette from a photo

As soon as you add an image, its dominant colours appear: the most common colours, grouped so that near-identical shades don't repeat. Click any of them to see its codes, then add your own picks for accents. CSS variables exports the whole set as --palette-1, --pick-1 and so on, ready for a stylesheet or design tokens.

Frequently asked questions

Drop the image above and move over it. The magnifier shows the exact pixel, and its HEX, RGB, HSL, HSV and CMYK codes update as you move. Click to keep a colour in your picks, then copy the format you need.

In Chrome or Edge on a computer, press "Pick a colour from anywhere on screen" and click anywhere, even in another window. In other browsers, take a screenshot (Windows: Win + Shift + S; Mac: Cmd + Shift + 4), then paste it here with Ctrl + V.

A six-digit code that describes a colour for screens, written after a #. The three pairs are the red, green and blue amounts in hexadecimal, from 00 (none) to FF (full). #FF0000 is pure red and #FFFFFF is white.

JPG compression, resizing and anti-aliasing blend pixels, especially along edges. Pick from the middle of a flat area or use a PNG or SVG source. For official brand colours, check the brand's style guide.

Not exactly. Pantone is a proprietary set of printed inks, and screens can't show many of them accurately. Use the HEX or CMYK value here as a starting point and match it in a Pantone guide or design app.

No. The image is read and analysed in your browser, so it never leaves your device.
Esc
↑ ↓ to moveEnter to open