Image Color Picker – Get HEX Colors from a Photo

Upload, drop or paste an image, then tap any pixel to identify its HEX color. Extract a palette of 5–15 dominant colors and download the results as CSS, CSV or JSON. Processing happens in your browser; your image is not uploaded.

Drop an image here, or paste one with Ctrl+V

JPG, PNG, WebP, GIF and BMP; AVIF and iPhone HEIC/HEIF work only when your browser can decode them. Maximum 15 MB and 32 million decoded pixels (16 million on reported low-memory devices). Animated GIFs use the browser-decoded frame.

Choose, drop or paste an image to begin.

Extract a color palette

Select a rectangular area on the image to analyze only that region, or use the full image.

Tap and drag across the image to inspect colors with the magnifier. To scroll the page, swipe outside the image. Arrow keys move one source pixel (Shift + arrow: ten); Enter copies. You can also enter X/Y coordinates below.

Colors extracted from your image

Color percentages estimate the opacity-weighted share of sampled pixels, not the exact area of the image. Tap a swatch to copy its HEX code. Palette exports contain colors and estimated weights, never the image itself.

No image yet. Choose, drop or paste an image to generate a palette.

Choose an image to enable palette exports.

Palette Generator can edit up to 10 HEX colors. Color Code Export can receive all 15 with estimated sample shares; the original photo is never transferred.

How to pick an exact HEX color from an image

  1. Choose a JPG/PNG photo, drop an image, or paste an image outside of text fields.
  2. Tap a point in the preview; the loupe shows the surrounding 11 × 11 source pixels. For precision, use the X/Y fields or keyboard arrows.
  3. Copy the HEX value or extract 5–15 dominant colors to build a palette. Change the region and filters to compare areas.

For transparent graphics, six-digit HEX stores only opaque RGB. Use Copy HEX with alpha for an eight-digit #RRGGBBAA color. Image profiles (including Display P3) are converted by the browser to 8-bit sRGB for this tool, and out-of-gamut colors may be clipped. Very faint pixels can be rounded by Canvas; preview colors may still differ between displays.

Privacy, image size and color accuracy

Image decoding, sampling and palette extraction run in your browser using Canvas. This tool does not send the selected image to a server. Your browser may still make ordinary requests for the site's own scripts and styles. Uploads are limited to 15 MB and decoded dimensions to 32 million pixels to reduce memory pressure.

Dominant colors are estimated by sampling pixels and grouping similar values in OKLab. Their percentages are approximate; they are not exact areas, and fully transparent and almost invisible pixels are excluded; partly transparent pixels contribute according to their opacity. Excluded near-white pixels do not count. For printing or professional color management, verify output with your own profile-aware workflow.

Work with your colors

Use the Color Picker to refine a color, the Color Converter to switch between formats, and the Contrast Checker to test readable text. Continue with Palette Generator or Brand Color System in English; both reuse the existing shared color engines.

For a color profile already available in English, see #2A6DF4 HEX color details.