Image Color Picker
Pick any pixel's color from an image and extract its dominant color palette. Your image never leaves your browser, nothing is uploaded.
Drop an image here, paste it with Ctrl+V / Cmd+V, or choose a file
Load an image to see its colors
Load an image to see its colors
What is an image color picker?
An image color picker reads the exact color of a pixel in a photo, screenshot or logo, so you can reuse it in CSS or a design tool without guessing. This one also extracts the image's dominant colors with the median cut algorithm: it repeatedly splits the image's pixels into groups of similar colors and averages each group, which gives a palette that reflects how much of the image each color covers. A magnifier like the eyedropper in browser developer tools enlarges the pixels around the pointer so you can land on the exact one, with the mouse, by dragging a finger on a phone, or with the arrow keys. The image is decoded and analyzed entirely in your browser and is never uploaded anywhere.
Examples
Reading pixel colors and palettes from an image in code and on the command line:
const ctx = canvas.getContext("2d");
ctx.drawImage(img, 0, 0);
const [r, g, b, a] = ctx.getImageData(x, y, 1, 1).data;from PIL import Image
img = Image.open("photo.jpg").convert("RGB")
r, g, b = img.getpixel((x, y))
palette = img.quantize(colors=8).getpalette()[:24]magick photo.jpg -colors 8 -format %c histogram:info:- | sort -rn# Digital Color Meter (built in) shows the color under the cursor:
open -a "Digital Color Meter"Use Cases
Matching a brand color from a logo
When all you have is a PNG of a logo, click its main color to get the exact HEX value for your stylesheet.
Building a palette from a photo
Extract the dominant colors of a product shot or a mood board image as a starting point for a page's color scheme.
Recreating a design from a screenshot
Pick backgrounds, text and accent colors straight from a screenshot of a site or app you need to match.
Checking colors in exported assets
Verify that an exported icon or banner kept the right colors after compression or a color profile conversion.