---
title: backgroundColor
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionlayoutlistconfiguration-swift.struct/backgroundcolor
---

# backgroundColor

The background color of the list.

## Declaration

```swift
var backgroundColor: UIColor? { get set }
```

## Discussion

Discussion The default vaue is nil, which means that the configuration uses the system background color for the specified appearance.

## See Also

### Configuring appearance

- [appearance](uikit/uicollectionlayoutlistconfiguration-swift.struct/appearance-swift.property.md)
- [UICollectionLayoutListConfiguration.Appearance](uikit/uicollectionlayoutlistconfiguration-swift.struct/appearance-swift.enum.md)
