# CustomTabColorSchemeParams

Artifact: [androidx.browser:browser](https://developer.android.com/jetpack/androidx/releases/browser) [View Source](https://cs.android.com/search?q=file:androidx/browser/customtabs/CustomTabColorSchemeParams.java+class:androidx.browser.customtabs.CustomTabColorSchemeParams) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/browser#1.2.0)

*** ** * ** ***


```
public final class CustomTabColorSchemeParams
```

<br />

*** ** * ** ***

Contains visual parameters of a Custom Tab that may depend on the color scheme.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsIntent.Builder#setColorSchemeParams(int,androidx.browser.customtabs.CustomTabColorSchemeParams)` |   |

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/browser/customtabs/CustomTabColorSchemeParams.Builder` Builder class for `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabColorSchemeParams` objects. |

| ### Public fields |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt @https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/java/lang/Integer.html` | `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabColorSchemeParams#navigationBarColor()` Navigation bar color. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt @https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/java/lang/Integer.html` | `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabColorSchemeParams#navigationBarDividerColor()` Navigation bar color. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt @https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/java/lang/Integer.html` | `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabColorSchemeParams#secondaryToolbarColor()` Secondary toolbar color. |
| `final @https://developer.android.com/reference/androidx/annotation/ColorInt @https://jspecify.dev/docs/api/org/jspecify/annotations/Nullable.html https://developer.android.com/reference/java/lang/Integer.html` | `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabColorSchemeParams#toolbarColor()` Toolbar color. |

## Public fields

### navigationBarColor

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/browser#1.2.0)

```
public final @ColorInt @Nullable Integer navigationBarColor
```

Navigation bar color. See `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsIntent.Builder#setNavigationBarColor(int)`.

### navigationBarDividerColor

Added in [1.3.0](https://developer.android.com/jetpack/androidx/releases/browser#1.3.0)

```
public final @ColorInt @Nullable Integer navigationBarDividerColor
```

Navigation bar color. See `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsIntent.Builder#setNavigationBarDividerColor(int)`.

### secondaryToolbarColor

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/browser#1.2.0)

```
public final @ColorInt @Nullable Integer secondaryToolbarColor
```

Secondary toolbar color. See `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsIntent.Builder#setSecondaryToolbarColor(int)`.

### toolbarColor

Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/browser#1.2.0)

```
public final @ColorInt @Nullable Integer toolbarColor
```

Toolbar color. See `https://developer.android.com/reference/androidx/browser/customtabs/CustomTabsIntent.Builder#setToolbarColor(int)`.