---
title: "Color Processing"
language: "en"
type: "Guide"
summary: "The Wolfram Language provides convenient functions and algorithms for manipulating colors and color images, with full generality for arbitrary numbers of color channels."
sections: 
  - 
    title: "Basic Operations"
    link: "null"
  - 
    title: "Color Adjustments"
    link: "null"
  - 
    title: "Level & Histogram Processing"
    link: "null"
  - 
    title: "Color Segmentation"
    link: "null"
  - 
    title: "Color Spaces"
    link: "null"
  - 
    title: "Color Visualization"
    link: "null"
  - 
    title: "Channel Operations"
    link: "null"
  - 
    title: "Pixel Operations"
    link: "null"
  - 
    title: "Pseudocolor Images"
    link: "paclet:guide/ColorSchemes"
  - 
    title: "Colors"
    link: "paclet:guide/Colors"
keywords: 
- color processing
- convert colors
- color channels
- image color levels
- image levels
- color schemes
- built in colors
- builtin colors
canonical_url: "https://reference.wolfram.com/language/guide/ColorProcessing.html"
source: "Wolfram Language Documentation"
related_guides: 
  - 
    title: "Colors"
    link: "https://reference.wolfram.com/language/guide/Colors.en.md"
  - 
    title: "Computational Photography"
    link: "https://reference.wolfram.com/language/guide/ComputationalPhotography.en.md"
  - 
    title: "Image Processing & Analysis"
    link: "https://reference.wolfram.com/language/guide/ImageProcessing.en.md"
  - 
    title: "Image Representation"
    link: "https://reference.wolfram.com/language/guide/ImageRepresentation.en.md"
related_functions: 
  - 
    title: "AlphaChannel"
    link: "https://reference.wolfram.com/language/ref/AlphaChannel.en.md"
  - 
    title: "Binarize"
    link: "https://reference.wolfram.com/language/ref/Binarize.en.md"
  - 
    title: "Blend"
    link: "https://reference.wolfram.com/language/ref/Blend.en.md"
  - 
    title: "BrightnessEqualize"
    link: "https://reference.wolfram.com/language/ref/BrightnessEqualize.en.md"
  - 
    title: "ChromaticityPlot"
    link: "https://reference.wolfram.com/language/ref/ChromaticityPlot.en.md"
  - 
    title: "ChromaticityPlot3D"
    link: "https://reference.wolfram.com/language/ref/ChromaticityPlot3D.en.md"
  - 
    title: "ColorBalance"
    link: "https://reference.wolfram.com/language/ref/ColorBalance.en.md"
  - 
    title: "ColorCombine"
    link: "https://reference.wolfram.com/language/ref/ColorCombine.en.md"
  - 
    title: "ColorConvert"
    link: "https://reference.wolfram.com/language/ref/ColorConvert.en.md"
  - 
    title: "ColorDetect"
    link: "https://reference.wolfram.com/language/ref/ColorDetect.en.md"
  - 
    title: "ColorDistance"
    link: "https://reference.wolfram.com/language/ref/ColorDistance.en.md"
  - 
    title: "Colorize"
    link: "https://reference.wolfram.com/language/ref/Colorize.en.md"
  - 
    title: "ColorNegate"
    link: "https://reference.wolfram.com/language/ref/ColorNegate.en.md"
  - 
    title: "ColorProfileData"
    link: "https://reference.wolfram.com/language/ref/ColorProfileData.en.md"
  - 
    title: "ColorQ"
    link: "https://reference.wolfram.com/language/ref/ColorQ.en.md"
  - 
    title: "ColorQuantize"
    link: "https://reference.wolfram.com/language/ref/ColorQuantize.en.md"
  - 
    title: "ColorReplace"
    link: "https://reference.wolfram.com/language/ref/ColorReplace.en.md"
  - 
    title: "ColorSeparate"
    link: "https://reference.wolfram.com/language/ref/ColorSeparate.en.md"
  - 
    title: "ColorSetter"
    link: "https://reference.wolfram.com/language/ref/ColorSetter.en.md"
  - 
    title: "ColorSpace"
    link: "https://reference.wolfram.com/language/ref/ColorSpace.en.md"
  - 
    title: "ColorToneMapping"
    link: "https://reference.wolfram.com/language/ref/ColorToneMapping.en.md"
  - 
    title: "Darker"
    link: "https://reference.wolfram.com/language/ref/Darker.en.md"
  - 
    title: "DominantColors"
    link: "https://reference.wolfram.com/language/ref/DominantColors.en.md"
  - 
    title: "FindMatchingColor"
    link: "https://reference.wolfram.com/language/ref/FindMatchingColor.en.md"
  - 
    title: "FindThreshold"
    link: "https://reference.wolfram.com/language/ref/FindThreshold.en.md"
  - 
    title: "GrayLevel"
    link: "https://reference.wolfram.com/language/ref/GrayLevel.en.md"
  - 
    title: "Green"
    link: "https://reference.wolfram.com/language/ref/Green.en.md"
  - 
    title: "HighlightImage"
    link: "https://reference.wolfram.com/language/ref/HighlightImage.en.md"
  - 
    title: "HistogramTransform"
    link: "https://reference.wolfram.com/language/ref/HistogramTransform.en.md"
  - 
    title: "HistogramTransformInterpolation"
    link: "https://reference.wolfram.com/language/ref/HistogramTransformInterpolation.en.md"
  - 
    title: "ImageAdjust"
    link: "https://reference.wolfram.com/language/ref/ImageAdjust.en.md"
  - 
    title: "ImageApply"
    link: "https://reference.wolfram.com/language/ref/ImageApply.en.md"
  - 
    title: "ImageChannels"
    link: "https://reference.wolfram.com/language/ref/ImageChannels.en.md"
  - 
    title: "ImageColorSpace"
    link: "https://reference.wolfram.com/language/ref/ImageColorSpace.en.md"
  - 
    title: "ImageDemosaic"
    link: "https://reference.wolfram.com/language/ref/ImageDemosaic.en.md"
  - 
    title: "ImageHistogram"
    link: "https://reference.wolfram.com/language/ref/ImageHistogram.en.md"
  - 
    title: "ImageLevels"
    link: "https://reference.wolfram.com/language/ref/ImageLevels.en.md"
  - 
    title: "ImageRecolor"
    link: "https://reference.wolfram.com/language/ref/ImageRecolor.en.md"
  - 
    title: "ImageScan"
    link: "https://reference.wolfram.com/language/ref/ImageScan.en.md"
  - 
    title: "ImageValue"
    link: "https://reference.wolfram.com/language/ref/ImageValue.en.md"
  - 
    title: "ImageValuePositions"
    link: "https://reference.wolfram.com/language/ref/ImageValuePositions.en.md"
  - 
    title: "ImageVectorscopePlot"
    link: "https://reference.wolfram.com/language/ref/ImageVectorscopePlot.en.md"
  - 
    title: "ImageWaveformPlot"
    link: "https://reference.wolfram.com/language/ref/ImageWaveformPlot.en.md"
  - 
    title: "LABColor"
    link: "https://reference.wolfram.com/language/ref/LABColor.en.md"
  - 
    title: "Lighter"
    link: "https://reference.wolfram.com/language/ref/Lighter.en.md"
  - 
    title: "PixelValue"
    link: "https://reference.wolfram.com/language/ref/PixelValue.en.md"
  - 
    title: "PixelValuePositions"
    link: "https://reference.wolfram.com/language/ref/PixelValuePositions.en.md"
  - 
    title: "RandomColor"
    link: "https://reference.wolfram.com/language/ref/RandomColor.en.md"
  - 
    title: "Red"
    link: "https://reference.wolfram.com/language/ref/Red.en.md"
  - 
    title: "ReliefImage"
    link: "https://reference.wolfram.com/language/ref/ReliefImage.en.md"
  - 
    title: "RemoveAlphaChannel"
    link: "https://reference.wolfram.com/language/ref/RemoveAlphaChannel.en.md"
  - 
    title: "ReplaceImageValue"
    link: "https://reference.wolfram.com/language/ref/ReplaceImageValue.en.md"
  - 
    title: "ReplacePixelValue"
    link: "https://reference.wolfram.com/language/ref/ReplacePixelValue.en.md"
  - 
    title: "RGBColor"
    link: "https://reference.wolfram.com/language/ref/RGBColor.en.md"
  - 
    title: "SetAlphaChannel"
    link: "https://reference.wolfram.com/language/ref/SetAlphaChannel.en.md"
  - 
    title: "Threshold"
    link: "https://reference.wolfram.com/language/ref/Threshold.en.md"
---
# Color Processing

The Wolfram Language provides convenient functions and algorithms for manipulating colors and color images, with full generality for arbitrary numbers of color channels.

---

### Basic Operations

[`ColorNegate`](https://reference.wolfram.com/language/ref/ColorNegate.en.md) — negate color values

[`Blend`](https://reference.wolfram.com/language/ref/Blend.en.md) — blend color values

[`ImageDemosaic`](https://reference.wolfram.com/language/ref/ImageDemosaic.en.md) — reconstruct a color image from raw images

### Color Adjustments

[`ImageAdjust`](https://reference.wolfram.com/language/ref/ImageAdjust.en.md) — uniformly adjust levels, brightness, contrast, gamma, etc.

[`BrightnessEqualize`](https://reference.wolfram.com/language/ref/BrightnessEqualize.en.md) — correct uneven brightness

* [`Lighter`](https://reference.wolfram.com/language/ref/Lighter.en.md)
* [`Darker`](https://reference.wolfram.com/language/ref/Darker.en.md)
* [`ColorBalance`](https://reference.wolfram.com/language/ref/ColorBalance.en.md)
* [`ColorToneMapping`](https://reference.wolfram.com/language/ref/ColorToneMapping.en.md)

### Level & Histogram Processing

[`ImageHistogram`](https://reference.wolfram.com/language/ref/ImageHistogram.en.md) — histogram of levels by channel

[`ImageLevels`](https://reference.wolfram.com/language/ref/ImageLevels.en.md) — tally of levels in each channel

* [`Binarize`](https://reference.wolfram.com/language/ref/Binarize.en.md)
* [`FindThreshold`](https://reference.wolfram.com/language/ref/FindThreshold.en.md)
* [`Threshold`](https://reference.wolfram.com/language/ref/Threshold.en.md)

* [`HistogramTransform`](https://reference.wolfram.com/language/ref/HistogramTransform.en.md)
* [`HistogramTransformInterpolation`](https://reference.wolfram.com/language/ref/HistogramTransformInterpolation.en.md)

### Color Segmentation

[`DominantColors`](https://reference.wolfram.com/language/ref/DominantColors.en.md) — find a list of dominant colors

[`ImageRecolor`](https://reference.wolfram.com/language/ref/ImageRecolor.en.md) — recolor regions of an image with a new color

* [`ColorDetect`](https://reference.wolfram.com/language/ref/ColorDetect.en.md)
* [`FindMatchingColor`](https://reference.wolfram.com/language/ref/FindMatchingColor.en.md)
* [`ColorQuantize`](https://reference.wolfram.com/language/ref/ColorQuantize.en.md)
* [`ColorReplace`](https://reference.wolfram.com/language/ref/ColorReplace.en.md)

### Color Spaces

[`ColorConvert`](https://reference.wolfram.com/language/ref/ColorConvert.en.md) — convert between color spaces

[`ColorSpace`](https://reference.wolfram.com/language/ref/ColorSpace.en.md) — option for specifying color spaces

[`ImageColorSpace`](https://reference.wolfram.com/language/ref/ImageColorSpace.en.md) — gives the color space setting for an image

"Grayscale", "RGB", "CMYK", "HSB", "XYZ", "LAB", "LCH", "LUV" — named color spaces

[`ColorProfileData`](https://reference.wolfram.com/language/ref/ColorProfileData.en.md) — representation for general color spaces

### Color Visualization

[`ChromaticityPlot`](https://reference.wolfram.com/language/ref/ChromaticityPlot.en.md) — visualize gamut of a color space or an image

* [`ChromaticityPlot3D`](https://reference.wolfram.com/language/ref/ChromaticityPlot3D.en.md)
* [`ImageWaveformPlot`](https://reference.wolfram.com/language/ref/ImageWaveformPlot.en.md)
* [`ImageVectorscopePlot`](https://reference.wolfram.com/language/ref/ImageVectorscopePlot.en.md)

### Channel Operations

[`ColorSeparate`](https://reference.wolfram.com/language/ref/ColorSeparate.en.md), [`ColorCombine`](https://reference.wolfram.com/language/ref/ColorCombine.en.md) — separate, combine color channels

[`ImageChannels`](https://reference.wolfram.com/language/ref/ImageChannels.en.md) — the number of channels in an image

[`AlphaChannel`](https://reference.wolfram.com/language/ref/AlphaChannel.en.md) — the alpha channel of the image

* [`SetAlphaChannel`](https://reference.wolfram.com/language/ref/SetAlphaChannel.en.md)
* [`RemoveAlphaChannel`](https://reference.wolfram.com/language/ref/RemoveAlphaChannel.en.md)

---

### Pixel Operations

[`ImageValuePositions`](https://reference.wolfram.com/language/ref/ImageValuePositions.en.md), [`PixelValuePositions`](https://reference.wolfram.com/language/ref/PixelValuePositions.en.md) — coordinates of pixels of a given color

[`ImageValue`](https://reference.wolfram.com/language/ref/ImageValue.en.md), [`PixelValue`](https://reference.wolfram.com/language/ref/PixelValue.en.md) — get the value of a pixel at the specified position

[`ReplaceImageValue`](https://reference.wolfram.com/language/ref/ReplaceImageValue.en.md), [`ReplacePixelValue`](https://reference.wolfram.com/language/ref/ReplacePixelValue.en.md) — replace the value of specified pixels

[`ImageApply`](https://reference.wolfram.com/language/ref/ImageApply.en.md) — apply an arbitrary function to each pixel value

[`ImageScan`](https://reference.wolfram.com/language/ref/ImageScan.en.md) — scan over every pixel of an image, applying a function

---

### [Pseudocolor Images](https://reference.wolfram.com/language/guide/ColorSchemes.en.md)

[`Colorize`](https://reference.wolfram.com/language/ref/Colorize.en.md) — create pseudocolor images

[`ReliefImage`](https://reference.wolfram.com/language/ref/ReliefImage.en.md) — create an image from data using simulated relief

[`HighlightImage`](https://reference.wolfram.com/language/ref/HighlightImage.en.md) — highlight the region of interest in an image

### [`Colors`](https://reference.wolfram.com/language/guide/Colors.en.md)

[`RGBColor`](https://reference.wolfram.com/language/ref/RGBColor.en.md) — specify a color by its red, green, and blue values

* [`LABColor`](https://reference.wolfram.com/language/ref/LABColor.en.md)
* [`GrayLevel`](https://reference.wolfram.com/language/ref/GrayLevel.en.md)
* [`Red`](https://reference.wolfram.com/language/ref/Red.en.md)
* [`Green`](https://reference.wolfram.com/language/ref/Green.en.md)
* [`RandomColor`](https://reference.wolfram.com/language/ref/RandomColor.en.md)
* [`...`](https://reference.wolfram.com/language/guide/Colors.en.md)

* [`ColorQ`](https://reference.wolfram.com/language/ref/ColorQ.en.md)
* [`ColorDistance`](https://reference.wolfram.com/language/ref/ColorDistance.en.md)
* [`ColorSetter`](https://reference.wolfram.com/language/ref/ColorSetter.en.md)
* [`...`](https://reference.wolfram.com/language/guide/Colors.en.md)

## Related Guides

* [`Colors`](https://reference.wolfram.com/language/guide/Colors.en.md)
* [Computational Photography](https://reference.wolfram.com/language/guide/ComputationalPhotography.en.md)
* [Image Processing & Analysis](https://reference.wolfram.com/language/guide/ImageProcessing.en.md)
* [Image Representation](https://reference.wolfram.com/language/guide/ImageRepresentation.en.md)

## Related Links

* [[image]  Wolfram Core Areas: Integrated Image Computation](https://www.wolfram.com/language/core-areas/image/)
* [[image]  Wolfram Core Areas: Integrated Video Computation](https://www.wolfram.com/language/core-areas/video/)