<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColorSpace/Model",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSColorSpaceModel"
  },
  "title" : "NSColorSpace.Model"
}
-->

# NSColorSpace.Model

Constants that describe the abstract model on which color space objects are based.

```
enum Model
```

## Topics

### Color Spaces

[`NSColorSpace.Model.unknown`](/documentation/AppKit/NSColorSpace/Model/unknown)

An unknown color-space model.

[`NSColorSpace.Model.gray`](/documentation/AppKit/NSColorSpace/Model/gray)

The grayscale color-space model.

[`NSColorSpace.Model.rgb`](/documentation/AppKit/NSColorSpace/Model/rgb)

The RGB (red-green-blue) color-space model.

[`NSColorSpace.Model.cmyk`](/documentation/AppKit/NSColorSpace/Model/cmyk)

The CMYK (cyan-magenta-yellow-black) color-space model.

[`NSColorSpace.Model.lab`](/documentation/AppKit/NSColorSpace/Model/lab)

The L*a*b* device-independent color-space model, which represents colors relative to a reference white point.

[`NSColorSpace.Model.deviceN`](/documentation/AppKit/NSColorSpace/Model/deviceN)

The DeviceN color-space model from Adobe Systems, Inc.

[`NSColorSpace.Model.indexed`](/documentation/AppKit/NSColorSpace/Model/indexed)

An indexed color space, which identifies discrete colors in a color list by index number.

[`NSColorSpace.Model.patterned`](/documentation/AppKit/NSColorSpace/Model/patterned)

A pattern color space, which is a repeated image that creates a tiled pattern.

### Deprecated Constants

[`NSUnknownColorSpaceModel`](/documentation/AppKit/NSUnknownColorSpaceModel)

An unknown color-space model.

[`NSGrayColorSpaceModel`](/documentation/AppKit/NSGrayColorSpaceModel)

The grayscale color-space model.

[`NSRGBColorSpaceModel`](/documentation/AppKit/NSRGBColorSpaceModel)

The RGB (red green blue) color-space model.

[`NSCMYKColorSpaceModel`](/documentation/AppKit/NSCMYKColorSpaceModel)

The CYMK (cyan, yellow, magenta, black) color-space model.

[`NSLABColorSpaceModel`](/documentation/AppKit/NSLABColorSpaceModel)

The L*a*b* device-independent color-space model, which represents colors relative to a reference white point.

[`NSDeviceNColorSpaceModel`](/documentation/AppKit/NSDeviceNColorSpaceModel)

DeviceN is a color-space model from Adobe Systems, Inc. used in PostScript and PDF color specification.

[`NSIndexedColorSpaceModel`](/documentation/AppKit/NSIndexedColorSpaceModel)

An indexed color space, which identifies specified discrete colors in a color list by index number. An indexed color value (a color specification in indexed color space) consists of an index value that refers to a color in a color list.

[`NSPatternColorSpaceModel`](/documentation/AppKit/NSPatternColorSpaceModel)

Identifies a pattern color space, which is simply an image that is repeated over and over again in a tiled pattern.



---

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)