Image Color Picker
Image ToolsClick on any image to pick colors and get hex, RGB, and HSL values. Extract exact colors from photos, screenshots, or designs.. Free, private — all processing in your browser.
Click anywhere on the image to pick a color
The Image Color Picker lets you click any pixel of an uploaded image to extract its exact color in hex, RGB, and HSL formats. Designers use this constantly — matching a logo color from a reference image, identifying brand colors from competitor sites, picking accent colors from photography for design projects, verifying colors in screenshots. Instead of guessing a color by eye, you click the exact pixel and get precise values ready to use in CSS, design tools, or anywhere else.
Upload any image, then click on any pixel to pick its color. Multi-color mode tracks multiple picks, building a palette you can export. Magnifier shows the exact pixel you\u2019re clicking for precise selection on detailed images. Output formats include hex, RGB, HSL, HSV, and CMYK. All processing runs in your browser using Canvas API to read pixel values — images never leave your machine. Works with JPG, PNG, WebP, and other common formats.
Image Color Picker — key features
Click to pick
Click any pixel on the image to extract its exact color.
Multiple formats
Hex, RGB, HSL, HSV, CMYK — all displayed for picked pixel.
Magnifier
Zoomed view for precise pixel selection on detailed images.
Palette builder
Track multiple picks to build a color palette.
Export palette
CSS variables, JSON, or visual strip image for use in design tools.
Zoom and pan
Inspect images at full resolution to pick from exact pixels.
All common formats
JPG, PNG, WebP, GIF, BMP all work.
Client-side only
Images stay in your browser; proprietary designs remain private.
How to use the Image Color Picker
- 1
Upload image
Drag or click to select an image to pick colors from.
- 2
Hover to see magnifier
A zoomed view shows the exact pixel under the cursor.
- 3
Click to pick
Click the pixel whose color you want. The hex, RGB, and HSL values appear.
- 4
Build palette
Click multiple pixels to accumulate a palette of colors.
- 5
Copy or export
Copy individual colors or export the full palette as CSS, JSON, or image.
Common use cases for the Image Color Picker
Design
- →Brand color matching: Identify exact brand colors from logos or marketing materials for design consistency.
- →Competitor analysis: Pick colors from competitor sites or ads to understand their color strategy.
- →Photo-based palette: Build color schemes from photography or illustrations you want to match.
Web development
- →CSS color values: Get exact hex values from design mockups for CSS implementation.
- →Screenshot colors: Pick colors from browser screenshots when DevTools color pickers aren’t accessible.
- →Email template matching: Extract colors from existing email templates for consistency.
Content and art
- →Fashion and interior: Identify colors in photos of clothes or rooms for color matching.
- →Painting reference: Pick colors from reference photos for digital painting.
- →Art analysis: Study color usage in famous paintings by picking colors from high-res scans.
Image Color Picker — examples
Logo color
Pick exact brand color.
upload logo, click blue area
#1877F2 (Facebook blue) rgb(24, 119, 242) hsl(214, 89%, 52%)
Gradient extraction
Multiple colors from one gradient.
click at 5 points across a gradient
5 distinct hex values showing gradient progression from start to end
Website screenshot
Identify CSS colors.
screenshot of a webpage
primary color: #3B82F6, background: #F9FAFB, text: #111827 (three picks)
Photo palette
Build color scheme from landscape photo.
sunset photo, 5 picks across sky and land
5-color palette exportable as CSS variables or JSON for use in design
Anti-aliased edge
Edge pixel shows intermediate color.
click right on the edge between red shape and blue background
picked color is actually purple-ish (average of red and blue) tip: click slightly inside the shape for pure red
Technical details
Color picking reads pixel RGB values from a Canvas:
1. Load image into Canvas
2. On click, get coordinates relative to canvas
3. Read ImageData at that position: ctx.getImageData(x, y, 1, 1).data
4. Data array contains [R, G, B, A] for that pixel
5. Convert to other formats (hex, HSL, etc.) as needed
Coordinate handling: need to translate screen coordinates to image coordinates. If the image is displayed at a different size than its native resolution, scaling must account for that.
Format conversions:
- RGB to hex: each channel as 2-digit hex, concatenated
- RGB to HSL: geometric conversion from cartesian RGB to cylindrical HSL
- RGB to HSV: similar geometric conversion to HSV
- RGB to CMYK: print-oriented, involves K (black) extraction from C, M, Y
Magnifier: shows a zoomed view of the area around the cursor for precise pixel selection. Important for small details or anti-aliased edges where one pixel vs the next makes a visible difference.
Anti-aliased edges: along edges of shapes in images, anti-aliasing blends colors. Picking a pixel on an edge may return an intermediate color (not the pure shape color or background). Hover over nearby solid-color regions for cleaner picks.
Alpha channel: if image has transparency (PNG, WebP), picked pixels can have A < 255. The tool reports alpha alongside RGB. For solid backgrounds assume A=255.
JPEG compression: JPEG introduces slight color artifacts near edges and in saturated regions. A pixel picked from a JPEG may not match the original exactly (especially in compressed regions). Source PNG or WebP images give more accurate picks.
Gamma: the RGB values are in sRGB space (gamma-encoded). Conversion to HSL/HSV uses sRGB directly (standard). For print-accurate color or perceptually uniform work, convert to LAB or OKLCH first (not done in basic picker).
Palette mode: click multiple pixels to build a palette. Export as CSS variables, JSON array, image strip, or direct list of values.
Auto-extract: some tools automatically find the dominant colors in an image using quantization algorithms. Basic picker requires clicks; dominant color extraction is a separate feature.
Performance: instant. Single-pixel reads are negligible computation.
Common problems and solutions
⚠Anti-aliased edges give blended colors
At shape edges, anti-aliasing blends colors. Click a few pixels inside the solid region, not right on the edge, for pure color values.
⚠JPEG compression artifacts
JPEG images have subtle color artifacts near edges. If colors seem off, the source image may be compressed. Use PNG or WebP sources for accurate color.
⚠Screen gamma variation
Different monitors display the same RGB value slightly differently. The pixel value you pick is exact; how it appears on another screen varies. For brand colors, use a calibrated display.
⚠Cross-origin issues
Images from external URLs may be blocked by CORS, preventing pixel reading. Upload local files or use images from same-origin sources.
⚠Small resolution precision
On very small images displayed zoomed out, cursor precision is low. Use zoom-in to pick exact pixels in detailed regions.
⚠Alpha transparency
PNG/WebP with transparency can have alpha < 255. The true color at that pixel depends on what’s underneath. Pick solid regions or flatten to a known background first.
⚠Color profile variation
Images may have embedded color profiles (ICC) that affect display. Browsers handle most profiles, but color values picked are pre-profile. For professional color work, use tools that preserve ICC.
Image Color Picker — comparisons and alternatives
Compared to Photoshop eyedropper, this tool is browser-based and free. Photoshop integrates with design workflow; this tool is for quick standalone picks.
Compared to browser DevTools color picker, this tool works on any uploaded image (not just rendered webpage elements). DevTools is better for live web pages; this tool is better for images, screenshots, and design files.
Compared to system-level color pickers (macOS Digital Color Meter), this tool stores picks in a palette and exports in multiple formats. System tools pick one color at a time.
Frequently asked questions about the Image Color Picker
▶How do I pick a color from an image?
Upload the image, then click any pixel. The tool reads that pixel’s exact color and displays it in hex, RGB, and HSL formats. Use the magnifier (if enabled) for precise selection.
▶Can I pick multiple colors at once?
Yes. The tool builds a palette as you click. Each click adds a color to the growing palette, which you can export as CSS variables, JSON, or a color strip image.
▶Does it work with transparent PNG?
Yes. The tool reads RGBA values. For pixels with full alpha (A=255), you get exact color. For semi-transparent pixels, the color is pre-multiplied — how it actually appears depends on what’s underneath.
▶Why doesn’t the picked color match what I expect?
Common causes: 1) JPEG compression artifacts, 2) Anti-aliased edges where colors blend, 3) Display color profile differences, 4) Different color space. For most accurate picks, use PNG source and pick pixels in solid color regions.
▶Can I use this for brand color matching?
Yes. Upload a logo or brand element and pick colors from it. Note that monitor calibration affects how colors appear; for mission-critical brand work, use a calibrated display and Pantone references.
▶Is my image private?
Yes. All color reading runs in your browser. Images never leave your machine.
▶What if the image is very small?
Use zoom to enlarge; the magnifier view helps too. Note that zooming in shows interpolated pixels (blurry); click near the center of each original pixel for accurate values.
▶Can I pick colors from a website?
Save a screenshot of the website and upload it to this tool. For live browser picking, use browser DevTools’ color picker directly in the Elements or Styles panel.
Additional resources
- MDN Canvas getImageData — Browser API used to read pixel colors from an image.
- sRGB color space — Standard color space for most images; affects how picked values are interpreted.
- ICC color profiles — International Color Consortium specifications affecting accurate color reproduction.
- Color picker history — Wikipedia article on color picker tools and their evolution.
- CSS color value — CSS color specifications for the formats the tool outputs.
Related tools
All Image ToolsColor Blindness Simulator
Simulate how colors and images appear to users with protanopia, deuteranopia, tritanopia, achromatopsia, and other color vision deficiencies.
Color Contrast Checker
Check color contrast ratios between foreground and background for WCAG 2.1 AA and AAA compliance with live preview.
Color Converter
Convert between HEX, RGB, HSL, HSV, CMYK, Lab, LCH color formats
Color Name Finder
Find the nearest named color for any hex, RGB, or HSL value from CSS web colors, X11 standard colors, and Pantone approximations.
Color Palette Generator
Generate harmonious color palettes from any base color with complementary, analogous, triadic, and monochromatic schemes.
Color Shades Generator
Generate tints (lighter), shades (darker), and tones (desaturated) from any base color for design systems and UI states.
Learn more
Explore more tools
200+ free tools that run in your browser.
Browse all tools →