---
title: "init(style:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nscolorwell/init(style:)"
---

# init(style:)

Creates a color well that adopts the specified appearance style.

## Declaration

```swift
convenience init(style: NSColorWell.Style)
```

## Parameters

- `style`: The style to use to configure the color well control. For a list of possible values, see doc://com.apple.appkit/documentation/AppKit/NSColorWell/Style.

## Return Value

Return Value A color well configured with the specified style.
