<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI5ColorV11ResolvedHDRV"
  },
  "title" : "Color.ResolvedHDR"
}
-->

# Color.ResolvedHDR

A concrete color value, including HDR headroom information.

```
@frozen struct ResolvedHDR
```

## Overview

`Color.ResolvedHDR` is a set of RGBA values that represent a
color that can be shown. The color components are stored in the
extended sRGB color space and may contain a “headroom” value
describing how the color is rendered for displays with
different dynamic ranges. This is a low-level type, most colors
are represented by the `Color` type.

> SeeAlso: `Color.Resolved`, `Color`.

## Topics

### Creating a concrete color value

[`init(Color.Resolved, headroom: Float?)`](/documentation/SwiftUI/Color/ResolvedHDR/init(_:headroom:))

Initializes a new resolved color value.

### Getting color properties

[`var red: Float`](/documentation/SwiftUI/Color/ResolvedHDR/red)

The amount of red in the color in the extended sRGB color
space.

[`var green: Float`](/documentation/SwiftUI/Color/ResolvedHDR/green)

The amount of green in the color in the extended sRGB color
space.

[`var blue: Float`](/documentation/SwiftUI/Color/ResolvedHDR/blue)

The amount of blue in the color in the extended sRGB color
space.

[`var linearRed: Float`](/documentation/SwiftUI/Color/ResolvedHDR/linearRed)

The amount of red in the color in the extended sRGB color
space variant with linear gamma.

[`var linearGreen: Float`](/documentation/SwiftUI/Color/ResolvedHDR/linearGreen)

The amount of green in the color in the extended sRGB color
space variant with linear gamma.

[`var linearBlue: Float`](/documentation/SwiftUI/Color/ResolvedHDR/linearBlue)

The amount of blue in the color in the extended sRGB color
space variant with linear gamma.

[`var opacity: Float`](/documentation/SwiftUI/Color/ResolvedHDR/opacity)

The opacity of the color, in the range `0` to `1`.

[`var headroom: Float?`](/documentation/SwiftUI/Color/ResolvedHDR/headroom)

The content headroom of the color.

## Relationships

### Conforms To

[`ShapeStyle`](/documentation/SwiftUI/ShapeStyle)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Animatable`](/documentation/SwiftUI/Animatable)

[`Escapable`](/documentation/Swift/Escapable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Copyable`](/documentation/Swift/Copyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Decodable`](/documentation/Swift/Decodable)

[`Encodable`](/documentation/Swift/Encodable)

---

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)