Image Colour Picker — Pick HEX, RGB & HSL from Any Photo | LazyTools

Image Colour Picker

Upload any photo and click to pick exact colour codes — HEX, RGB, HSL and HSV instantly. Build a multi-colour palette from one image, use 8× zoom mode for pixel-perfect picking and look up the closest CSS colour name. Free, no login, 100% private.

Free forever HEX · RGB · HSL · HSV Multi-colour palette Images never uploaded

Image Colour Picker Tool

Drop your image here to pick colours
JPG, PNG, WebP, GIF, SVG · Processed locally — images never uploaded
Pick a colour #—
HEX
RGB
HSL
HSV
Press A to add quickly
Colour palette 0 / 12
Click colours on the image and add them to build your palette (up to 12)
⭐ User Ratings

Rate this tool

4.8
Based on 1,584 ratings
5
1,205
4
224
3
90
2
40
1
25
Was this colour picker helpful?
✅ Thank you for your rating!
✦ Features

Everything in this free colour picker from image

Built for designers, developers and creators who need accurate colour codes fast — with features no competitor offers free.

Click-to-pick eyedropper
Click anywhere on your uploaded image to instantly extract the exact colour at that pixel. Works on JPG, PNG, WebP, GIF and SVG.
8× zoom mode for pixel-perfect picking
Enable zoom mode to magnify the area around your cursor 8 times, making it easy to pick individual pixels in detailed images, logos and UI screenshots.
Multi-colour palette builder (up to 12)
Pick multiple colours from the same image and build a complete palette — up to 12 colours. Click a palette chip to restore any picked colour's values. Absent on most free tools.
HEX, RGB, HSL and HSV simultaneously
All four colour formats displayed together with one-click copy for each. No switching between tabs or format dropdowns — get everything at once.
Closest CSS colour name
The nearest named CSS colour (e.g. "CornflowerBlue", "Tomato", "SlateGray") is displayed for every picked colour — useful for communicating colour choices and for CSS shorthand.
Export palette as CSS, JSON or PNG swatch
Export your full palette as CSS custom properties (ready to paste into your stylesheet), a JSON object (for design tokens), or a downloadable PNG swatch sheet.
Keyboard shortcut (A to add)
Press A after clicking a colour to add it to the palette instantly, without reaching for the mouse. Designed for fast, repetitive colour extraction workflows.
100% private — browser-only processing
Your images are processed using the HTML Canvas API entirely in your browser. Nothing is uploaded to any server. Your photos, logos and screenshots never leave your device.
📖 How to use

How to pick colours from an image — step by step

Upload your image
Drag and drop your photo, logo, screenshot or design file onto the upload zone — or click Choose image to browse. Accepts JPG, PNG, WebP, GIF and SVG. The image loads directly into your browser; nothing is sent anywhere.
Click any colour on the image
Your cursor becomes an eyedropper. Click anywhere on the image to extract the colour at that exact pixel. The large swatch updates instantly, along with the HEX, RGB, HSL and HSV values in the panel on the right — plus the closest named CSS colour.
Enable zoom mode for precision
If you need pixel-perfect accuracy — for a logo, UI element or detailed design — click Zoom (8×) in the toolbar. A magnified preview appears in the corner of the image as you move your cursor, making individual pixels clearly visible before you click.
Copy your colour code
Click any colour value (HEX, RGB, HSL, HSV) or the copy icon next to it to copy it to your clipboard. The value turns green to confirm. Paste directly into CSS, Figma, Photoshop, design tokens or anywhere that accepts colour codes.
Build and export a multi-colour palette
Click Add to palette (or press A) after picking each colour. Add up to 12 colours from one image. When done, export the palette as CSS variables (ready to paste into your stylesheet), JSON (for design token systems), or a PNG swatch sheet you can share or print.
🏆 Why LazyTools

How this colour picker compares to the alternatives

We tested the most popular free colour picker from image tools. Here's the honest comparison — focusing on the features that matter for real design workflows.

Feature LazyTools ✦ imagecolorpicker.com RedKetchup image-color-picker.com
Click-to-pick from uploaded image✔ Yes✔ Yes✔ Yes✔ Yes
HEX, RGB, HSL output✔ All four + HSV✔ All three✔ All + CMYK✔ HEX + RGB
Zoom mode for pixel-perfect picking✔ 8× magnifier✘ No✘ No✘ No
Multi-colour palette builder✔ Up to 12 colours✘ No✘ No✘ No
Closest CSS colour name✔ Yes✘ No✘ No✘ No
Export palette as CSS variables✔ Yes✘ No✘ No✘ No
Export palette as JSON✔ Yes✘ No✘ No✘ No
Export palette as PNG swatch✔ Yes✘ No✘ No✘ No
Keyboard shortcut to add to palette✔ Press A✘ No✘ No✘ No
100% client-side (no image upload)✔ Always✘ Uploads image✘ Uploads image✔ Yes
📊 Reference

Colour format guide — HEX, RGB, HSL and HSV explained

Understanding what each colour format means helps you use the right one for each context — CSS, design software, print or colour grading.

FormatExampleHow it worksBest used for
HEX #6366F1 6-character hexadecimal shorthand for RGB. Each pair (63, 66, F1) is the red, green and blue value in base-16. Web CSS, HTML, Figma, Sketch, design handoff
RGB rgb(99, 102, 241) Three numbers 0–255 representing red, green and blue channel intensity. Same data as HEX, different notation. CSS, web design, digital artwork, screen output
HSL hsl(239°, 84%, 67%) Hue (0–360° colour wheel angle), Saturation (0–100% intensity), Lightness (0–100% brightness). Human-intuitive model. CSS, creating tints/shades, colour theming, accessibility
HSV hsv(239°, 59%, 95%) Hue (0–360°), Saturation (0–100%), Value/Brightness (0–100%). Similar to HSL but Value replaces Lightness — used in design tools. Photoshop, Illustrator, GIMP, digital painting tools
Quick tip — when to use HSL: HSL is the most designer-friendly format for CSS. To make a colour 20% lighter, just increase the lightness value. To create a desaturated variant, reduce the saturation. This is why CSS custom property colour systems (like Tailwind's palette) are often defined in HSL.
📖 Learn

The Complete Guide to Picking Colours from Images Online

Whether you're a web designer trying to match a brand colour from a client's logo, a developer extracting colours from a UI mockup, or a creator trying to replicate the exact shade from a reference photo — the ability to pick exact colour codes from an image is one of the most practical tools in any digital workflow. This guide explains how it works, what each colour format means, and how to use it effectively for different professional scenarios.

Why colour picking from images matters for designers and developers

Design consistency depends on exact colours. A brand's primary blue is not "kind of blue" — it's a precise HEX value that must be reproduced consistently across websites, apps, presentations and printed materials. When you receive a logo, brand asset or reference design and need to extract those values, a colour picker tool from image is the fastest way to get what you need without guessing, squinting at a screen or launching Photoshop.

For developers, the most common scenario is matching CSS colours to a provided design file. If a Figma or Illustrator file isn't available and you only have a screenshot, an image color extractor gets you the exact HEX code in seconds. For designers working across tools, it bridges gaps when design specs aren't exported — pick from the rendered output rather than hunting through layer panels.

How image colour picking works technically

When you upload an image to this tool, it is drawn onto an HTML Canvas element — a browser API designed for pixel-level image manipulation. When you click anywhere on the canvas, the tool reads the RGBA values of the exact pixel at your cursor position using the getImageData() Canvas method.

This returns an array of four values: red (0–255), green (0–255), blue (0–255) and alpha (0–255). These are the raw RGB values that computers use to represent colour at the hardware level. The tool then converts this to all other formats — HEX, HSL, HSV — through mathematical conversion formulas. The closest CSS colour name is found by calculating the Euclidean distance in RGB space between the picked colour and every named CSS colour (147 named colours in CSS3) and returning the nearest match.

Why zoom mode matters for accuracy: Computer monitors display colour at a pixel density where individual pixels are often smaller than a millimetre. When you need the exact colour of a thin line, a logo's specific shade, or a particular element in a UI screenshot, a regular cursor covers multiple pixels simultaneously. The 8× zoom magnifier shows a 15×15 pixel grid around your cursor at full size — each pixel clearly visible — so you click exactly the right one.

Common use cases for extracting colours from images

  • Brand colour extraction — A client sends a logo in JPG or PNG format with no brand guidelines. Upload the logo, pick the primary colour, secondary colour and accent — and document the HEX codes for the design system. Takes 30 seconds instead of a back-and-forth email chain.
  • Matching website colours to an existing design — If a site was built without a design system, the live rendered CSS colours may differ slightly from original assets. Upload a screenshot, pick the actual rendered colours, and build a correct colour palette for future development.
  • Colour inspiration from photography — Pick 4–6 colours from a photograph that captures a mood you're designing for. Build a palette and export it as CSS variables to use as the starting point for a colour system.
  • Social media brand consistency — Extract the exact colours from your most successful posts or your brand imagery. Use those HEX values to ensure new graphics match.
  • Interior design and physical projects — Pick colour codes from inspiration photos and use the RGB values to find matching paint colours at hardware stores that support digital colour matching.
  • Accessibility checking — Extract foreground and background colours from a UI screenshot and feed them into a WCAG contrast checker to verify colour accessibility compliance.

Building a colour palette from a single image

Effective colour palettes rarely come from picking random colours — they come from identifying the meaningful colours in an image. When analysing a reference image for palette creation, look for:

  • Dominant colour — the colour that covers the most area. This often becomes the primary or background colour in a design.
  • Secondary colours — mid-size areas that complement the dominant colour. Often good candidates for accent or supporting colours.
  • Highlight and shadow colours — the lightest and darkest areas give you the tonal range for your palette's scale.
  • Accent colour — often a contrasting colour used sparingly. In nature photography, this is often a complementary hue (opposite on the colour wheel) that creates visual pop.

Use the palette builder to collect these 4–6 meaningful colours from the image, then export them as CSS custom properties — creating a complete colour system from a single reference image in minutes.

When to use HEX vs RGB vs HSL

HEX is the standard for most web development. It's compact, universally supported in CSS, and the format Figma, Sketch and most design tools use for colour handoff. Use HEX whenever you're writing HTML or CSS, sharing colour values in tickets or documentation, or copying from one design tool to another.

RGB is most useful when you need to work with colour channel values programmatically — for example, in JavaScript canvas operations, SVG fill attributes, or image processing code where the three-channel numeric model is required.

HSL is the most human-readable and design-intuitive format. In CSS, HSL makes it trivial to create colour scales: keep the hue and saturation constant, vary only the lightness to produce a 9-shade palette from a single base colour. This is exactly how Tailwind CSS, Material Design and most modern design systems define their colour palettes. If you're building a design system, HSL should be your primary format.

HSV (also called HSB — Hue, Saturation, Brightness) is the colour model used by most desktop creative tools: Photoshop, Illustrator, GIMP, Affinity Designer and Procreate all use HSV natively in their colour pickers. If you're going from this tool into a creative application, HSV values can be entered directly into the application's colour panel.

Frequently asked questions

Upload your image using the tool above. Click anywhere on the image — the HEX code appears instantly in the colour panel on the right. Click the HEX value or the copy icon next to it to copy to clipboard. The tool also shows RGB, HSL and HSV simultaneously so you get all formats at once without extra steps.
Yes — this is one of the key features that distinguishes this tool from most competitors. Click a colour, then click Add to palette (or press A). Repeat for different areas of the image. You can build a palette of up to 12 colours from a single image. When done, export the full palette as CSS custom properties, a JSON object, or a PNG swatch sheet.
No — your image never leaves your device. All processing uses the HTML Canvas API in your browser. Nothing is transmitted to LazyTools or any third party. This is important for confidential brand assets, client logos and design files that you may not be able to share externally.
HEX (#6366F1) is a compact 6-character hexadecimal shorthand for RGB, used in web CSS and HTML. RGB (99, 102, 241) expresses the same colour as three numbers 0–255 for red, green and blue. HSL (239°, 84%, 67%) is a more human-intuitive model: Hue is a 0–360° angle on the colour wheel, Saturation is the colour intensity, and Lightness is the brightness. Use HEX or RGB for web development, HSL for building colour scales and design systems, and HSV for creative tools like Photoshop.
Take a screenshot of the website (on Mac: Cmd+Shift+4, on Windows: Win+Shift+S, on Chrome: right-click → Inspect → find element, or use a browser screenshot tool). Upload the screenshot to this colour picker, then click the element whose colour you want. Enable zoom mode (8×) to see individual pixels clearly and pick the exact shade without selecting anti-aliased edge pixels by mistake.
🔗 Related tools

More free image and colour tools

Other free browser-based tools from LazyTools — no signup, no upload limits, instant results.