---
title: r2
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/colormatrix/r2
---

# r2

## Declaration

```swift
var r2: Float
```

## See Also

### Second column

- [g2](swiftui/colormatrix/g2.md)
- [b2](swiftui/colormatrix/b2.md)
- [a2](swiftui/colormatrix/a2.md)
