---
title: systemGray2
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uicolor/systemgray2
---

# systemGray2

A second-level shade of gray that adapts to the environment.

## Declaration

```swift
class var systemGray2: UIColor { get }
```

## Discussion

Discussion This color adapts to the current environment. In light environments, this gray is slightly lighter than systemGray. In dark environments, this gray is slightly darker than systemGray.

## See Also

### Adaptable gray colors

- [systemGray](uikit/uicolor/systemgray.md)
- [systemGray3](uikit/uicolor/systemgray3.md)
- [systemGray4](uikit/uicolor/systemgray4.md)
- [systemGray5](uikit/uicolor/systemgray5.md)
- [systemGray6](uikit/uicolor/systemgray6.md)
