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

# NSColorChanging

```
protocol NSColorChanging : NSObjectProtocol
```

## Overview

When the user selects a color in an [`NSColorPanel`](/documentation/AppKit/NSColorPanel) object, the panel tries to call this method on the first responder. You can override this method in any responder that needs to respond to a color change.

## Topics

### Responding to a Color Change

[`func changeColor(NSColorPanel?)`](/documentation/AppKit/NSColorChanging/changeColor(_:))

Sent to the first responder when the user selects a color in an NSColorPanel object.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Conforming Types

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

---

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)