Image Average Color

Find the average color of any image, plus its dominant colors with the share of the image each one covers. Drop one photo or a whole folder and get HEX, RGB and HSL codes for every image, ready to copy or export as CSV. Use it for placeholder backgrounds, color-matched designs or sorting images by color. It runs in your browser with nothing uploaded.

Half red, half blue image

MethodResult
Perceptual (linear light)#BC00BC
Arithmetic sRGB#800080
Dominant#FF0000 50%, #0000FF 50%

When to use it

  1. Get a background color that matches a photo while it loads.
  2. Pick a brand color from a logo or product shot.
  3. Sort a set of images by overall color.
  4. Generate color-matched placeholders for a gallery.

How to Use

  1. Drop one or more images.
  2. Read the average and dominant colors.
  3. Click a color to copy it, or download the CSV.

Features

  1. Average color in HEX, RGB and HSL
  2. Perceptual (linear-light) or arithmetic average
  3. Top 6 dominant colors with coverage
  4. Ignores transparent pixels
  5. Batch with CSV export
  6. 100% client-side

FAQs

How do I find the average color of an image?

Drop the image and copy the HEX code shown as the average color.

What's the difference between average and dominant color?

The average blends every pixel into one color; dominant colors are the most common colors actually in the image.

What is the perceptual average?

An average done in linear light, which matches how colors mix visually and avoids muddy, too-dark results.

Can I check many images?

Yes. Drop a folder and export all results as CSV.

Are my images uploaded?

No. Colors are calculated in your browser.

Technical Details

Each image is drawn at up to 200 pixels on its long side, which is plenty for an average while keeping large batches fast. The average is computed over all non-transparent pixels, weighted by alpha. By default it averages in linear light: each sRGB value is converted to linear intensity, averaged, and converted back, which matches what the eye sees when an image is blurred or viewed from far away — a plain average of sRGB numbers comes out too dark, so a half-red, half-blue image averages to (188, 0, 188) rather than (128, 0, 128). The arithmetic mean is available too. Dominant colors group pixels into 4,096 buckets (16 levels per channel), rank the buckets by pixel count, and report each bucket's mean color and its share of the image. Results include HEX, RGB and HSL and can be copied or exported as CSV.

Image Tools

Image Tools

  • Image Color Picker
  • Screen Color Picker
  • Placeholder Image Generator
  • Image Collage Maker
  • SVG Blob Generator
  • SVG Pattern Generator
  • Blur Image Background
  • Exam & ID Photo Validator