---
title: color
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscolorwell/color
---

# color

The currently selected color for the color well.

## Declaration

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

## Discussion

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

## See Also

### Related Documentation

- [color](appkit/nscolorpanel/color.md)

### Managing the selected color

- [takeColorFrom(_:)](appkit/nscolorwell/takecolorfrom(_:).md)
- [supportsAlpha](appkit/nscolorwell/supportsalpha.md)
