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

# fontColor()

Returns the font color used for the annotation’s text field.

## Declaration

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

## Return Value

Return Value The font color used for text in the annotation’s text field.

## See Also

### Related Documentation

- [PDFAnnotationTextWidget](pdfkit/pdfannotationtextwidget.md)

### Managing the Font and Font Color

- [font()](pdfkit/pdfannotationtextwidget/font().md)
- [setFont(_:)](pdfkit/pdfannotationtextwidget/setfont(_:).md)
- [setFontColor(_:)](pdfkit/pdfannotationtextwidget/setfontcolor(_:).md)
