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

# fontColor()

Returns the font color used in the control’s label.

## Declaration

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

## Return Value

Return Value The font color used in the control’s label.

## See Also

### Related Documentation

- [PDFAnnotationButtonWidget](pdfkit/pdfannotationbuttonwidget.md)

### Getting and Setting the Control Label Font Attributes

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