Color Image Histogram

Display a histogram showing the color balance of an image.

You are now following this Submission

RGBHIST displays a histogram of the overall color balance of an image.

Use the 'RGB' mode to get a quick sense of which colors are present in particular highlight, shadow, and midtone regions. The 'LAB' mode is more useful for determining the actual color balance of an image, but it is slower.

This function supports UINT8, UINT16, INT8, INT16, and DOUBLE images without colormaps.

Cite As

Julianna Mather (2026). Color Image Histogram (https://www.mathworks.com/matlabcentral/fileexchange/4875-color-image-histogram), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

BSD License

1.0.0.0