<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Color/RGBColorSpace",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ColorV13RGBColorSpaceO"
  },
  "title" : "Color.RGBColorSpace"
}
-->

# Color.RGBColorSpace

A profile that specifies how to interpret a color value for display.

```
enum RGBColorSpace
```

## Topics

### Getting color spaces

[`Color.RGBColorSpace.sRGB`](/documentation/SwiftUI/Color/RGBColorSpace/sRGB)

The extended red, green, blue (sRGB) color space.

[`Color.RGBColorSpace.sRGBLinear`](/documentation/SwiftUI/Color/RGBColorSpace/sRGBLinear)

The extended sRGB color space with a linear transfer function.

[`Color.RGBColorSpace.displayP3`](/documentation/SwiftUI/Color/RGBColorSpace/displayP3)

The Display P3 color space.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)