<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/BackgroundProminence",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI20BackgroundProminenceV"
  },
  "title" : "BackgroundProminence"
}
-->

# BackgroundProminence

The prominence of backgrounds underneath other views.

```
struct BackgroundProminence
```

## Overview

Background prominence should influence foreground styling to maintain
sufficient contrast against the background. For example, selected rows in
a `List` and `Table` can have increased prominence backgrounds with
accent color fills when focused; the foreground content above the background
should be adjusted to reflect that level of prominence.

This can be read and written for views with the
`EnvironmentValues.backgroundProminence` property.

## Topics

### Getting background prominence

[`static let standard: BackgroundProminence`](/documentation/SwiftUI/BackgroundProminence/standard)

The standard prominence of a background

[`static let increased: BackgroundProminence`](/documentation/SwiftUI/BackgroundProminence/increased)

A more prominent background that likely requires some changes to the
views above it.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)