---
title: "init(_:headroom:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/color/resolvedhdr/init(_:headroom:)"
---

# init(_:headroom:)

Initializes a new resolved color value.

## Declaration

```swift
init(_ color: Color.Resolved, headroom: Float? = nil)
```

## Parameters

- `color`: The resolved color to initialize from.
- `headroom`: The optional content headroom of the color.
