---
title: allKeys
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscolorlist/allkeys
---

# allKeys

An array of the keys by which the color objects are stored in the color list.

## Declaration

```swift
var allKeys: [NSColor.Name] { get }
```

## See Also

### Managing Colors By Key

- [color(withKey:)](appkit/nscolorlist/color(withkey:).md)
- [insertColor(_:key:at:)](appkit/nscolorlist/insertcolor(_:key:at:).md)
- [removeColor(withKey:)](appkit/nscolorlist/removecolor(withkey:).md)
- [setColor(_:forKey:)](appkit/nscolorlist/setcolor(_:forkey:).md)
