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

# init(preferredColor:)

Creates a new tint configuration for the system to use when the app’s preferred accent color is in use.

```
convenience init(preferredColor color: NSColor)
```

## Parameters

`color`

The color used when the system accent color is `Multicolor`.

## Discussion

Use this tint configuration for custom colors designed to match app-specific accent colors, but doesn’t look appropriate matched with a user-selected color. The tint configuation only uses the preferred color when the system accent color is `Multicolor`. If the system accent color is any other color, the tint configuration defers to the accent 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)