<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureDeviceFormat/supportedColorSpaces",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureDeviceFormat(py)supportedColorSpaces"
  },
  "title" : "supportedColorSpaces"
}
-->

# supportedColorSpaces

The list of color spaces the format supports for image and video capture.

```
@property (nonatomic, readonly) NSArray<NSNumber *> * supportedColorSpaces;
```

## Discussion

The <doc://com.apple.documentation/documentation/Foundation/NSNumber> objects in this array contain [`AVCaptureColorSpace`](/documentation/AVFoundation/AVCaptureColorSpace) values. The ordering of the array is such that spaces with a narrower color gamut appear before those with wider color gamuts.

All devices and formats support capture in the sRGB color space. Some devices and formats can also capture in the P3 color space, which includes a much wider gamut of colors than the sRGB color space. (Content captured in the P3 color space is viewable on all devices. Devices without wide-color displays render P3 content as accurately as possible in the sRGB color gamut). By default, a capture session automatically enables wide-gamut capture for supported devices and capture workflows (for details, see the [`AVCaptureSession`](/documentation/AVFoundation/AVCaptureSession) property [`automaticallyConfiguresCaptureDeviceForWideColor`](/documentation/AVFoundation/AVCaptureSession/automaticallyConfiguresCaptureDeviceForWideColor)).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)