---
title: mode
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscolorpanel/mode-swift.property
---

# mode

The mode of the receiver the mode is one of the modes allowed by the color mask.

## Declaration

```swift
var mode: NSColorPanel.Mode { get set }
```

## See Also

### Setting color picker modes

- [setPickerMode(_:)](appkit/nscolorpanel/setpickermode(_:).md)
- [NSColorPanel.Mode](appkit/nscolorpanel/mode-swift.enum.md)
- [setPickerMask(_:)](appkit/nscolorpanel/setpickermask(_:).md)
- [NSColorPanel.Options](appkit/nscolorpanel/options.md)
