<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColorSpace/genericGray",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSColorSpace(cpy)genericGrayColorSpace"
  },
  "title" : "genericGray"
}
-->

# genericGray

A color space object that represents a device-independent gray color space.

```
class var genericGray: NSColorSpace { get }
```

## Return Value

The `NSColorSpace` object. The color space also includes an alpha component. This object corresponds to the Cocoa color space name `NSCalibratedWhiteColorSpace`.

## Discussion

---

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)