<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BundleResources",
  "identifier" : "/documentation/BundleResources/Information-Property-List/NSWidgetBackgroundColorName",
  "metadataVersion" : "0.1.0",
  "role" : "Property List Key",
  "symbol" : {
    "kind" : "Property List Key",
    "modules" : [
      "Bundle Resources"
    ],
    "preciseIdentifier" : "plist:Information_Property_List.NSWidgetBackgroundColorName"
  },
  "title" : "NSWidgetBackgroundColorName"
}
-->

# NSWidgetBackgroundColorName

The name of a color in an asset catalog to use for a widget’s configuration interface.

## Discussion

This `Info.plist` value controls the background color shown in the widget configuration interface while editing a widget.

While you can set this directly in your Info.plist, the recommended approach is to use the `Widget Background Color Name` build setting (in the `Asset Catalog Compiler - Options` section) of the widget extension target.  Set the value of the build setting to the name of the Color Set in the asset catalog. Xcode automatically sets `NSWidgetBackgroundColorName` to the appropriate value in the `Info.plist` file when building your project.

---

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)