<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBrowserCell/highlightColor(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBrowserCell(im)highlightColorInView:"
  },
  "title" : "highlightColor(in:)"
}
-->

# highlightColor(in:)

Returns the highlight color that the receiver wants to display.

```
func highlightColor(in controlView: NSView) -> NSColor?
```

## Parameters

`controlView`

The view for which to return the highlight color.

## Return Value

The highlight color.

## Discussion

---

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)