<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.12.0"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotationFreeText/fontColor()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFAnnotationFreeText(im)fontColor"
  },
  "title" : "fontColor()"
}
-->

# fontColor()

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

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

## Return Value

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

## See Also

[`PDFAnnotationFreeText`](/documentation/PDFKit/PDFAnnotationFreeText)

A `PDFAnnotationFreeText` object displays text on a page.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)