<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColorPanel/shared",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSColorPanel(cpy)sharedColorPanel"
  },
  "title" : "shared"
}
-->

# shared

Returns the shared `NSColorPanel` instance, creating it if necessary.

```
class var shared: NSColorPanel { get }
```

## Return Value

The shared `NSColorPanel` instance.

## See Also

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

A standard user interface for selecting color in an app.



---

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)