<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextFieldCell/textColor",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextFieldCell(py)textColor"
  },
  "title" : "textColor"
}
-->

# textColor

The color to use to draw the cell’s text.

```
@NSCopying var textColor: NSColor? { get set }
```

## See Also

[`backgroundColor`](/documentation/AppKit/NSTextFieldCell/backgroundColor)

The color of the cell’s background.

[`textColor`](/documentation/AppKit/NSTextField/textColor)

The color of the text field’s content.



---

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)