How to use the “special” RGB Histogram

IMG_0506fA few weeks ago, I explained how to use the histogram to get a better exposure. And although the default histogram will give you a general idea of an image’s exposure, there’s actually a special histogram that’ll tell you a lot more: the RGB histogram.

Here’s how it works:

If you understand the regular histogram, then the RGB histogram is simple: it shows you the histogram of each individual color channel (red, green, and blue).

The bad thing about the regular histogram is that it lumps all these color channels together, making it hard for you to see if you’re underexposing or overexposing a specific color channel. And, on some cameras, I’ve heard that the regular histogram only shows you the green channel.

So, the RGB histogram is similar to the regular histogram, but now you have a separate histogram for each color channel.

The goal is the same: you don’t want to underexpose or overexpose any of the color channels, so look at each channel’s histogram to ensure the graph isn’t bunching up to one side.

It’s important to note that each color channel’s histogram may be drastically different. It really depends on the colors of the photo (and their brilliance). For example, consider the photo below of a Desert Five-Spot (my favorite desert wildflower, btw):

Desert Five-Spot / Photo by Steve Berardi

Desert Five-Spot / Photo by Steve Berardi

Here are the corresponding RGB histograms of this image:


Notice how the green channel doesn’t spread all the way to the right? At first, you might think this means the image is underexposed, but remember: this is only the histogram of the green channel.

With the RGB histogram, your goal is not necessarily to get a balanced histogram in each channel, but instead to ensure you’re not losing details in a color channel by underexposing or overexposing.

So, although the green channel doesn’t have many highlights in this image, notice how the blue channel does: its histogram is spread out and nearly touches the right side. The important highlights in this image are in the blue channel, so that’s what I exposed for.

How to enable the RGB histogram on your camera

Although most cameras have the standard histogram, not all have the special RGB one, so you may be out of luck, but check or camera’s manual to make sure and don’t be afraid to do some digging in your camera’s menus or custom functions since it’s not the default setting.

If you enjoyed this article, and would like to read more, please signup for free updates by email or RSS.

steveb2About the Author: Steve Berardi is a naturalist, photographer, computer scientist, and founder of PhotoNaturalist. You can usually find him hiking in the San Gabriel Mountains or the Mojave Desert, both located in the beautiful state of California.


  1. Steve,

    This is a great article series you’ve written! Assuming your camera does have an RGB histogram and you see that one of the colors channels is different than the rest (such as the green one in your sample above) is there anything that can be adjusted in-camera to correct it or is this the sort of thing you’d correct in post processing?

    Also I noticed you’re shooting RAW — at least the top image capture shows the camera was set to RAW mode :).

  2. SantoshGaikwad says:

    You would be a good teacher…:) nice explanation and easy to understand language with examples… message received 100%. thanks and keep posting good stuff.

    santosh gaikwad

  3. Pete Belardino says:

    I’m intrigued by using the RGB Histogram but don’t understand where the colors should be set. Do you just want to keep each color away from the edges ? And how did you expose for a specific color….blue in this case ?

  4. @Pete – If you’re shooting in RAW, then the goal for a good exposure is to get the histogram of one of the color channels as far to the right as possible, without actually overexposing that channel.

    This might not happen for all the color channels in each photo–it might just happen for one of them, as it did in the example of this post. Notice how the blue channel extends all the way to the right, but the red and green channels don’t? That’s because blue has a lot of highlights in this photo. I didn’t want to overexpose these highlights, so I stopped increasing the exposure as soon as the blue channel got as far to the right as possible, without actually going off the histogram.

    • Iva Lazarova says:

      How do you determine which channel has lots of highlights in the photo? The red channel looks like it has highlights as well. Are you going off of how big the peak is to the right of the histogram of each channel?

  5. Pete Belardino says:

    I got it now ! I’m not shooting in RAW…haven’t explored that yet….but I will now !!

  6. Some photo forums mention ETTR.
    Could you explain that, please?

  7. Very useful article. Thank you a lot. I have a camera which shows each colour ‘s histogram separately but RGB and white are all shown in one graph and it was confusing me as I moved the slider to see that the colour “mountains” sometimes overlapped and did not track with the white exposure. This will help a lot, although the camera/software you have which shows each colour on a completely separate graph is much easier to get all the detail from, but at least this has reduced my confusion considerably.

  8. Maithri R G says:

    Nice explaination… Thank you .. My question is why are the histograms only for Red, Blue and Green… Why don’t yellow ,purple ,black etc have one ?? You told that in a regular histogram all the color channels are lumped together… Is it all the vibgyor colors or just rgb color ???

  9. Dear Steve,
    Greetings.Many times I was perplexed why an exposure that appears good in preview is dark later. Now only I understand the reason and the way to correct it also.
    Thanks very much.



  1. [...] Steve Berardi: How to use the ’special’ histogram [...]

  2. [...] 3. Review the photo’s histogram, and adjust the shutter speed if necessary to get a better exposure (don’t forget to use the RGB histogram!). [...]

  3. [...] be exposed for the sky. You want to make sure you capture all the beautiful colors in the sky, so keep an eye on your histogram and make sure you don’t overexpose any of your highlights (especially in the red channel)! In [...]

Speak Your Mind


Notify me of followup comments via e-mail. You can also subscribe without commenting.