---
title: "init(named:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nscolorlist/init(named:)"
---

# init(named:)

Searches the available color lists array and returns the color list with the specified name.

## Declaration

```swift
init?(named name: NSColorList.Name)
```

## Parameters

- `name`: The name of the color list to retrieve. This name must not include the “.clr” suffix.

## Return Value

Return Value The color list with the specified name or nil if no such color list exists.

## See Also

### Related Documentation

- [name](appkit/nscolorlist/name-swift.property.md)

### Getting Lists of Colors

- [availableColorLists](appkit/nscolorlist/availablecolorlists.md)
