---
title: BackgroundProminence
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/backgroundprominence
---

# BackgroundProminence

The prominence of backgrounds underneath other views.

## Declaration

```swift
struct BackgroundProminence
```

## Overview

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

- [standard](swiftui/backgroundprominence/standard.md)
- [increased](swiftui/backgroundprominence/increased.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring backgrounds

- [listRowBackground(_:)](swiftui/view/listrowbackground(_:).md)
- [alternatingRowBackgrounds(_:)](swiftui/view/alternatingrowbackgrounds(_:).md)
- [AlternatingRowBackgroundBehavior](swiftui/alternatingrowbackgroundbehavior.md)
- [backgroundProminence](swiftui/environmentvalues/backgroundprominence.md)
