Contents

applyingContentHeadroom(_:)

Reinterpret the color by applying a new contentHeadroom without changing the color components. Changing the contentHeadroom redefines the color relative to a different peak white, changing its behavior under tone mapping and the result of calling standardDynamicRangeColor. The new color will have a contentHeadroom >= 1.0.

Declaration

func applyingContentHeadroom(_ contentHeadroom: CGFloat) -> UIColor

See Also

Working with high dynamic range (HDR) colors