Color Picker

Pick colors from image.

Loading tool…

Picking colour from an image

A colour picker reads the value of an individual pixel and reports it in the notations you need — hexadecimal for CSS, RGB channels, HSL for design work. The image is decoded to a canvas, and sampling a point returns the exact red, green, and blue values stored at those coordinates.

Two practical caveats come with that. Photographs are noisy, so adjacent pixels in what looks like a flat area can differ noticeably; click a few nearby points and take the value that repeats. And JPEG compression subtly shifts colours, especially near edges, so a colour picked from a compressed screenshot of a brand asset may be a shade off the official value. For brand work, always confirm against the source file or the brand guide.

Why we built this tool

Designers and developers pull colours out of images constantly: matching a stylesheet to a mockup, extracting a palette from a photograph, identifying a brand colour from a screenshot, or checking that an implemented interface matches its design.

Screenshots of unreleased interfaces and client brand assets are not things to upload to a website for the sake of reading one pixel. Ours draws the image to a canvas in your browser and samples locally, so the picture never leaves your device, and the answer appears instantly with no round trip. No upload, no account, and it keeps working offline while you are deep in a design tool.

Tips and common mistakes

  • Sample several nearby pixels in noisy areas and take the consistent value rather than the first one.
  • Colours picked from a compressed screenshot can be a shade off; confirm brand colours against the source file.
  • Check the contrast ratio of any colour pair you intend to use for text.
  • Screen colour profiles differ, so a value sampled on one monitor may look different on another.

Quick start: using Color Picker

  1. Load the image you want to sample.
  2. Click the pixel you want, or use Pick From Screen where your browser offers it.
  3. Read the colour in HEX, RGB and HSL.
  4. Copy the notation your project needs — hex, RGB, or HSL.
  5. Sample a few nearby points if the area is noisy, and take the consistent value.

Convert between notations or build tints and shades with Color Converter.

What a color picker gives you

Point at any pixel and the tool reports that color's code in the formats designers and developers use:

  • HEX — like #3A7BD5, the standard for web and CSS.
  • RGB — like rgb(58, 123, 213), the same color as red/green/blue amounts.
  • HSL — hue, saturation, lightness, which is handy for creating variations.

Having the exact code means you can reproduce the color perfectly anywhere instead of guessing.

Building a palette from an image

One of the best uses is deriving a color scheme from a photo or brand image:

  • Sample the dominant color for your primary.
  • Pick a contrasting accent from another part of the image.
  • Note a light and a dark for backgrounds and text.

A palette pulled from a single photo tends to feel naturally harmonious because those colors already coexist in the real scene.

A note on exact matches

Sampling a color from a JPG can be slightly imprecise, because JPG compression subtly shifts pixel values, especially near edges. For a critical brand color, sample from a lossless source — a PNG or the original design file — rather than a compressed photo. Sampling a few nearby pixels and comparing helps you find the true intended color.

Common uses

  • Match a brand color for a design.
  • Build a palette from a photo.
  • Grab a color from a website or app screenshot.
  • Reproduce a shade exactly in CSS or a document.

Related Image Tools

Browse all Image Tools →