---
title: underPageBackgroundColor
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebview/underpagebackgroundcolor
---

# underPageBackgroundColor

The color the web view displays behind the active page, visible when the user scrolls beyond the bounds of the page.

## Declaration

```swift
@NSCopying var underPageBackgroundColor: UIColor! { get set }
```

```swift
@NSCopying var underPageBackgroundColor: NSColor! { get set }
```

## Discussion

Discussion The web view derives the default value of this property from the content of the page, using the background colors of the <html> and <body> elements with the background color of the web view. To override the default color, set this property to a new color.

## See Also

### Inspecting the view information

- [scrollView](webkit/wkwebview/scrollview.md)
- [title](webkit/wkwebview/title.md)
- [url](webkit/wkwebview/url.md)
- [mediaType](webkit/wkwebview/mediatype.md)
- [customUserAgent](webkit/wkwebview/customuseragent.md)
- [serverTrust](webkit/wkwebview/servertrust.md)
- [hasOnlySecureContent](webkit/wkwebview/hasonlysecurecontent.md)
- [themeColor](webkit/wkwebview/themecolor.md)
