---
title: extendedGenericGamma22Gray
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nscolorspace/extendedgenericgamma22gray
---

# extendedGenericGamma22Gray

A color space object that represents an extended gray color space with a gamma value of 2.2.

## Declaration

```swift
class var extendedGenericGamma22Gray: NSColorSpace { get }
```

## Return Value

Return Value The NSColorSpace object.

## Discussion

Discussion This color space has the same colorimetry as Generic Gray 2.2, but component values below 0.0 and above 1.0 may be encoded in this color space. Negative values are encoded as the signed reflection of the original encoding function. y(x) = sign(x)*f(abs(x))

## See Also

### Getting a Named Color Space

- [deviceRGB](appkit/nscolorspace/devicergb.md)
- [genericRGB](appkit/nscolorspace/genericrgb.md)
- [deviceCMYK](appkit/nscolorspace/devicecmyk.md)
- [genericCMYK](appkit/nscolorspace/genericcmyk.md)
- [deviceGray](appkit/nscolorspace/devicegray.md)
- [genericGray](appkit/nscolorspace/genericgray.md)
- [sRGB](appkit/nscolorspace/srgb.md)
- [extendedSRGB](appkit/nscolorspace/extendedsrgb.md)
- [displayP3](appkit/nscolorspace/displayp3.md)
- [genericGamma22Gray](appkit/nscolorspace/genericgamma22gray.md)
- [adobeRGB1998](appkit/nscolorspace/adobergb1998.md)
