[android-components](../../index.md) / [mozilla.components.support.utils](../index.md) / [ColorUtils](./index.md)

# ColorUtils

`object ColorUtils` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/utils/src/main/java/mozilla/components/support/utils/ColorUtils.kt#L10)

### Functions

| Name | Summary |
|---|---|
| [getReadableTextColor](get-readable-text-color.md) | `fun getReadableTextColor(backgroundColor: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)<br>Get text color (white or black) that is readable on top of the provided background color. |
