---
title: themeColor
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebview/themecolor
---

# themeColor

The theme color that the system gets from the first valid meta tag in the webpage.

## Declaration

```swift
var themeColor: UIColor? { get }
```

```swift
var themeColor: NSColor? { get }
```

## 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)
- [underPageBackgroundColor](webkit/wkwebview/underpagebackgroundcolor.md)
