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

# fontColor()

Returns the font color used in the text field of the annotation.

## Declaration

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

## Return Value

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

## See Also

### Related Documentation

- [PDFAnnotationFreeText](pdfkit/pdfannotationfreetext.md)

### Managing Font and Font Color

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