<!--
{
  "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/headroom",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ColorV11ResolvedHDRV8headroomSfSgvp"
  },
  "title" : "headroom"
}
-->

# headroom

The content headroom of the color.

```
@export(implementation) var headroom: Float? { get set }
```

## Discussion

This is the ratio of nominal peak luminance (“peak white”)
to nominal diffuse luminance (“reference white” or “diffuse
white”). Headroom is a linear quantity, i.e. there is no
gamma function applied to it.

---

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)