---
title: provideNewButtonImage()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nscolorpickingdefault/providenewbuttonimage()
---

# provideNewButtonImage()

Provides the image of the button used to select the receiver in the color panel.

## Declaration

```swift
@MainActor func provideNewButtonImage() -> NSImage
```

## Return Value

Return Value The image for the mode button the user uses to select this picker in the color panel; that is, the color picker’s representation in the  NSMatrix of the NSColorPanel.

## Discussion

Discussion This image is the same one the color panel uses as an argument when sending the insertNewButtonImage(_:in:) message.

## See Also

### Configuring Color Pickers

- [setMode(_:)](appkit/nscolorpickingdefault/setmode(_:).md)
- [insertNewButtonImage(_:in:)](appkit/nscolorpickingdefault/insertnewbuttonimage(_:in:).md)
- [minContentSize()](appkit/nscolorpickingdefault/mincontentsize().md)
- [buttonToolTip()](appkit/nscolorpickingdefault/buttontooltip().md)
