---
title: backgroundColor
framework: paperkit
role: symbol
role_heading: Instance Property
path: paperkit/papermarkup/backgroundcolor
---

# backgroundColor

The background color of the paper.

## Declaration

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

## Discussion

Discussion Default is nil, which uses a default color based on the current user interface style.

## See Also

### Accessing elements

- [subelements](paperkit/papermarkup/subelements.md)
- [id](paperkit/papermarkup/id.md)
- [bounds](paperkit/papermarkup/bounds.md)
- [contentsRenderFrame](paperkit/papermarkup/contentsrenderframe.md)
- [featureSet](paperkit/papermarkup/featureset.md)
- [indexableContent](paperkit/papermarkup/indexablecontent.md)
