---
title: "removeBackgroundColor(in:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avmutablecaption/removebackgroundcolor(in:)"
---

# removeBackgroundColor(in:)

Removes a background color from a range of text.

## Declaration

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

## Parameters

- `range`: The range from which the system removes the background color.

## See Also

### Configuring colors

- [setTextColor(_:in:)](avfoundation/avmutablecaption/settextcolor(_:in:).md)
- [removeTextColor(in:)](avfoundation/avmutablecaption/removetextcolor(in:).md)
- [setBackgroundColor(_:in:)](avfoundation/avmutablecaption/setbackgroundcolor(_:in:).md)
