<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMutableCaption/removeBackgroundColor(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "s:So16AVMutableCaptionC12AVFoundationE21removeBackgroundColor2inySo8_NSRangeV_tF"
  },
  "title" : "removeBackgroundColor(in:)"
}
-->

# removeBackgroundColor(in:)

Removes a background color from a range of text.

```
@nonobjc func removeBackgroundColor(in range: NSRange)
```

## Parameters

`range`

The range from which the system removes the background color.

---

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)