Calculate Average Color
Find the average color of a PNG and display it as a swatch.
Drop an image here
PNG, JPG, WebP, GIF or BMP. You can also paste an image.
No result yet
Options
How to use
- 1
Upload a PNG.
- 2
The average color is calculated automatically.
- 3
Click Download to save the color swatch.
Example
Before640 × 427

After200 × 200

Frequently asked questions
Are transparent pixels included?
No. Only pixels with alpha > 0 are included in the average.
About this tool
Calculate Average Color computes the mean R, G, and B values of all non-transparent pixels and outputs a solid color swatch with the resulting hex code. All processing runs locally in your browser. Your image is never uploaded to a server.