---
title: linearExposure
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscolor/linearexposure
---

# linearExposure

For HDR colors, the linear brightness multiplier that was applied when generating the color. Colors created with an exposure by NSColor create CGColors that are tagged with a contentHeadroom value. While CGColors created without a contentHeadroom tag will return 0 from CGColorGetHeadroom, NSColors generated in a similar fashion return a linearExposure of 1.0.

## Declaration

```swift
var linearExposure: CGFloat { get }
```

## See Also

### Supporting high dynamic range (HDR) colors

- [standardDynamicRange](appkit/nscolor/standarddynamicrange.md)
- [applyingContentHeadroom(_:)](appkit/nscolor/applyingcontentheadroom(_:).md)
