---
title: fontColor()
framework: pdfkit
role: symbol
role_heading: Instance Method
path: pdfkit/pdfannotationchoicewidget/fontcolor()
---

# fontColor()

Returns the font color used to display the text in the widget annotation.

## Declaration

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

## Return Value

Return Value The color of the font used for the text in the widget annotation.

## See Also

### Managing Font and Background Color Characteristics

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