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

# NSColorPanel.Options

The color modes that are enabled for a color panel.

```
struct Options
```

## Topics

### Color Panel Options

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

The grayscale-alpha color mode.

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

The red-green-blue color mode.

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

The cyan-magenta-yellow-black color mode.

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

The hue-saturation-brightness color mode.

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

The custom palette color mode.

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

The custom color list mode.

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

The color wheel mode.

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

The crayon color mode.

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

All color modes.

### Initializers

[`init(rawValue:)`](/documentation/AppKit/NSColorPanel/Options/init(rawValue:))



---

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)