---
title: backgroundColor
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrollview/backgroundcolor
---

# backgroundColor

The color of the content view’s background.

## Declaration

```swift
@NSCopying var backgroundColor: NSColor { get set }
```

## Discussion

Discussion This color is used to paint areas inside the content view that aren’t covered by the document view.

## See Also

### Related Documentation

- [backgroundColor](appkit/nsclipview/backgroundcolor.md)

### Managing Graphics Attributes

- [drawsBackground](appkit/nsscrollview/drawsbackground.md)
- [borderType](appkit/nsscrollview/bordertype.md)
- [documentCursor](appkit/nsscrollview/documentcursor.md)
