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

# removeTextColor(in:)

Removes the text color for a range of text.

## Declaration

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

## Parameters

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

## See Also

### Configuring colors

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