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

# backgroundColor

The color of the cell’s background.

## Declaration

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

## Discussion

Discussion The background color is drawn behind the cell’s text.

## See Also

### Related Documentation

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

### Controlling the Background

- [drawsBackground](appkit/nstextfieldcell/drawsbackground.md)
