> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# ImageHistogram - ComfyUI Built-in Node Documentation

> Complete documentation for the ImageHistogram node in ComfyUI. Learn its inputs, outputs, parameters and usage.

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/ImageHistogram/en.md)

The ImageHistogram node analyzes the color distribution of an input image. It calculates and outputs several histograms, which are graphs showing how many pixels in the image have each possible intensity value. It generates separate histograms for the red, green, and blue color channels, a composite RGB histogram, and a luminance histogram based on a standard brightness formula.

## Inputs

| Parameter | Data Type | Required | Range | Description                                                                  |
| --------- | --------- | -------- | ----- | ---------------------------------------------------------------------------- |
| `image`   | IMAGE     | Yes      | N/A   | The input image to analyze. The node processes the first image in the batch. |

## Outputs

| Output Name | Data Type | Description                                                                                                    |
| ----------- | --------- | -------------------------------------------------------------------------------------------------------------- |
| `rgb`       | HISTOGRAM | A composite histogram representing the average pixel intensity across the red, green, and blue channels.       |
| `luminance` | HISTOGRAM | A histogram of the image's perceived brightness, calculated using the ITU-R BT.709 standard luminance formula. |
| `red`       | HISTOGRAM | A histogram showing the distribution of pixel intensities in the red color channel.                            |
| `green`     | HISTOGRAM | A histogram showing the distribution of pixel intensities in the green color channel.                          |
| `blue`      | HISTOGRAM | A histogram showing the distribution of pixel intensities in the blue color channel.                           |

***

**Source fingerprint (SHA-256):** `026a470129a49794bc1ddcdd3ecd8e8ad95b43fc94db4387f0e2de365b305879`
