Images · Made a little simpler

Image Histogram Viewer

Plot red, green, blue and linear-light luminance distributions from a local image. Choose how to count fully transparent pixels and export all bin counts.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Partly transparent pixels count once. Luminance uses linear-light sRGB, scaled to 0–255.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Image Histogram Viewer: how to use it

  1. Open a local image or load the RGBA practice sample.
  2. Analyze histogram. Use Chart channel to compare the distribution, peak, average and endpoint counts.
  3. Choose whether to include fully transparent pixels. Run again and download the CSV or the chosen chart PNG.

Limits and notes

Accepts still JPG, PNG and WebP up to 25 MB, 6 megapixels and 5,000 pixels per side. Uses decoded 8-bit sRGB and applies supported image orientation. Luminance is computed from linear-light sRGB and rounded to the nearest of 256 bins. Partially transparent pixels count once. Fully transparent pixels are excluded by default.

How your privacy works →

Image Histogram Viewer: common questions

Why is a middle-gray RGB value lower in the luminance histogram?

The RGB bins use encoded sRGB. The luminance calculation linearizes those values first, and encoded midpoint gray has a linear value below one half.

How do I count the hidden colors?

Enable Include fully transparent pixels and analyze again. The chart and CSV then include decoded RGB values where alpha is zero.

What does Pixels at 255 measure?

It counts samples in the highest bin of that series. Inspect the image and source conditions before interpreting an endpoint count as clipping.

Guides