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

# genericRGB

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

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

## Return Value

The `NSColorSpace` object. This color-additive color space has red, green, blue, and alpha components. This object corresponds to the Cocoa color space name `NSCalibratedRGBColorSpace`.

---

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)