---
title: "exposureAdjust(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/color/exposureadjust(_:)"
---

# exposureAdjust(_:)

Returns a new color with an exposure adjustment applied.

## Declaration

```swift
func exposureAdjust(_ stops: Double) -> Color
```

## Parameters

- `stops`: The number of exposure levels to adjust by.

## Return Value

Return Value A new color with the exposure adjustment applied.

## Discussion

Discussion This function adjusts the exposure of a color by multipling its linear-light representation by pow(2, stops) and adjusting its HDR content headroom. For example the system yellow color could have its brightness increased by two exposure levels: Color.yellow.exposureAdjust(2)

## See Also

### Modifying a color

- [opacity(_:)](swiftui/color/opacity(_:).md)
- [gradient](swiftui/color/gradient.md)
- [mix(with:by:in:)](swiftui/color/mix(with:by:in:).md)
- [headroom(_:)](swiftui/color/headroom(_:).md)
