---
title: "background(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/matchedtransitionsourceconfiguration/background(_:)"
---

# background(_:)

Specifies a color that will be drawn behind the content within the matched transition source.

## Declaration

```swift
func background(_ style: Color) -> some MatchedTransitionSourceConfiguration

```

## Parameters

- `style`: The color to apply behind the content within the matched transition source..

## Discussion

Discussion During a zoom transition, the background color fills the interpolated shape as it groes from the matched transition source.
