---
title: sRGB
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nscolorspace/srgb
---

# sRGB

A color space object that represents an sRGB color space.

## Declaration

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

## Return Value

Return Value The NSColorSpace object. This color-additive color space has red, green, blue, and alpha components.

## Discussion

Discussion The sRGB color space is a standard color space for use on monitors, printers, and the Internet. For further information on sRGB, see http://www.color.org/srgb.html.

## 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)
- [extendedSRGB](appkit/nscolorspace/extendedsrgb.md)
- [displayP3](appkit/nscolorspace/displayp3.md)
- [genericGamma22Gray](appkit/nscolorspace/genericgamma22gray.md)
- [extendedGenericGamma22Gray](appkit/nscolorspace/extendedgenericgamma22gray.md)
- [adobeRGB1998](appkit/nscolorspace/adobergb1998.md)
