---
title: "init(for:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nscolor/init(for:)"
---

# init(for:)

Returns the color object specified by the given control tint.

## Declaration

```swift
init(for controlTint: NSControlTint)
```

## Parameters

- `controlTint`: The control tint for which to return a color object. This is one of the tint settings.

## Return Value

Return Value The NSColor object.

## See Also

### Related Documentation

- [currentControlTint](appkit/nscolor/currentcontroltint.md)

### Creating a system tint color

- [NSControlTint](appkit/nscontroltint.md)
