---
title: "highlightColor(in:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsbrowsercell/highlightcolor(in:)"
---

# highlightColor(in:)

Returns the highlight color that the receiver wants to display.

## Declaration

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

## Parameters

- `controlView`: The view for which to return the highlight color.

## Return Value

Return Value The highlight color.

## See Also

### Managing Browser Cell State

- [reset()](appkit/nsbrowsercell/reset().md)
- [set()](appkit/nsbrowsercell/set().md)
- [isLeaf](appkit/nsbrowsercell/isleaf.md)
- [isLoaded](appkit/nsbrowsercell/isloaded.md)
