---
title: backgroundColor()
framework: pdfkit
role: symbol
role_heading: Instance Method
path: pdfkit/pdfannotationchoicewidget/backgroundcolor()
---

# backgroundColor()

Returns the color of the widget annotation background.

## Declaration

```swift
func backgroundColor() -> NSColor!
```

## Return Value

Return Value The color of the widget annotation background.

## See Also

### Managing Font and Background Color Characteristics

- [setBackgroundColor(_:)](pdfkit/pdfannotationchoicewidget/setbackgroundcolor(_:).md)
- [font()](pdfkit/pdfannotationchoicewidget/font().md)
- [setFont(_:)](pdfkit/pdfannotationchoicewidget/setfont(_:).md)
- [fontColor()](pdfkit/pdfannotationchoicewidget/fontcolor().md)
- [setFontColor(_:)](pdfkit/pdfannotationchoicewidget/setfontcolor(_:).md)
