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

# g2

## Declaration

```swift
var g2: Float
```

## See Also

### Second column

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