---
title: "routePickerButtonColor(for:)"
framework: avkit
role: symbol
role_heading: Instance Method
path: "avkit/avroutepickerview/routepickerbuttoncolor(for:)"
---

# routePickerButtonColor(for:)

Returns the color of the picker button for the specified state.

## Declaration

```swift
func routePickerButtonColor(for state: AVRoutePickerView.ButtonState) -> NSColor
```

## Parameters

- `state`: The button state.

## Return Value

Return Value A color value for the specified state.

## See Also

### Configuring the route picker view

- [activeTintColor](avkit/avroutepickerview/activetintcolor.md)
- [isRoutePickerButtonBordered](avkit/avroutepickerview/isroutepickerbuttonbordered.md)
- [prioritizesVideoDevices](avkit/avroutepickerview/prioritizesvideodevices.md)
- [routePickerButtonStyle](avkit/avroutepickerview/routepickerbuttonstyle.md)
- [AVRoutePickerViewButtonStyle](avkit/avroutepickerviewbuttonstyle.md)
- [setRoutePickerButtonColor(_:for:)](avkit/avroutepickerview/setroutepickerbuttoncolor(_:for:).md)
- [AVRoutePickerView.ButtonState](avkit/avroutepickerview/buttonstate.md)
