<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColorPanel/colorDidChangeNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSColorPanelColorDidChangeNotification"
  },
  "title" : "colorDidChangeNotification"
}
-->

# colorDidChangeNotification

Posted when the color of the `NSColorPanel` is set, as when [`NSColorPanel`](/documentation/AppKit/NSColorPanel) is invoked.

```
class let colorDidChangeNotification: NSNotification.Name
```

## Discussion

The notification object is the notifying `NSColorPanel`. This notification does not contain a `userInfo` dictionary.

To observe this notification using Swift concurrency, use [`NSColorPanel.ColorDidChangeMessage`](/documentation/AppKit/NSColorPanel/ColorDidChangeMessage).

---

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)