---
title: "resolveHDR(in:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/color/resolvehdr(in:)"
---

# resolveHDR(in:)

Evaluates this color to a resolved color with content headroom, given a set of environment values.

## Declaration

```swift
func resolveHDR(in environment: EnvironmentValues) -> Color.ResolvedHDR
```

## Parameters

- `environment`: The environment of the view displaying the color.

## Return Value

Return Value The color’s value in the sRGB color space.

## See Also

### Working with high dynamic range (HDR) colors

- [Color.ResolvedHDR](swiftui/color/resolvedhdr.md)
