> Documentation index: https://developer.android.com/reference/llms.txt

# InteractiveScrollbarColors

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3.md.txt) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/InteractiveScrollbar.kt+class:androidx.compose.material3.InteractiveScrollbarColors) Added in [1.6.0-alpha02](https://developer.android.com/jetpack/androidx/releases/compose-material3.md.txt#1.6.0-alpha02) Common/AllAndroid/JVM
- Cmn

  ```
  class InteractiveScrollbarColors
  ```

*** ** * ** ***

Represents the colors used by an interactive scrollbar in different interaction states.

## Summary

| ### Public constructors |
|---|---|
| `InteractiveScrollbarColors( thumbColor: Color, hoveredThumbColor: Color, pressedThumbColor: Color, draggedThumbColor: Color, trackColor: Color )` | Cmn |

| ### Public functions |
|---|---|---|
| `InteractiveScrollbarColors` | `copy( thumbColor: Color, hoveredThumbColor: Color, pressedThumbColor: Color, draggedThumbColor: Color, trackColor: Color )` Returns a copy of this `InteractiveScrollbarColors`, optionally overriding some of the values. | Cmn |
| `open operator Boolean` | `equals(other: Any?)` | Cmn |
| `open Int` | `hashCode()` | Cmn |

| ### Public properties |
|---|---|---|
| `Color` | `draggedThumbColor` the color of the scrollbar thumb when actively dragged. | Cmn |
| `Color` | `hoveredThumbColor` the color of the scrollbar thumb when hovered. | Cmn |
| `Color` | `pressedThumbColor` the color of the scrollbar thumb when pressed. | Cmn |
| `Color` | `thumbColor` the default color of the scrollbar thumb when idle. | Cmn |
| `Color` | `trackColor` the color of the scrollbar track. | Cmn |

## Public constructors

### InteractiveScrollbarColors

Cmn Added in [1.6.0-alpha02](https://developer.android.com/jetpack/androidx/releases/compose-material3.md.txt#1.6.0-alpha02)

```
InteractiveScrollbarColors(
    thumbColor: Color,
    hoveredThumbColor: Color,
    pressedThumbColor: Color,
    draggedThumbColor: Color,
    trackColor: Color
)
```

| Parameters |
|---|---|
| `thumbColor: Color` | the default color of the scrollbar thumb when idle. |
| `hoveredThumbColor: Color` | the color of the scrollbar thumb when hovered. |
| `pressedThumbColor: Color` | the color of the scrollbar thumb when pressed. |
| `draggedThumbColor: Color` | the color of the scrollbar thumb when actively dragged. |
| `trackColor: Color` | the color of the scrollbar track. |

## Public functions

### copy

Cmn Added in [1.6.0-alpha02](https://developer.android.com/jetpack/androidx/releases/compose-material3.md.txt#1.6.0-alpha02)

```
fun copy(
    thumbColor: Color = this.thumbColor,
    hoveredThumbColor: Color = this.hoveredThumbColor,
    pressedThumbColor: Color = this.pressedThumbColor,
    draggedThumbColor: Color = this.draggedThumbColor,
    trackColor: Color = this.trackColor
): InteractiveScrollbarColors
```

Returns a copy of this `InteractiveScrollbarColors`, optionally overriding some of the values.

### equals

Cmn

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

### hashCode

Cmn

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

## Public properties

### draggedThumbColor

Cmn

```
val draggedThumbColor: Color
```

the color of the scrollbar thumb when actively dragged.

### hoveredThumbColor

Cmn

```
val hoveredThumbColor: Color
```

the color of the scrollbar thumb when hovered.

### pressedThumbColor

Cmn

```
val pressedThumbColor: Color
```

the color of the scrollbar thumb when pressed.

### thumbColor

Cmn

```
val thumbColor: Color
```

the default color of the scrollbar thumb when idle.

### trackColor

Cmn

```
val trackColor: Color
```

the color of the scrollbar track.