WOLFRAM

ChromaticityPlot3D[colspace]

returns a 3D gamut of the color space colspace.

plots the specific color.

plots the pixels of image as individual colors.

ChromaticityPlot3D[{input1,input2,}]

plots multiple colors, color spaces and images.

ChromaticityPlot3D[,refcolspace]

uses the reference color space refcolspace.

Details and Options

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Visualization of the sRGB color gamut:

Out[1]=1

Compare the gamut of two RGB color spaces:

Out[1]=1

Scope  (8)Survey of the scope of standard use cases

Visualize the sRGB gamut in the CIE 1931 Yxy reference space:

Out[1]=1

Visualize the gamut in the CIE 1931 XYZ reference space:

Out[1]=1

Compare two gamuts in the CIE 1976 space:

Out[1]=1

Show a list of RGB colors in the RGB cube:

Out[1]=1

Visualize color regions in 3D:

Out[1]=1

Visualize the pixels of an image:

Out[1]=1

Visualize the pixels of a 3D image:

Out[1]=1

Visualize the color distribution of a graphics object:

Out[1]=1

Options  (40)Common values & functionality for each option

Appearance  (1)

By default, only the color space gamuts are displayed:

Out[1]=1

Also show the boundary of the visible spectrum:

Out[2]=2

Axes  (3)

By default, the box and axes are drawn:

Out[1]=1

Turn off axes:

Out[1]=1

Turn off both axes and box:

Out[1]=1

AxesLabel  (3)

By default, appropriate labels are displayed for each coordinate:

Out[1]=1

Place a label on the z axis:

Out[1]=1

Specify axes labels:

Out[1]=1

AxesOrigin  (2)

The position of the axes is determined automatically:

Out[1]=1

Specify an explicit origin for the axes:

Out[1]=1

AxesStyle  (4)

Change the style for the axes:

Out[1]=1

Specify a style for each axis:

Out[1]=1

Use different styles for the ticks and the axes:

Out[1]=1

Use different styles for the labels and the axes:

Out[1]=1

BoundaryStyle  (3)

By default, a boundary for each space is drawn:

Out[1]=1

Use thick boundary:

Out[1]=1

Specify color and style of each boundary:

Out[1]=1

BoxRatios  (1)

By default, side-length ratios of 1 are used:

Out[1]=1

Use BoxRatios->Automatic to use natural side-length ratios:

Out[2]=2

Use custom box ratios:

Out[3]=3

FillingStyle  (3)

By default, one space is fully opaque and colored:

Out[1]=1

Make the plot partially transparent:

Out[2]=2

Show just the boundaries:

Out[3]=3

Use a specific color:

Out[4]=4

With multiple spaces, by default all are partially transparent:

Out[1]=1

Individually define the appearance for each space:

Out[2]=2

If the specified list of styles is shorter than the list of color spaces, it is cyclically padded:

Out[1]=1

MaxPlotPoints  (1)

By default, the maximum number of points in the plot is limited:

Out[2]=2

Increase the limit to accommodate all points:

Out[3]=3

Mesh  (6)

By default, no mesh is displayed:

Out[1]=1

Use five mesh lines in each direction:

Out[1]=1

Show full mesh:

Out[1]=1

The resolution of the full mesh is taken from the PlotPoints option:

Out[2]=2

Show only the mesh for each space:

Out[1]=1

Use five mesh lines in each direction for every space:

Out[1]=1

Specify whether to show the mesh individually for each space:

Out[1]=1

MeshStyle  (1)

By default, the boundary style is used for mesh style:

Out[1]=1

Specify a different mesh style:

Out[2]=2

PlotLegends  (2)

By default, the legends are not shown for one color space:

Out[1]=1

Show the plot legend:

Out[2]=2

By default, the legends are shown for multiple spaces:

Out[1]=1

Turn the legends off:

Out[2]=2

PlotPoints  (1)

PlotPoints specifies the density of the grid:

Out[1]=1

PlotStyle  (1)

By default, each directive or pixel is plotted with its actual color:

Out[2]=2

Use a custom style:

Out[3]=3

PlotTheme  (3)

Use a theme with simple frame ticks in a bold color scheme:

Out[1]=1

Change the boundary styles:

Out[1]=1

Use a monochrome theme:

Out[1]=1

WhitePoint  (5)

By default, the white point is not shown:

Out[1]=1

Turn the white point on:

Out[1]=1

Show white points for multiple spaces:

Out[1]=1

Show a specific white point:

Out[1]=1

Show custom white points:

Out[1]=1

Applications  (2)Sample problems that can be solved with this function

Visualize shades of green in the RGB cube:

Out[1]=1

Shades of green in the HSB cube:

Out[2]=2

ImageAdjust rescales RGB values to 0 and 1. Visualize the transformation in the Lab color space:

Out[1]=1
Out[2]=2

Properties & Relations  (2)Properties of the function, and connections to other functions

ProPhoto RGB is designed to cover most of the visible portion of the Lab space:

Out[1]=1

ChromaticityPlot3D can visualize symbolic color regions specified by ColorsNear:

Out[2]=2

Neat Examples  (1)Surprising or curious use cases

A cube portion of LCH is a cylindrical region in LAB:

Out[1]=1
Wolfram Research (2014), ChromaticityPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html (updated 2019).
Wolfram Research (2014), ChromaticityPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html (updated 2019).

Text

Wolfram Research (2014), ChromaticityPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html (updated 2019).

Wolfram Research (2014), ChromaticityPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html (updated 2019).

CMS

Wolfram Language. 2014. "ChromaticityPlot3D." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html.

Wolfram Language. 2014. "ChromaticityPlot3D." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html.

APA

Wolfram Language. (2014). ChromaticityPlot3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html

Wolfram Language. (2014). ChromaticityPlot3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html

BibTeX

@misc{reference.wolfram_2025_chromaticityplot3d, author="Wolfram Research", title="{ChromaticityPlot3D}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html}", note=[Accessed: 23-March-2025 ]}

@misc{reference.wolfram_2025_chromaticityplot3d, author="Wolfram Research", title="{ChromaticityPlot3D}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html}", note=[Accessed: 23-March-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_chromaticityplot3d, organization={Wolfram Research}, title={ChromaticityPlot3D}, year={2019}, url={https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html}, note=[Accessed: 23-March-2025 ]}

@online{reference.wolfram_2025_chromaticityplot3d, organization={Wolfram Research}, title={ChromaticityPlot3D}, year={2019}, url={https://reference.wolfram.com/language/ref/ChromaticityPlot3D.html}, note=[Accessed: 23-March-2025 ]}