---
title: backgroundColor
framework: scenekit
role: symbol
role_heading: Instance Property
path: scenekit/scnview/backgroundcolor
---

# backgroundColor

The background color of the view.

## Declaration

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

## Discussion

Discussion SceneKit displays this color behind the contents of the rendered scene. If the scene contents fill the view or if the scene provides its own background using the background property, the view’s background color may not be visible. This property’s value must be a color that can be represented using RGBA components.

## See Also

### Configuring a View

- [preferredFramesPerSecond](scenekit/scnview/preferredframespersecond.md)
- [rendersContinuously](scenekit/scnview/renderscontinuously.md)
- [antialiasingMode](scenekit/scnview/antialiasingmode.md)
- [SCNAntialiasingMode](scenekit/scnantialiasingmode.md)
