<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -",
    "watchOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/Color/ResolvedHDR/init(_:headroom:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ColorV11ResolvedHDRV_8headroomAeC0D0V_SfSgtcfc"
  },
  "title" : "init(_:headroom:)"
}
-->

# init(_:headroom:)

Initializes a new resolved color value.

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

## Parameters

`color`

the resolved color to initialize from.

`headroom`

the optional content headroom of the color.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)