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

# supportsAlpha

A Boolean value that determines whether the color picker supports alpha values.

```
var supportsAlpha: Bool { get set }
```

## Discussion

If this property is <doc://com.apple.documentation/documentation/Swift/false>, people can select only fully opaque colors from the color picker. A value of <doc://com.apple.documentation/documentation/Swift/false> also hides the alpha slider. Setting this property to <doc://com.apple.documentation/documentation/Swift/true> enables partial color opacity, and also makes the alpha slider visible.

If [`ignoresAlpha`](/documentation/AppKit/NSColor/ignoresAlpha) is <doc://com.apple.documentation/documentation/Swift/true>, this property always returns <doc://com.apple.documentation/documentation/Swift/false>, disabling alpha globally.

By default this value is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)