<!--
{
  "availability" : [
    "macOS: 10.0.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColor/init(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSColor(cm)colorForControlTint:"
  },
  "title" : "init(for:)"
}
-->

# init(for:)

Returns the color object specified by the given control tint.

```
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

The `NSColor` object.

## See Also

[`currentControlTint`](/documentation/AppKit/NSColor/currentControlTint)

The current system control tint color.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)