---
title: Color.RGBColorSpace.sRGBLinear
framework: swiftui
role: symbol
role_heading: Case
path: swiftui/color/rgbcolorspace/srgblinear
---

# Color.RGBColorSpace.sRGBLinear

The extended sRGB color space with a linear transfer function.

## Declaration

```swift
case sRGBLinear
```

## Discussion

Discussion This color space has the same colorimetry as Color.RGBColorSpace.sRGB, but uses a linear transfer function. 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.

## See Also

### Getting color spaces

- [Color.RGBColorSpace.sRGB](swiftui/color/rgbcolorspace/srgb.md)
- [Color.RGBColorSpace.displayP3](swiftui/color/rgbcolorspace/displayp3.md)
