Added in API level 26

Named


class Named
ColorSpace.Named.ACES

RGB color space ACES standardized as SMPTE ST 2065-1:2012.

ColorSpace.Named.ACESCG

RGB color space ACEScg standardized as Academy S-2014-004.

ColorSpace.Named.ADOBE_RGB

RGB color space Adobe RGB (1998).

ColorSpace.Named.BT2020

RGB color space BT.

ColorSpace.Named.BT2020_HLG

RGB color space BT.

ColorSpace.Named.BT2020_PQ

RGB color space BT.

ColorSpace.Named.BT709

RGB color space BT.

ColorSpace.Named.CIE_LAB

Lab color space CIE L*a*b*.

ColorSpace.Named.CIE_XYZ

XYZ color space CIE XYZ.

ColorSpace.Named.DCI_P3

RGB color space DCI-P3 standardized as SMPTE RP 431-2-2007.

ColorSpace.Named.DISPLAY_P3

RGB color space Display P3 based on SMPTE RP 431-2-2007 and IEC 61966-2.

ColorSpace.Named.EXTENDED_SRGB

RGB color space scRGB-nl standardized as IEC 61966-2-2:2003.

ColorSpace.Named.LINEAR_EXTENDED_SRGB

RGB color space scRGB standardized as IEC 61966-2-2:2003.

ColorSpace.Named.LINEAR_SRGB

RGB color space sRGB standardized as IEC 61966-2.

ColorSpace.Named.NTSC_1953

RGB color space NTSC, 1953 standard.

ColorSpace.Named.OK_LAB

android.

ColorSpace.Named.PRO_PHOTO_RGB

RGB color space ProPhoto RGB standardized as ROMM RGB ISO 22028-2:2013.

ColorSpace.Named.SMPTE_C

RGB color space SMPTE C.

ColorSpace.Named.SRGB

RGB color space sRGB standardized as IEC 61966-2.

List of common, named color spaces. A corresponding instance of ColorSpace can be obtained by calling ColorSpace.get(Named):

ColorSpace cs = ColorSpace.get(ColorSpace.Named.DCI_P3);
  

The properties of each color space are described below (see sRGB for instance). When applicable, the color gamut of each color space is compared to the color gamut of sRGB using a CIE 1931 xy chromaticity diagram. This diagram shows the location of the color space's primaries and white point.

Summary

Enum values

RGB color space ACES standardized as SMPTE ST 2065-1:2012.

RGB color space ACEScg standardized as Academy S-2014-004.

RGB color space Adobe RGB (1998).

RGB color space BT.

RGB color space BT.

RGB color space BT.

RGB color space BT.

Lab color space CIE L*a*b*.

XYZ color space CIE XYZ.

RGB color space DCI-P3 standardized as SMPTE RP 431-2-2007.

RGB color space Display P3 based on SMPTE RP 431-2-2007 and IEC 61966-2.

RGB color space scRGB-nl standardized as IEC 61966-2-2:2003.

RGB color space scRGB standardized as IEC 61966-2-2:2003.

RGB color space sRGB standardized as IEC 61966-2.

RGB color space NTSC, 1953 standard.

android.

RGB color space ProPhoto RGB standardized as ROMM RGB ISO 22028-2:2013.

RGB color space SMPTE C.

RGB color space sRGB standardized as IEC 61966-2.

Enum values

ACES

Added in API level 26
enum val ACES : ColorSpace.Named

RGB color space ACES standardized as SMPTE ST 2065-1:2012.

Chromaticity Red Green Blue White point
x 0.73470 0.00000 0.00010 0.32168
y 0.26530 1.00000 -0.07700 0.33767
Property Value
Name SMPTE ST 2065-1:2012 ACES
CIE standard illuminant D60
Opto-electronic transfer function (OETF) CACES=Clinear
Electro-optical transfer function (EOTF) Clinear=CACES
Range [65504.0,65504.0]

ACES (orange) vs sRGB (white)

ACESCG

Added in API level 26
enum val ACESCG : ColorSpace.Named

RGB color space ACEScg standardized as Academy S-2014-004.

Chromaticity Red Green Blue White point
x 0.713 0.165 0.128 0.32168
y 0.293 0.830 0.044 0.33767
Property Value
Name Academy S-2014-004 ACEScg
CIE standard illuminant D60
Opto-electronic transfer function (OETF) CACEScg=Clinear
Electro-optical transfer function (EOTF) Clinear=CACEScg
Range [65504.0,65504.0]

ACEScg (orange) vs sRGB (white)

ADOBE_RGB

Added in API level 26
enum val ADOBE_RGB : ColorSpace.Named

RGB color space Adobe RGB (1998).

Chromaticity Red Green Blue White point
x 0.64 0.21 0.15 0.3127
y 0.33 0.71 0.06 0.3290
Property Value
Name Adobe RGB (1998)
CIE standard illuminant D65
Opto-electronic transfer function (OETF) CRGB=C12.2linear
Electro-optical transfer function (EOTF) Clinear=C2.2RGB
Range [0..1]

Adobe RGB (orange) vs sRGB (white)

BT2020

Added in API level 26
enum val BT2020 : ColorSpace.Named

RGB color space BT.2020 standardized as Rec. ITU-R BT.2020-1.

Chromaticity Red Green Blue White point
x 0.708 0.170 0.131 0.3127
y 0.292 0.797 0.046 0.3290
Property Value
Name Rec. ITU-R BT.2020-1
CIE standard illuminant D65
Opto-electronic transfer function (OETF) CBT2020={4.5×ClinearClinear<0.0181 1.0993×C12.2linear0.0993Clinear0.0181
Electro-optical transfer function (EOTF) Clinear={CBT20204.5CBT2020<0.08145 (CBT2020+0.09931.0993)2.2CBT20200.08145
Range [0..1]

BT.2020 (orange) vs sRGB (white)

BT2020_HLG

Added in API level 34
enum val BT2020_HLG : ColorSpace.Named

RGB color space BT.2100 standardized as Hybrid Log Gamma encoding.

Property Value
Name Hybrid Log Gamma encoding
CIE standard illuminant D65
Range [0..1]

BT2020_PQ

Added in API level 34
enum val BT2020_PQ : ColorSpace.Named

RGB color space BT.2100 standardized as Perceptual Quantizer encoding.

Property Value
Name Perceptual Quantizer encoding
CIE standard illuminant D65
Range [0..1]

BT709

Added in API level 26
enum val BT709 : ColorSpace.Named

RGB color space BT.709 standardized as Rec. ITU-R BT.709-5.

Chromaticity Red Green Blue White point
x 0.640 0.300 0.150 0.3127
y 0.330 0.600 0.060 0.3290
Property Value
Name Rec. ITU-R BT.709-5
CIE standard illuminant D65
Opto-electronic transfer function (OETF) CBT709={4.5×ClinearClinear<0.018 1.099×C12.2linear0.099Clinear0.018
Electro-optical transfer function (EOTF) Clinear={CBT7094.5CBT709<0.081 (CBT709+0.0991.099)2.2CBT7090.081
Range [0..1]

BT.709

CIE_LAB

Added in API level 26
enum val CIE_LAB : ColorSpace.Named

Lab color space CIE L*a*b*. This color space uses CIE XYZ D50 as a profile conversion space.

Property Value
Name Generic L*a*b*
CIE standard illuminant D50
Range L:[0.0,100.0],a:[128,128],b:[128,128]

CIE_XYZ

Added in API level 26
enum val CIE_XYZ : ColorSpace.Named

XYZ color space CIE XYZ. This color space assumes standard illuminant D50 as its white point.

Property Value
Name Generic XYZ
CIE standard illuminant D50
Range [2.0,2.0]

DCI_P3

Added in API level 26
enum val DCI_P3 : ColorSpace.Named

RGB color space DCI-P3 standardized as SMPTE RP 431-2-2007.

Chromaticity Red Green Blue White point
x 0.680 0.265 0.150 0.314
y 0.320 0.690 0.060 0.351
Property Value
Name SMPTE RP 431-2-2007 DCI (P3)
CIE standard illuminant N/A
Opto-electronic transfer function (OETF) CP3=C12.6linear
Electro-optical transfer function (EOTF) Clinear=C2.6P3
Range [0..1]

DCI-P3 (orange) vs sRGB (white)

DISPLAY_P3

Added in API level 26
enum val DISPLAY_P3 : ColorSpace.Named

RGB color space Display P3 based on SMPTE RP 431-2-2007 and IEC 61966-2.1:1999.

Chromaticity Red Green Blue White point
x 0.680 0.265 0.150 0.3127
y 0.320 0.690 0.060 0.3290
Property Value
Name Display P3
CIE standard illuminant D65
Opto-electronic transfer function (OETF) CDisplayP3={12.92×ClinearClinear<0.0030186 1.055×C12.4linear0.055Clinear0.0030186
Electro-optical transfer function (EOTF) Clinear={CDisplayP312.92CsRGB<0.04045 (CDisplayP3+0.0551.055)2.4CsRGB0.04045
Range [0..1]

Display P3 (orange) vs sRGB (white)

EXTENDED_SRGB

Added in API level 26
enum val EXTENDED_SRGB : ColorSpace.Named

RGB color space scRGB-nl standardized as IEC 61966-2-2:2003.

Chromaticity Red Green Blue White point
x 0.640 0.300 0.150 0.3127
y 0.330 0.600 0.060 0.3290
Property Value
Name scRGB-nl IEC 61966-2-2:2003
CIE standard illuminant D65
Opto-electronic transfer function (OETF) CscRGB={sign(Clinear)12.92×|Clinear||Clinear|<0.0031308 sign(Clinear)1.055×|Clinear|12.40.055|Clinear|0.0031308
Electro-optical transfer function (EOTF) Clinear={sign(CscRGB)|CscRGB|12.92|CscRGB|<0.04045 sign(CscRGB)(|CscRGB|+0.0551.055)2.4|CscRGB|0.04045
Range [0.799..2.399[

Extended sRGB (orange) vs sRGB (white)

LINEAR_EXTENDED_SRGB

Added in API level 26
enum val LINEAR_EXTENDED_SRGB : ColorSpace.Named

RGB color space scRGB standardized as IEC 61966-2-2:2003.

Chromaticity Red Green Blue White point
x 0.640 0.300 0.150 0.3127
y 0.330 0.600 0.060 0.3290
Property Value
Name scRGB IEC 61966-2-2:2003
CIE standard illuminant D65
Opto-electronic transfer function (OETF) CscRGB=Clinear
Electro-optical transfer function (EOTF) Clinear=CscRGB
Range [0.5..7.499[

Extended sRGB (orange) vs sRGB (white)

LINEAR_SRGB

Added in API level 26
enum val LINEAR_SRGB : ColorSpace.Named

RGB color space sRGB standardized as IEC 61966-2.1:1999.

Chromaticity Red Green Blue White point
x 0.640 0.300 0.150 0.3127
y 0.330 0.600 0.060 0.3290
Property Value
Name sRGB IEC61966-2.1 (Linear)
CIE standard illuminant D65
Opto-electronic transfer function (OETF) CsRGB=Clinear
Electro-optical transfer function (EOTF) Clinear=CsRGB
Range [0..1]

sRGB

NTSC_1953

Added in API level 26
enum val NTSC_1953 : ColorSpace.Named

RGB color space NTSC, 1953 standard.

Chromaticity Red Green Blue White point
x 0.67 0.21 0.14 0.310
y 0.33 0.71 0.08 0.316
Property Value
Name NTSC (1953)
CIE standard illuminant C
Opto-electronic transfer function (OETF) CBT709={4.5×ClinearClinear<0.018 1.099×C12.2linear0.099Clinear0.018
Electro-optical transfer function (EOTF) Clinear={CBT7094.5CBT709<0.081 (CBT709+0.0991.099)2.2CBT7090.081
Range [0..1]

NTSC 1953 (orange) vs sRGB (white)

OK_LAB

enum val OK_LAB : ColorSpace.Named

android.graphics.ColorSpace.Lab color space OkLab standardized as OkLab

Property Value
Name Oklab
CIE standard illuminant D65
Range L:[0.0,1.0],a:[2,2],b:[2,2]

PRO_PHOTO_RGB

Added in API level 26
enum val PRO_PHOTO_RGB : ColorSpace.Named

RGB color space ProPhoto RGB standardized as ROMM RGB ISO 22028-2:2013.

Chromaticity Red Green Blue White point
x 0.7347 0.1596 0.0366 0.3457
y 0.2653 0.8404 0.0001 0.3585
Property Value
Name ROMM RGB ISO 22028-2:2013
CIE standard illuminant D50
Opto-electronic transfer function (OETF) CROMM={16×ClinearClinear<0.001953 C11.8linearClinear0.001953
Electro-optical transfer function (EOTF) Clinear={CROMM16CROMM<0.031248 C1.8ROMMCROMM0.031248
Range [0..1]

ProPhoto RGB (orange) vs sRGB (white)

SMPTE_C

Added in API level 26
enum val SMPTE_C : ColorSpace.Named

RGB color space SMPTE C.

Chromaticity Red Green Blue White point
x 0.630 0.310 0.155 0.3127
y 0.340 0.595 0.070 0.3290
Property Value
Name SMPTE-C RGB
CIE standard illuminant D65
Opto-electronic transfer function (OETF) CBT709={4.5×ClinearClinear<0.018 1.099×C12.2linear0.099Clinear0.018
Electro-optical transfer function (EOTF) Clinear={CBT7094.5CBT709<0.081 (CBT709+0.0991.099)2.2CBT7090.081
Range [0..1]

SMPTE-C (orange) vs sRGB (white)

SRGB

Added in API level 26
enum val SRGB : ColorSpace.Named

RGB color space sRGB standardized as IEC 61966-2.1:1999.

Chromaticity Red Green Blue White point
x 0.640 0.300 0.150 0.3127
y 0.330 0.600 0.060 0.3290
Property Value
Name sRGB IEC61966-2.1
CIE standard illuminant D65
Opto-electronic transfer function (OETF) CsRGB={12.92×ClinearClinear<0.0031308 1.055×C12.4linear0.055Clinear0.0031308
Electro-optical transfer function (EOTF) Clinear={CsRGB12.92CsRGB<0.04045 (CsRGB+0.0551.055)2.4CsRGB0.04045
Range [0..1]

sRGB