---
title: linearRed
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/color/resolvedhdr/linearred
---

# linearRed

The amount of red in the color in the extended sRGB color space variant with linear gamma.

## Declaration

```swift
var linearRed: Float { get set }
```

## See Also

### Getting color properties

- [red](swiftui/color/resolvedhdr/red.md)
- [green](swiftui/color/resolvedhdr/green.md)
- [blue](swiftui/color/resolvedhdr/blue.md)
- [linearGreen](swiftui/color/resolvedhdr/lineargreen.md)
- [linearBlue](swiftui/color/resolvedhdr/linearblue.md)
- [opacity](swiftui/color/resolvedhdr/opacity.md)
- [headroom](swiftui/color/resolvedhdr/headroom.md)
