ColorSpace

ColorSpace
is an option for Image and related functions that specifies the color space to which color values refer.

DetailsDetails

  • Color spaces supported by Image include:
  • "Grayscale"gray level
    "RGB"red, green, blue
    "CMYK"cyan, magenta, yellow, black
    "HSB"hue, saturation, brightness
    "XYZ"CIE XYZ
    "LAB"CIE LAB
    "LUV"CIE LUV
    ColorProfileData[...][i]color profile with the specified rendering intent i
  • With ColorSpace->ColorProfileData[...][i], rendering intent can be specified. Possible settings are (default), , , and .

ExamplesExamplesopen allclose all

Basic Examples (2)Basic Examples (2)

Create an RGB image from random data:

In[1]:=
Click for copyable input
Out[1]=

Color space can be stored as a ColorProfileData object:

In[1]:=
Click for copyable input
Out[1]=
New in 7 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »