<!--
{
  "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/sRGB",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ColorV13RGBColorSpaceO4sRGByA2EmF"
  },
  "title" : "Color.RGBColorSpace.sRGB"
}
-->

# Color.RGBColorSpace.sRGB

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

```
case sRGB
```

## Discussion

For information about the sRGB colorimetry and nonlinear
transform function, see the IEC 61966-2-1 specification.

Standard sRGB color spaces clamp the red, green, and blue
components of a color to a range of `0` to `1`, but SwiftUI colors
use an extended sRGB color space, so you can use component values
outside that range.

---

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)