# InteractiveScrollbarColors

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

## API Reference

> Source set: Common

```kotlin
public class InteractiveScrollbarColors(
    public val thumbColor: Color,
    public val hoveredThumbColor: Color,
    public val pressedThumbColor: Color,
    public val draggedThumbColor: Color,
    public val trackColor: Color,
)
```

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

#### Parameters

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

## Functions

### copy

> Source set: Common

```kotlin
public 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](https://composables.com/jetpack-compose/androidx.compose.material3/material3/classes/InteractiveScrollbarColors/api.md), optionally overriding some of the
values.

### equals

> Source set: Common

```kotlin
override fun equals(other: Any?): Boolean
```

### hashCode

> Source set: Common

```kotlin
override fun hashCode(): Int
```
