<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.14.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColor/colorSpaceName",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSColor(py)colorSpaceName"
  },
  "title" : "colorSpaceName"
}
-->

# colorSpaceName

The name of the color space associated with the color.

```
var colorSpaceName: NSColorSpaceName { get }
```

## See Also

[`-  colorUsingColorSpaceName:`](/documentation/AppKit/NSColor/usingColorSpaceName(_:))

Creates a new color object whose color is the same as the receiver’s, except that the new color object is in the specified color space.

[`-  colorUsingColorSpaceName:device:`](/documentation/AppKit/NSColor/usingColorSpaceName(_:device:))

Creates a new color object for the same color, but in the specified color space and specific to the provided device.



---

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)