Skip to main content
RT
RoughTools.com
free online toolsNo signup required
??

Image Color Picker

Click any pixel in an image to instantly get the exact colour value in HEX, RGB, HSL, and CMYK formats. Hover to preview colours before clicking. Build a palette by clicking multiple points and saving the colour samples. Perfect for designers, developers, and brand managers who need to match colours precisely from photos, logos, or reference images.

🔒 100% private — never uploaded Instant results🆓 Always free🚫 No signup required🖥️ Runs in your browser
🎨
Drop image or click to upload
Then hover/click to pick colors

How to Use Image Color Picker

  1. 1

    Upload your image

    Click the upload area or drag and drop a JPG, PNG, WebP, or GIF image. Any image you want to sample colours from works.

  2. 2

    Hover to preview

    Move your cursor over the image. A magnified zoom view shows the pixels under your cursor and the current colour values update in real time.

  3. 3

    Click to sample

    Click any point on the image to lock in that colour sample. The HEX, RGB, HSL, and CMYK values are displayed and can be copied individually.

  4. 4

    Build a palette

    Click multiple points to add colours to your palette. Each sampled colour is saved in the palette row below the image for comparison.

  5. 5

    Copy and use

    Click any colour value to copy it to the clipboard. Use the HEX code in CSS, Figma, or any design tool; use RGB for digital art applications; use CMYK for print design.

When to Use This Tool

Brand colour matching
Match exact brand colours from a logo or marketing material image. Get the precise HEX codes to use in CSS, design tools, or print specifications — ensuring colour consistency across all brand materials.
Web and app design
Pick colours from reference images, competitor websites (via screenshot), or design mockups. Copy the HEX value directly into CSS, Tailwind config, or any web design tool.
Creating colour palettes from photos
Sample the key colours from a photograph to build a harmonious colour palette. Use colours from landscape photos, food photography, or product images to inform a design system.
Print design and CMYK values
Get CMYK values from reference images for print design work. CMYK colour values are required by printers and are not available from standard digital colour pickers — this tool provides them alongside HEX and RGB.
Reproducing colours in digital art
Match a specific colour from a reference image in painting, illustration, or photo editing software. The RGB values paste directly into most digital art application colour pickers.

Quick Reference

FeatureDetail
Input formatsJPG, PNG, WebP, GIF, SVG
Colour formats outputHEX, RGB, HSL, CMYK
Magnified previewYes — zoom view while hovering
Palette builderYes — save multiple sampled colours
Copy to clipboardYes — one-click copy per format
Server uploadNever — 100% browser-based
CostFree, no account needed

About Image Color Picker

The Image Color Picker is an online eyedropper tool that lets you click any pixel in an uploaded image to instantly retrieve its exact color values in hex, RGB, HSL, and CMYK formats. This eliminates the need to open Photoshop or any other design software just to sample a color — simply upload the image, click the pixel, and copy the color code.

The color picker is most useful for:

  • Sampling brand colors from a logo to use in CSS, HTML, or design files
  • Matching a paint color by uploading a reference photo and extracting the closest hex value
  • Identifying the exact color of a UI element in a screenshot for development work
  • Creating a consistent color palette by sampling from inspiration photos or mood boards
  • Finding the hex codes in a client's style guide image when only the visual is available

Color picking works by reading the exact RGBA pixel values at the click coordinates from the HTML5 Canvas using the getImageData() method. This returns the raw red, green, blue, and alpha values (0–255 each) for that specific pixel. The tool then converts these values to hex (by converting each 0–255 value to two hexadecimal digits), HSL (by applying the standard RGB-to-HSL conversion formulas), and CMYK (by normalizing RGB values and calculating cyan, magenta, yellow, and key). All conversions happen instantly in the browser with no server communication.

Input formats: JPG, PNG, WebP, BMP, GIF. Output formats: Hex (#RRGGBB), RGB (0–255 each channel), HSL (degrees, %, %), CMYK (0–100 each channel). Zoom: magnifier lens shows a zoomed preview around the cursor for precise pixel selection. History: last 10 sampled colors are displayed for easy comparison. Copy: click any color format to copy it to clipboard.

All image data stays in your browser — nothing is uploaded to any server. The Canvas pixel manipulation is entirely client-side. For extracting multiple dominant colors from an image at once rather than clicking individual pixels, use the Dominant Color Extractor tool.

Pro Tips for Image Color Picker

1

Use the magnifier lens to zoom in to 800% before clicking — JPEG compression creates color noise around edges, and adjacent pixels can differ by 5–10 values from what appears as a solid color.

2

For sampling background colors from web screenshots, take screenshots at 1:1 display scale (100% zoom in browser) — scaled screenshots average pixels and shift color values.

3

Save your sampled colors by copying hex codes to a simple text file — the in-tool history only shows the last 10 samples and clears when you reload the page.

4

CMYK values from this tool are mathematical conversions and may not match professional print profiles — for precise print color matching, use a calibrated proofing system.

Frequently Asked Questions

What colour formats does the tool output?+
The tool outputs four colour formats: HEX (#RRGGBB — used in CSS and most design tools), RGB (Red, Green, Blue — 0–255 values used in digital applications), HSL (Hue, Saturation, Lightness — useful for colour relationships), and CMYK (Cyan, Magenta, Yellow, Key/Black — used for print design and professional printing). Copy any format with one click.
How accurate is the colour sampling?+
The tool samples the exact RGB values of the pixel at the point you click. For JPG images, these values reflect the current pixel colour after JPEG compression — compressed JPGs have slightly altered colours compared to the original uncompressed image. For PNG, the values are exact. For the most accurate colour matching, use PNG or WebP source images rather than JPG.
Can I sample colours from a URL instead of uploading an image?+
Currently the tool requires you to upload or paste an image file. To sample colours from a webpage or online image, take a screenshot first and upload the screenshot image.
What is the difference between HSL and RGB colour formats?+
RGB describes a colour as a combination of red, green, and blue light intensity values (0–255 each). HSL describes the same colour in terms more intuitive for designers: Hue (the colour wheel position, 0–360°), Saturation (how vivid or grey the colour is, 0–100%), and Lightness (how light or dark, 0–100%). HSL makes it easy to create lighter or darker variations of a colour by just changing the L value.
How do I match a colour from a company logo?+
Upload a PNG version of the logo (PNG gives more accurate colour values than JPG). Hover over the specific colour area and click to sample. The HEX value you get is the digital colour — compare with the brand guidelines to check accuracy. Brand colours from official guidelines may differ slightly from what is rendered in a JPG logo due to compression.
Can I pick colours from an animated GIF?+
Yes, but the tool samples the first frame of the GIF. If you need colours from a specific frame, take a screenshot of that frame and upload the screenshot.

Related Image Tools

??
Dominant Color Extractor
Extract the top colours from any image
?
Image Enhancer
Adjust colour and tone
?
Grayscale Converter
Convert to black and white
??
Image Metadata Viewer
View colour profile and image info
???
Image Compressor
Compress images before sharing
??
Image Converter
Convert format for better colour accuracy

Your input is processed locally in your browser and is never stored, transmitted, or shared with any server. See our Privacy Policy.

Share This Tool

X / TwitterWhatsAppLinkedIn