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

# provideNewButtonImage()

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

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

## 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

This image is the same one the color panel uses as an argument when sending the [`insertNewButtonImage(_:in:)`](/documentation/AppKit/NSColorPickingDefault/insertNewButtonImage(_:in:)) message.

---

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)