---
title: "orderFrontColorPanel(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsapplication/orderfrontcolorpanel(_:)"
---

# orderFrontColorPanel(_:)

Brings up the color panel, an instance of NSColorPanel.

## Declaration

```swift
func orderFrontColorPanel(_ sender: Any?)
```

## Parameters

- `sender`: The object that sent the command.

## Discussion

Discussion If the NSColorPanel object does not exist yet, this method creates one. This method is typically invoked when the user chooses Colors from a menu.

## See Also

### Managing Panels

- [orderFrontStandardAboutPanel(_:)](appkit/nsapplication/orderfrontstandardaboutpanel(_:).md)
- [orderFrontStandardAboutPanel(options:)](appkit/nsapplication/orderfrontstandardaboutpanel(options:).md)
- [orderFrontCharacterPalette(_:)](appkit/nsapplication/orderfrontcharacterpalette(_:).md)
- [runPageLayout(_:)](appkit/nsapplication/runpagelayout(_:).md)
- [NSApplication.AboutPanelOptionKey](appkit/nsapplication/aboutpaneloptionkey.md)
