---
title: "ScrollIndicatorColors"
description: "Represents the indicator and track colors used in [ScrollIndicator]."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
public class ScrollIndicatorColors(public val indicatorColor: Color, public val trackColor: Color)
```


Represents the indicator and track colors used in `ScrollIndicator`.

#### Parameters

| | |
| --- | --- |
| indicatorColor | Color used to draw the indicator of `ScrollIndicator`. |
| trackColor | Color used to draw the track of `ScrollIndicator`. |



## Functions

```kotlin
public fun copy(
        indicatorColor: Color = this.indicatorColor,
        trackColor: Color = this.trackColor,
    ): ScrollIndicatorColors
```


Returns a copy of this ScrollIndicatorColors optionally overriding some of the values.

#### Parameters

| | |
| --- | --- |
| indicatorColor | Color used to draw the indicator of `ScrollIndicator`. |
| trackColor | Color used to draw the track of `ScrollIndicator`. |




