<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColorWell/color",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSColorWell(py)color"
  },
  "title" : "color"
}
-->

# color

The currently selected color for the color well.

```
@NSCopying var color: NSColor { get set }
```

## Discussion

Use this property to get the currently selected color, or to set the current color programmatically.

## See Also

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

The color of the receiver.



---

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)