---
title: "detachColorList(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nscolorpicker/detachcolorlist(_:)"
---

# detachColorList(_:)

Overriden to detach a color list from a color picker.

## Declaration

```swift
@MainActor func detachColorList(_ colorList: NSColorList)
```

## Parameters

- `colorList`: The color list to detach.

## See Also

### Managing Color Lists

- [attachColorList(_:)](appkit/nscolorpicker/attachcolorlist(_:).md)
