Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Enums](https://developer.android.com/reference/android/graphics/ColorSpace.Named#enumconstants) \| [Methods](https://developer.android.com/reference/android/graphics/ColorSpace.Named#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/graphics/ColorSpace.Named#inhmethods)

# ColorSpace.Named

*** ** * ** ***

` public static final enum ColorSpace.Named `   
` ` ` extends https://developer.android.com/reference/java/lang/Enum<https://developer.android.com/reference/android/graphics/ColorSpace.Named> ` ` `

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) |||
| ↳ | [java.lang.Enum](https://developer.android.com/reference/java/lang/Enum)\<[android.graphics.ColorSpace.Named](https://developer.android.com/reference/android/graphics/ColorSpace.Named)\> ||
|   | ↳ | android.graphics.ColorSpace.Named |

<br />

*** ** * ** ***


List of common, named color spaces. A corresponding instance of `https://developer.android.com/reference/android/graphics/ColorSpace` can be obtained by calling `https://developer.android.com/reference/android/graphics/ColorSpace#get(android.graphics.ColorSpace.Named)`:

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

The properties of each color space are described below (see `https://developer.android.com/reference/android/graphics/ColorSpace.Named#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.

<br />

**See also:**

- `https://developer.android.com/reference/android/graphics/ColorSpace#get(android.graphics.ColorSpace.Named)`

## Summary

### Enum values

`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `ACES`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space ACES standardized as SMPTE ST 2065-1:2012.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `ACESCG`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space ACEScg standardized as Academy S-2014-004.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `ADOBE_RGB`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space Adobe RGB (1998).
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `BT2020`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space BT.2020 standardized as Rec.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `BT2020_HLG`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space BT.2100 standardized as Hybrid Log Gamma encoding.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `BT2020_PQ`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space BT.2100 standardized as Perceptual Quantizer encoding.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `BT709`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space BT.709 standardized as Rec.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `CIE_LAB`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Model#LAB` color space CIE L\*a\*b\*.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `CIE_XYZ`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Model#XYZ` color space CIE XYZ.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `DCI_P3`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space DCI-P3 standardized as SMPTE RP 431-2-2007.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `DISPLAY_BT2020`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space BT.2020 based on Rec.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `DISPLAY_P3`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space Display P3 based on SMPTE RP 431-2-2007 and IEC 61966-2.1:1999.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `EXTENDED_SRGB`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space scRGB-nl standardized as IEC 61966-2-2:2003.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `LINEAR_EXTENDED_SRGB`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space scRGB standardized as IEC 61966-2-2:2003.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `LINEAR_SRGB`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space sRGB standardized as IEC 61966-2.1:1999.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `NTSC_1953`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space NTSC, 1953 standard.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `OK_LAB`

<br />

`https://developer.android.com/` 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\]\`\\)

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `PRO_PHOTO_RGB`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space ProPhoto RGB standardized as ROMM RGB ISO 22028-2:2013.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `SMPTE_C`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space SMPTE C.
`https://developer.android.com/reference/android/graphics/ColorSpace.Named` `SRGB`

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space sRGB standardized as IEC 61966-2.1:1999.

| ### Public methods ||
|---|---|
| ` static https://developer.android.com/reference/android/graphics/ColorSpace.Named` | ` https://developer.android.com/reference/android/graphics/ColorSpace.Named#valueOf(java.lang.String)(https://developer.android.com/reference/java/lang/String name) ` |
| ` static final https://developer.android.com/reference/android/graphics/ColorSpace.Named` | ` https://developer.android.com/reference/android/graphics/ColorSpace.Named#values()() ` |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Enum ` ` final https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Enum#clone()() `

Throws CloneNotSupportedException.
` final int` ` https://developer.android.com/reference/java/lang/Enum#compareTo(E)(https://developer.android.com/reference/android/graphics/ColorSpace.Named o) `

Compares this enum with the specified object for order.
` final boolean` ` https://developer.android.com/reference/java/lang/Enum#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object other) `

Returns true if the specified object is equal to this enum constant.
` final void` ` https://developer.android.com/reference/java/lang/Enum#finalize()() `

enum classes cannot have finalize methods.
` final https://developer.android.com/reference/java/lang/Class<https://developer.android.com/reference/android/graphics/ColorSpace.Named>` ` https://developer.android.com/reference/java/lang/Enum#getDeclaringClass()() `

Returns the Class object corresponding to this enum constant's enum type.
` final int` ` https://developer.android.com/reference/java/lang/Enum#hashCode()() `

Returns a hash code for this enum constant.
` final https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Enum#name()() `

Returns the name of this enum constant, exactly as declared in its enum declaration.
` final int` ` https://developer.android.com/reference/java/lang/Enum#ordinal()() `

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Enum#toString()() `

Returns the name of this enum constant, as contained in the declaration.
` static <T extends https://developer.android.com/reference/java/lang/Enum<T>> T` ` https://developer.android.com/reference/java/lang/Enum#valueOf(java.lang.Class<T>,%20java.lang.String)(https://developer.android.com/reference/java/lang/Class<T> enumClass, https://developer.android.com/reference/java/lang/String name) `

Returns the enum constant of the specified enum class with the specified name.
From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.
From interface ` https://developer.android.com/reference/java/lang/Comparable ` ` abstract int` ` https://developer.android.com/reference/java/lang/Comparable#compareTo(T)(https://developer.android.com/reference/android/graphics/ColorSpace.Named o) `

Compares this object with the specified object for order.

## Enum values

### ACES

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named ACES
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | SMPTE ST 2065-1:2012 ACES ||||
| CIE standard illuminant | D60 ||||
| Opto-electronic transfer function (OETF) | \\(C_{ACES} = C_{linear}\\) ||||
| Electro-optical transfer function (EOTF) | \\(C_{linear} = C_{ACES}\\) ||||
| Range | \\(\[-65504.0, 65504.0\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_aces.png)
ACES (orange) vs sRGB (white)

<br />

<br />

<br />

### ACESCG

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named ACESCG
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | Academy S-2014-004 ACEScg ||||
| CIE standard illuminant | D60 ||||
| Opto-electronic transfer function (OETF) | \\(C_{ACEScg} = C_{linear}\\) ||||
| Electro-optical transfer function (EOTF) | \\(C_{linear} = C_{ACEScg}\\) ||||
| Range | \\(\[-65504.0, 65504.0\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_acescg.png)
ACEScg (orange) vs sRGB (white)

<br />

<br />

<br />

### ADOBE_RGB

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named ADOBE_RGB
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | Adobe RGB (1998) ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(C_{RGB} = C_{linear}\^{\\frac{1}{2.2}}\\) ||||
| Electro-optical transfer function (EOTF) | \\(C_{linear} = C_{RGB}\^{2.2}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_adobe_rgb.png)
Adobe RGB (orange) vs sRGB (white)

<br />

<br />

<br />

### BT2020

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named BT2020
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | Rec. ITU-R BT.2020-1 ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(\\begin{equation} C_{BT2020} = \\begin{cases} 4.5 \\times C_{linear} \& C_{linear} \\lt 0.0181 \\\\\\ 1.0993 \\times C_{linear}\^{\\frac{1}{2.2}} - 0.0993 \& C_{linear} \\ge 0.0181 \\end{cases} \\end{equation}\\) ||||
| Electro-optical transfer function (EOTF) | \\(\\begin{equation} C_{linear} = \\begin{cases}\\frac{C_{BT2020}}{4.5} \& C_{BT2020} \\lt 0.08145 \\\\\\ \\left( \\frac{C_{BT2020} + 0.0993}{1.0993} \\right) \^{2.2} \& C_{BT2020} \\ge 0.08145 \\end{cases} \\end{equation}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_bt2020.png)
BT.2020 (orange) vs sRGB (white)

<br />

<br />

<br />

### BT2020_HLG

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named BT2020_HLG
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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\]\\) ||||

<br />

<br />

### BT2020_PQ

Added in [API level 34](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named BT2020_PQ
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space BT.2100 standardized as Perceptual Quantizer encoding.

| Property | Value ||||
|---|---|---|---|---|
| Name | Perceptual Quantizer encoding ||||
| CIE standard illuminant | D65 ||||
| Range | \\(\[0..1\]\\) ||||

<br />

<br />

### BT709

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named BT709
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | Rec. ITU-R BT.709-5 ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(\\begin{equation} C_{BT709} = \\begin{cases} 4.5 \\times C_{linear} \& C_{linear} \\lt 0.018 \\\\\\ 1.099 \\times C_{linear}\^{\\frac{1}{2.2}} - 0.099 \& C_{linear} \\ge 0.018 \\end{cases} \\end{equation}\\) ||||
| Electro-optical transfer function (EOTF) | \\(\\begin{equation} C_{linear} = \\begin{cases}\\frac{C_{BT709}}{4.5} \& C_{BT709} \\lt 0.081 \\\\\\ \\left( \\frac{C_{BT709} + 0.099}{1.099} \\right) \^{2.2} \& C_{BT709} \\ge 0.081 \\end{cases} \\end{equation}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_bt709.png)
BT.709

<br />

<br />

<br />

### CIE_LAB

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named CIE_LAB
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Model#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\]\\) ||||

<br />

<br />

### CIE_XYZ

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named CIE_XYZ
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Model#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\]\\) ||||

<br />

<br />

### DCI_P3

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named DCI_P3
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | SMPTE RP 431-2-2007 DCI (P3) ||||
| CIE standard illuminant | N/A ||||
| Opto-electronic transfer function (OETF) | \\(C_{P3} = C_{linear}\^{\\frac{1}{2.6}}\\) ||||
| Electro-optical transfer function (EOTF) | \\(C_{linear} = C_{P3}\^{2.6}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_dci_p3.png)
DCI-P3 (orange) vs sRGB (white)

<br />

<br />

<br />

### DISPLAY_BT2020

Added in [API level 37](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named DISPLAY_BT2020
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.Rgb` color space BT.2020 based on Rec. ITU-R BT.2020-1 and IEC 61966-2.1:1999.

<br />

| Chromaticity | Red | Green | Blue | White point |
|---|---|---|---|---|
| x | 0.708 | 0.170 | 0.131 | 0.3127 |
| y | 0.292 | 0.797 | 0.046 | 0.3290 |
| Name | Rec. ITU-R BT.2020-1 ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(\\begin{equation} C_{DisplayBT2020} = \\begin{cases} 12.92 \\times C_{linear} \& C_{linear} \\lt 0.0030186 \\\\\\ 1.055 \\times C_{linear}\^{\\frac{1}{2.4}} - 0.055 \& C_{linear} \\ge 0.0030186 \\end{cases} \\end{equation}\\) ||||
| Electro-optical transfer function (EOTF) | \\(\\begin{equation} C_{linear} = \\begin{cases}\\frac{C_{DisplayBT2020}}{12.92} \& C_{sRGB} \\lt 0.04045 \\\\\\ \\left( \\frac{C_{DisplayBT2020} + 0.055}{1.055} \\right) \^{2.4} \& C_{sRGB} \\ge 0.04045 \\end{cases} \\end{equation}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_bt2020.png)
BT.2020 (orange) vs sRGB (white)

<br />

<br />

<br />

### DISPLAY_P3

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named DISPLAY_P3
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | Display P3 ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(\\begin{equation} C_{DisplayP3} = \\begin{cases} 12.92 \\times C_{linear} \& C_{linear} \\lt 0.0030186 \\\\\\ 1.055 \\times C_{linear}\^{\\frac{1}{2.4}} - 0.055 \& C_{linear} \\ge 0.0030186 \\end{cases} \\end{equation}\\) ||||
| Electro-optical transfer function (EOTF) | \\(\\begin{equation} C_{linear} = \\begin{cases}\\frac{C_{DisplayP3}}{12.92} \& C_{sRGB} \\lt 0.04045 \\\\\\ \\left( \\frac{C_{DisplayP3} + 0.055}{1.055} \\right) \^{2.4} \& C_{sRGB} \\ge 0.04045 \\end{cases} \\end{equation}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_display_p3.png)
Display P3 (orange) vs sRGB (white)

<br />

<br />

<br />

### EXTENDED_SRGB

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named EXTENDED_SRGB
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | scRGB-nl IEC 61966-2-2:2003 ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(\\begin{equation} C_{scRGB} = \\begin{cases} sign(C_{linear}) 12.92 \\times \\left\| C_{linear} \\right\| \& \\left\| C_{linear} \\right\| \\lt 0.0031308 \\\\\\ sign(C_{linear}) 1.055 \\times \\left\| C_{linear} \\right\| \^{\\frac{1}{2.4}} - 0.055 \& \\left\| C_{linear} \\right\| \\ge 0.0031308 \\end{cases} \\end{equation}\\) ||||
| Electro-optical transfer function (EOTF) | \\(\\begin{equation} C_{linear} = \\begin{cases}sign(C_{scRGB}) \\frac{\\left\| C_{scRGB} \\right\|}{12.92} \& \\left\| C_{scRGB} \\right\| \\lt 0.04045 \\\\\\ sign(C_{scRGB}) \\left( \\frac{\\left\| C_{scRGB} \\right\| + 0.055}{1.055} \\right) \^{2.4} \& \\left\| C_{scRGB} \\right\| \\ge 0.04045 \\end{cases} \\end{equation}\\) ||||
| Range | \\(\[-0.799..2.399\[\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_scrgb.png)
Extended sRGB (orange) vs sRGB (white)

<br />

<br />

<br />

### LINEAR_EXTENDED_SRGB

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named LINEAR_EXTENDED_SRGB
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | scRGB IEC 61966-2-2:2003 ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(C_{scRGB} = C_{linear}\\) ||||
| Electro-optical transfer function (EOTF) | \\(C_{linear} = C_{scRGB}\\) ||||
| Range | \\(\[-0.5..7.499\[\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_scrgb.png)
Extended sRGB (orange) vs sRGB (white)

<br />

<br />

<br />

### LINEAR_SRGB

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named LINEAR_SRGB
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | sRGB IEC61966-2.1 (Linear) ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(C_{sRGB} = C_{linear}\\) ||||
| Electro-optical transfer function (EOTF) | \\(C_{linear} = C_{sRGB}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_srgb.png)
sRGB

<br />

<br />

<br />

### NTSC_1953

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named NTSC_1953
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | NTSC (1953) ||||
| CIE standard illuminant | C ||||
| Opto-electronic transfer function (OETF) | \\(\\begin{equation} C_{BT709} = \\begin{cases} 4.5 \\times C_{linear} \& C_{linear} \\lt 0.018 \\\\\\ 1.099 \\times C_{linear}\^{\\frac{1}{2.2}} - 0.099 \& C_{linear} \\ge 0.018 \\end{cases} \\end{equation}\\) ||||
| Electro-optical transfer function (EOTF) | \\(\\begin{equation} C_{linear} = \\begin{cases}\\frac{C_{BT709}}{4.5} \& C_{BT709} \\lt 0.081 \\\\\\ \\left( \\frac{C_{BT709} + 0.099}{1.099} \\right) \^{2.2} \& C_{BT709} \\ge 0.081 \\end{cases} \\end{equation}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_ntsc_1953.png)
NTSC 1953 (orange) vs sRGB (white)

<br />

<br />

<br />

### OK_LAB

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named OK_LAB
```

<br />

`https://developer.android.com/` 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\]\`\\) ||||

<br />

<br />

### PRO_PHOTO_RGB

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named PRO_PHOTO_RGB
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | ROMM RGB ISO 22028-2:2013 ||||
| CIE standard illuminant | D50 ||||
| Opto-electronic transfer function (OETF) | \\(\\begin{equation} C_{ROMM} = \\begin{cases} 16 \\times C_{linear} \& C_{linear} \\lt 0.001953 \\\\\\ C_{linear}\^{\\frac{1}{1.8}} \& C_{linear} \\ge 0.001953 \\end{cases} \\end{equation}\\) ||||
| Electro-optical transfer function (EOTF) | \\(\\begin{equation} C_{linear} = \\begin{cases}\\frac{C_{ROMM}}{16} \& C_{ROMM} \\lt 0.031248 \\\\\\ C_{ROMM}\^{1.8} \& C_{ROMM} \\ge 0.031248 \\end{cases} \\end{equation}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_pro_photo_rgb.png)
ProPhoto RGB (orange) vs sRGB (white)

<br />

<br />

<br />

### SMPTE_C

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named SMPTE_C
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | SMPTE-C RGB ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(\\begin{equation} C_{BT709} = \\begin{cases} 4.5 \\times C_{linear} \& C_{linear} \\lt 0.018 \\\\\\ 1.099 \\times C_{linear}\^{\\frac{1}{2.2}} - 0.099 \& C_{linear} \\ge 0.018 \\end{cases} \\end{equation}\\) ||||
| Electro-optical transfer function (EOTF) | \\(\\begin{equation} C_{linear} = \\begin{cases}\\frac{C_{BT709}}{4.5} \& C_{BT709} \\lt 0.081 \\\\\\ \\left( \\frac{C_{BT709} + 0.099}{1.099} \\right) \^{2.2} \& C_{BT709} \\ge 0.081 \\end{cases} \\end{equation}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_smpte_c.png)
SMPTE-C (orange) vs sRGB (white)

<br />

<br />

<br />

### SRGB

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final ColorSpace.Named SRGB
```

<br />

`https://developer.android.com/reference/android/graphics/ColorSpace.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 |
| Name | sRGB IEC61966-2.1 ||||
| CIE standard illuminant | D65 ||||
| Opto-electronic transfer function (OETF) | \\(\\begin{equation} C_{sRGB} = \\begin{cases} 12.92 \\times C_{linear} \& C_{linear} \\lt 0.0031308 \\\\\\ 1.055 \\times C_{linear}\^{\\frac{1}{2.4}} - 0.055 \& C_{linear} \\ge 0.0031308 \\end{cases} \\end{equation}\\) ||||
| Electro-optical transfer function (EOTF) | \\(\\begin{equation} C_{linear} = \\begin{cases}\\frac{C_{sRGB}}{12.92} \& C_{sRGB} \\lt 0.04045 \\\\\\ \\left( \\frac{C_{sRGB} + 0.055}{1.055} \\right) \^{2.4} \& C_{sRGB} \\ge 0.04045 \\end{cases} \\end{equation}\\) ||||
| Range | \\(\[0..1\]\\) ||||

![](https://developer.android.com/static/reference/android/images/graphics/colorspace_srgb.png)
sRGB

<br />

<br />

<br />

## Public methods

### valueOf

```
public static ColorSpace.Named valueOf (String name)
```

<br />

<br />

| Parameters ||
|---|---|
| `name` | `String` <br /> |

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/graphics/ColorSpace.Named` | <br /> |

### values

```
public static final Named[] values ()
```

<br />

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/graphics/ColorSpace.Named` | <br /> |