<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColorPanel/Mode-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSColorPanelMode"
  },
  "title" : "NSColorPanel.Mode"
}
-->

# NSColorPanel.Mode

A type defined for the `enum` constants specifying color panel modes.

```
enum Mode
```

## Topics

### Color Panel Modes

[`NSColorPanelModeNone`](/documentation/AppKit/NSColorPanel/Mode-swift.enum/none)

No color panel mode.

[`NSColorPanelModeGray`](/documentation/AppKit/NSColorPanel/Mode-swift.enum/gray)

The grayscale-alpha color mode.

[`NSColorPanelModeRGB`](/documentation/AppKit/NSColorPanel/Mode-swift.enum/RGB)

The red-green-blue color mode.

[`NSColorPanelModeCMYK`](/documentation/AppKit/NSColorPanel/Mode-swift.enum/CMYK)

The cyan-magenta-yellow-black color mode.

[`NSColorPanelModeHSB`](/documentation/AppKit/NSColorPanel/Mode-swift.enum/HSB)

The hue-saturation-brightness color mode.

[`NSColorPanelModeCustomPalette`](/documentation/AppKit/NSColorPanel/Mode-swift.enum/customPalette)

The custom palette color mode.

[`NSColorPanelModeColorList`](/documentation/AppKit/NSColorPanel/Mode-swift.enum/colorList)

The custom color list mode.

[`NSColorPanelModeWheel`](/documentation/AppKit/NSColorPanel/Mode-swift.enum/wheel)

The color wheel mode.

[`NSColorPanelModeCrayon`](/documentation/AppKit/NSColorPanel/Mode-swift.enum/crayon)

The crayon picker mode.

### Deprecated Constants

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

Indicates no color panel mode.

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

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

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

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

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

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

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

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

## Relationships

### Conforms To

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)