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

# NSColorPickingCustom

A set of methods that provides a way to add color pickers—custom user interfaces for color selection—to an app’s color panel.

```
protocol NSColorPickingCustom : NSColorPickingDefault
```

## Overview

[`NSColorPickingCustom`](/documentation/AppKit/NSColorPickingCustom) works with the [`NSColorPickingDefault`](/documentation/AppKit/NSColorPickingDefault) protocol—which provides basic behavior for a color picker—to enable custom color pickers.

> Note:
> This protocol must be implemented by a custom picker, or an error will occur.

## Topics

### Configuring Color Pickers

[`-  setColor:`](/documentation/AppKit/NSColorPickingCustom/setColor(_:))

Adjusts the receiver to make the specified color the currently selected color.

### Getting Color Picker Information

[`-  currentMode`](/documentation/AppKit/NSColorPickingCustom/currentMode())

Returns the receiver’s current mode (or submode, if applicable).

[`-  supportsMode:`](/documentation/AppKit/NSColorPickingCustom/supportsMode(_:))

Returns a Boolean value indicating whether or not the receiver supports the specified picking mode.

### Displaying Color Pickers

[`-  provideNewView:`](/documentation/AppKit/NSColorPickingCustom/provideNewView(_:))

Returns the view containing the receiver’s user interface.

## Relationships

### Inherits From

[`NSColorPickingDefault`](/documentation/AppKit/NSColorPickingDefault)

---

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)