# TextFieldColors

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/TextFieldDefaults.kt+class:androidx.compose.material3.TextFieldColors) Common/AllAndroid/JVM
- Cmn

  ```
  class TextFieldColors
  ```

*** ** * ** ***

Represents the colors of the input text, container, and content (including label, placeholder, leading and trailing icons) used in a text field in different states.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#TextFieldColors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.foundation.text.selection.TextSelectionColors,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)( focusedTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, cursorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorCursorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, textSelectionColors: https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/selection/TextSelectionColors, focusedIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` create an instance with arbitrary colors. | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#containerColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the container color for this text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#copy(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.foundation.text.selection.TextSelectionColors,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)( focusedTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, cursorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorCursorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, textSelectionColors: https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/selection/TextSelectionColors?, focusedIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, focusedSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, unfocusedSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, errorSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` Returns a copy of this ChipColors, optionally overriding some of the values. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#cursorColor(kotlin.Boolean)(isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color used for the cursor of this text field. | Cmn |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#hashCode()()` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#indicatorColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color used for the border indicator of this text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#labelColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color used for the label of this text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#leadingIconColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color used for the leading icon of this text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#placeholderColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color used for the placeholder of this text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#prefixColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color used for the prefix of this text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#suffixColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color used for the suffix of this text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#supportingTextColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the colors used for the supporting text of this text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#textColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color used for the input field of this text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#trailingIconColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Represents the color used for the trailing icon of this text field. | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#cursorColor()` the cursor color for this text field | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledContainerColor()` the container color for this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledIndicatorColor()` the indicator color for this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledLabelColor()` the label color for this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledLeadingIconColor()` the leading icon color for this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledPlaceholderColor()` the placeholder color for this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledPrefixColor()` the prefix color for this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledSuffixColor()` the suffix color for this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledSupportingTextColor()` the supporting text color for this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledTextColor()` the color used for the input text of this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#disabledTrailingIconColor()` the trailing icon color for this text field when disabled | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorContainerColor()` the container color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorCursorColor()` the cursor color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorIndicatorColor()` the indicator color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorLabelColor()` the label color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorLeadingIconColor()` the leading icon color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorPlaceholderColor()` the placeholder color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorPrefixColor()` the prefix color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorSuffixColor()` the suffix color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorSupportingTextColor()` the supporting text color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorTextColor()` the color used for the input text of this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#errorTrailingIconColor()` the trailing icon color for this text field when in error state | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedContainerColor()` the container color for this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedIndicatorColor()` the indicator color for this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedLabelColor()` the label color for this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedLeadingIconColor()` the leading icon color for this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedPlaceholderColor()` the placeholder color for this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedPrefixColor()` the prefix color for this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedSuffixColor()` the suffix color for this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedSupportingTextColor()` the supporting text color for this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedTextColor()` the color used for the input text of this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#focusedTrailingIconColor()` the trailing icon color for this text field when focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/selection/TextSelectionColors` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#textSelectionColors()` the colors used when the input text of this text field is selected | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedContainerColor()` the container color for this text field when not focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedIndicatorColor()` the indicator color for this text field when not focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedLabelColor()` the label color for this text field when not focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedLeadingIconColor()` the leading icon color for this text field when not focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedPlaceholderColor()` the placeholder color for this text field when not focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedPrefixColor()` the prefix color for this text field when not focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedSuffixColor()` the suffix color for this text field when not focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedSupportingTextColor()` the supporting text color for this text field when not focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedTextColor()` the color used for the input text of this text field when not focused | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldColors#unfocusedTrailingIconColor()` the trailing icon color for this text field when not focused | Cmn |

## Public constructors

### TextFieldColors

Cmn

```
TextFieldColors(
    focusedTextColor: Color,
    unfocusedTextColor: Color,
    disabledTextColor: Color,
    errorTextColor: Color,
    focusedContainerColor: Color,
    unfocusedContainerColor: Color,
    disabledContainerColor: Color,
    errorContainerColor: Color,
    cursorColor: Color,
    errorCursorColor: Color,
    textSelectionColors: TextSelectionColors,
    focusedIndicatorColor: Color,
    unfocusedIndicatorColor: Color,
    disabledIndicatorColor: Color,
    errorIndicatorColor: Color,
    focusedLeadingIconColor: Color,
    unfocusedLeadingIconColor: Color,
    disabledLeadingIconColor: Color,
    errorLeadingIconColor: Color,
    focusedTrailingIconColor: Color,
    unfocusedTrailingIconColor: Color,
    disabledTrailingIconColor: Color,
    errorTrailingIconColor: Color,
    focusedLabelColor: Color,
    unfocusedLabelColor: Color,
    disabledLabelColor: Color,
    errorLabelColor: Color,
    focusedPlaceholderColor: Color,
    unfocusedPlaceholderColor: Color,
    disabledPlaceholderColor: Color,
    errorPlaceholderColor: Color,
    focusedSupportingTextColor: Color,
    unfocusedSupportingTextColor: Color,
    disabledSupportingTextColor: Color,
    errorSupportingTextColor: Color,
    focusedPrefixColor: Color,
    unfocusedPrefixColor: Color,
    disabledPrefixColor: Color,
    errorPrefixColor: Color,
    focusedSuffixColor: Color,
    unfocusedSuffixColor: Color,
    disabledSuffixColor: Color,
    errorSuffixColor: Color
)
```

create an instance with arbitrary colors. See `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextFieldDefaults#colors()` for the default colors used in `https://developer.android.com/reference/kotlin/androidx/compose/material3/TextField.composable#TextField(androidx.compose.foundation.text.input.TextFieldState,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Boolean,androidx.compose.ui.text.TextStyle,androidx.compose.material3.TextFieldLabelPosition,kotlin.Function1,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Boolean,androidx.compose.foundation.text.input.InputTransformation,androidx.compose.foundation.text.input.OutputTransformation,androidx.compose.foundation.text.KeyboardOptions,androidx.compose.foundation.text.input.KeyboardActionHandler,androidx.compose.foundation.text.input.TextFieldLineLimits,kotlin.Function2,androidx.compose.foundation.ScrollState,androidx.compose.ui.graphics.Shape,androidx.compose.material3.TextFieldColors,androidx.compose.foundation.layout.PaddingValues,androidx.compose.foundation.interaction.MutableInteractionSource)`. See `https://developer.android.com/reference/kotlin/androidx/compose/material3/OutlinedTextFieldDefaults#colors()` for the default colors used in `https://developer.android.com/reference/kotlin/androidx/compose/material3/OutlinedTextField.composable#OutlinedTextField(androidx.compose.foundation.text.input.TextFieldState,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Boolean,androidx.compose.ui.text.TextStyle,androidx.compose.material3.TextFieldLabelPosition,kotlin.Function1,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Boolean,androidx.compose.foundation.text.input.InputTransformation,androidx.compose.foundation.text.input.OutputTransformation,androidx.compose.foundation.text.KeyboardOptions,androidx.compose.foundation.text.input.KeyboardActionHandler,androidx.compose.foundation.text.input.TextFieldLineLimits,kotlin.Function2,androidx.compose.foundation.ScrollState,androidx.compose.ui.graphics.Shape,androidx.compose.material3.TextFieldColors,androidx.compose.foundation.layout.PaddingValues,androidx.compose.foundation.interaction.MutableInteractionSource)`.

| Parameters |
|---|---|
| `focusedTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color used for the input text of this text field when focused |
| `unfocusedTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color used for the input text of this text field when not focused |
| `disabledTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color used for the input text of this text field when disabled |
| `errorTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color used for the input text of this text field when in error state |
| `focusedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color for this text field when focused |
| `unfocusedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color for this text field when not focused |
| `disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color for this text field when disabled |
| `errorContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color for this text field when in error state |
| `cursorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the cursor color for this text field |
| `errorCursorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the cursor color for this text field when in error state |
| `textSelectionColors: https://developer.android.com/reference/kotlin/androidx/compose/foundation/text/selection/TextSelectionColors` | the colors used when the input text of this text field is selected |
| `focusedIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the indicator color for this text field when focused |
| `unfocusedIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the indicator color for this text field when not focused |
| `disabledIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the indicator color for this text field when disabled |
| `errorIndicatorColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the indicator color for this text field when in error state |
| `focusedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the leading icon color for this text field when focused |
| `unfocusedLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the leading icon color for this text field when not focused |
| `disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the leading icon color for this text field when disabled |
| `errorLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the leading icon color for this text field when in error state |
| `focusedTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the trailing icon color for this text field when focused |
| `unfocusedTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the trailing icon color for this text field when not focused |
| `disabledTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the trailing icon color for this text field when disabled |
| `errorTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the trailing icon color for this text field when in error state |
| `focusedLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the label color for this text field when focused |
| `unfocusedLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the label color for this text field when not focused |
| `disabledLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the label color for this text field when disabled |
| `errorLabelColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the label color for this text field when in error state |
| `focusedPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the placeholder color for this text field when focused |
| `unfocusedPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the placeholder color for this text field when not focused |
| `disabledPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the placeholder color for this text field when disabled |
| `errorPlaceholderColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the placeholder color for this text field when in error state |
| `focusedSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the supporting text color for this text field when focused |
| `unfocusedSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the supporting text color for this text field when not focused |
| `disabledSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the supporting text color for this text field when disabled |
| `errorSupportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the supporting text color for this text field when in error state |
| `focusedPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the prefix color for this text field when focused |
| `unfocusedPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the prefix color for this text field when not focused |
| `disabledPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the prefix color for this text field when disabled |
| `errorPrefixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the prefix color for this text field when in error state |
| `focusedSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the suffix color for this text field when focused |
| `unfocusedSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the suffix color for this text field when not focused |
| `disabledSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the suffix color for this text field when disabled |
| `errorSuffixColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the suffix color for this text field when in error state |

## Public functions

### containerColor

Cmn

```
fun containerColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the container color for this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

### copy

Cmn

```
fun copy(
    focusedTextColor: Color = this.focusedTextColor,
    unfocusedTextColor: Color = this.unfocusedTextColor,
    disabledTextColor: Color = this.disabledTextColor,
    errorTextColor: Color = this.errorTextColor,
    focusedContainerColor: Color = this.focusedContainerColor,
    unfocusedContainerColor: Color = this.unfocusedContainerColor,
    disabledContainerColor: Color = this.disabledContainerColor,
    errorContainerColor: Color = this.errorContainerColor,
    cursorColor: Color = this.cursorColor,
    errorCursorColor: Color = this.errorCursorColor,
    textSelectionColors: TextSelectionColors? = this.textSelectionColors,
    focusedIndicatorColor: Color = this.focusedIndicatorColor,
    unfocusedIndicatorColor: Color = this.unfocusedIndicatorColor,
    disabledIndicatorColor: Color = this.disabledIndicatorColor,
    errorIndicatorColor: Color = this.errorIndicatorColor,
    focusedLeadingIconColor: Color = this.focusedLeadingIconColor,
    unfocusedLeadingIconColor: Color = this.unfocusedLeadingIconColor,
    disabledLeadingIconColor: Color = this.disabledLeadingIconColor,
    errorLeadingIconColor: Color = this.errorLeadingIconColor,
    focusedTrailingIconColor: Color = this.focusedTrailingIconColor,
    unfocusedTrailingIconColor: Color = this.unfocusedTrailingIconColor,
    disabledTrailingIconColor: Color = this.disabledTrailingIconColor,
    errorTrailingIconColor: Color = this.errorTrailingIconColor,
    focusedLabelColor: Color = this.focusedLabelColor,
    unfocusedLabelColor: Color = this.unfocusedLabelColor,
    disabledLabelColor: Color = this.disabledLabelColor,
    errorLabelColor: Color = this.errorLabelColor,
    focusedPlaceholderColor: Color = this.focusedPlaceholderColor,
    unfocusedPlaceholderColor: Color = this.unfocusedPlaceholderColor,
    disabledPlaceholderColor: Color = this.disabledPlaceholderColor,
    errorPlaceholderColor: Color = this.errorPlaceholderColor,
    focusedSupportingTextColor: Color = this.focusedSupportingTextColor,
    unfocusedSupportingTextColor: Color = this.unfocusedSupportingTextColor,
    disabledSupportingTextColor: Color = this.disabledSupportingTextColor,
    errorSupportingTextColor: Color = this.errorSupportingTextColor,
    focusedPrefixColor: Color = this.focusedPrefixColor,
    unfocusedPrefixColor: Color = this.unfocusedPrefixColor,
    disabledPrefixColor: Color = this.disabledPrefixColor,
    errorPrefixColor: Color = this.errorPrefixColor,
    focusedSuffixColor: Color = this.focusedSuffixColor,
    unfocusedSuffixColor: Color = this.unfocusedSuffixColor,
    disabledSuffixColor: Color = this.disabledSuffixColor,
    errorSuffixColor: Color = this.errorSuffixColor
): TextFieldColors
```

Returns a copy of this ChipColors, optionally overriding some of the values. This uses the Color.Unspecified to mean "use the value from the source"

### cursorColor

Cmn

```
fun cursorColor(isError: Boolean): Color
```

Represents the color used for the cursor of this text field.

| Parameters |
|---|---|
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |

### equals

Cmn

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

Cmn

```
open fun hashCode(): Int
```

### indicatorColor

Cmn

```
fun indicatorColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the color used for the border indicator of this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

### labelColor

Cmn

```
fun labelColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the color used for the label of this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

### leadingIconColor

Cmn

```
fun leadingIconColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the color used for the leading icon of this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

### placeholderColor

Cmn

```
fun placeholderColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the color used for the placeholder of this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

### prefixColor

Cmn

```
fun prefixColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the color used for the prefix of this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

### suffixColor

Cmn

```
fun suffixColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the color used for the suffix of this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

### supportingTextColor

Cmn

```
fun supportingTextColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the colors used for the supporting text of this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

### textColor

Cmn

```
fun textColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the color used for the input field of this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

### trailingIconColor

Cmn

```
fun trailingIconColor(enabled: Boolean, isError: Boolean, focused: Boolean): Color
```

Represents the color used for the trailing icon of this text field.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is enabled |
| `isError: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field's current value is in error |
| `focused: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the text field is in focus |

## Public properties

### cursorColor

Cmn

```
val cursorColor: Color
```

the cursor color for this text field

### disabledContainerColor

Cmn

```
val disabledContainerColor: Color
```

the container color for this text field when disabled

### disabledIndicatorColor

Cmn

```
val disabledIndicatorColor: Color
```

the indicator color for this text field when disabled

### disabledLabelColor

Cmn

```
val disabledLabelColor: Color
```

the label color for this text field when disabled

### disabledLeadingIconColor

Cmn

```
val disabledLeadingIconColor: Color
```

the leading icon color for this text field when disabled

### disabledPlaceholderColor

Cmn

```
val disabledPlaceholderColor: Color
```

the placeholder color for this text field when disabled

### disabledPrefixColor

Cmn

```
val disabledPrefixColor: Color
```

the prefix color for this text field when disabled

### disabledSuffixColor

Cmn

```
val disabledSuffixColor: Color
```

the suffix color for this text field when disabled

### disabledSupportingTextColor

Cmn

```
val disabledSupportingTextColor: Color
```

the supporting text color for this text field when disabled

### disabledTextColor

Cmn

```
val disabledTextColor: Color
```

the color used for the input text of this text field when disabled

### disabledTrailingIconColor

Cmn

```
val disabledTrailingIconColor: Color
```

the trailing icon color for this text field when disabled

### errorContainerColor

Cmn

```
val errorContainerColor: Color
```

the container color for this text field when in error state

### errorCursorColor

Cmn

```
val errorCursorColor: Color
```

the cursor color for this text field when in error state

### errorIndicatorColor

Cmn

```
val errorIndicatorColor: Color
```

the indicator color for this text field when in error state

### errorLabelColor

Cmn

```
val errorLabelColor: Color
```

the label color for this text field when in error state

### errorLeadingIconColor

Cmn

```
val errorLeadingIconColor: Color
```

the leading icon color for this text field when in error state

### errorPlaceholderColor

Cmn

```
val errorPlaceholderColor: Color
```

the placeholder color for this text field when in error state

### errorPrefixColor

Cmn

```
val errorPrefixColor: Color
```

the prefix color for this text field when in error state

### errorSuffixColor

Cmn

```
val errorSuffixColor: Color
```

the suffix color for this text field when in error state

### errorSupportingTextColor

Cmn

```
val errorSupportingTextColor: Color
```

the supporting text color for this text field when in error state

### errorTextColor

Cmn

```
val errorTextColor: Color
```

the color used for the input text of this text field when in error state

### errorTrailingIconColor

Cmn

```
val errorTrailingIconColor: Color
```

the trailing icon color for this text field when in error state

### focusedContainerColor

Cmn

```
val focusedContainerColor: Color
```

the container color for this text field when focused

### focusedIndicatorColor

Cmn

```
val focusedIndicatorColor: Color
```

the indicator color for this text field when focused

### focusedLabelColor

Cmn

```
val focusedLabelColor: Color
```

the label color for this text field when focused

### focusedLeadingIconColor

Cmn

```
val focusedLeadingIconColor: Color
```

the leading icon color for this text field when focused

### focusedPlaceholderColor

Cmn

```
val focusedPlaceholderColor: Color
```

the placeholder color for this text field when focused

### focusedPrefixColor

Cmn

```
val focusedPrefixColor: Color
```

the prefix color for this text field when focused

### focusedSuffixColor

Cmn

```
val focusedSuffixColor: Color
```

the suffix color for this text field when focused

### focusedSupportingTextColor

Cmn

```
val focusedSupportingTextColor: Color
```

the supporting text color for this text field when focused

### focusedTextColor

Cmn

```
val focusedTextColor: Color
```

the color used for the input text of this text field when focused

### focusedTrailingIconColor

Cmn

```
val focusedTrailingIconColor: Color
```

the trailing icon color for this text field when focused

### textSelectionColors

Cmn

```
val textSelectionColors: TextSelectionColors
```

the colors used when the input text of this text field is selected

### unfocusedContainerColor

Cmn

```
val unfocusedContainerColor: Color
```

the container color for this text field when not focused

### unfocusedIndicatorColor

Cmn

```
val unfocusedIndicatorColor: Color
```

the indicator color for this text field when not focused

### unfocusedLabelColor

Cmn

```
val unfocusedLabelColor: Color
```

the label color for this text field when not focused

### unfocusedLeadingIconColor

Cmn

```
val unfocusedLeadingIconColor: Color
```

the leading icon color for this text field when not focused

### unfocusedPlaceholderColor

Cmn

```
val unfocusedPlaceholderColor: Color
```

the placeholder color for this text field when not focused

### unfocusedPrefixColor

Cmn

```
val unfocusedPrefixColor: Color
```

the prefix color for this text field when not focused

### unfocusedSuffixColor

Cmn

```
val unfocusedSuffixColor: Color
```

the suffix color for this text field when not focused

### unfocusedSupportingTextColor

Cmn

```
val unfocusedSupportingTextColor: Color
```

the supporting text color for this text field when not focused

### unfocusedTextColor

Cmn

```
val unfocusedTextColor: Color
```

the color used for the input text of this text field when not focused

### unfocusedTrailingIconColor

Cmn

```
val unfocusedTrailingIconColor: Color
```

the trailing icon color for this text field when not focused