ThemeColor

A representation for a theme color.

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `https://developers.google.com/apps-script/reference/spreadsheet/theme-color#getColorType()` | `https://developers.google.com/apps-script/reference/base/color-type.html` | Get the type of this color. |
| `https://developers.google.com/apps-script/reference/spreadsheet/theme-color#getThemeColorType()` | `https://developers.google.com/apps-script/reference/spreadsheet/theme-color-type` | Gets the theme color type of this color. |

## Detailed documentation

### `getColorType()`

Get the type of this color.

#### Return


`https://developers.google.com/apps-script/reference/base/color-type.html` --- The color type.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/spreadsheets.currentonly`
- `https://www.googleapis.com/auth/spreadsheets`

*** ** * ** ***

### `getThemeColorType()`

Gets the theme color type of this color.

#### Return


`https://developers.google.com/apps-script/reference/spreadsheet/theme-color-type` --- The theme color type.

#### Authorization

Scripts that use this method require authorization with one or more of the following [scopes](https://developers.google.com/apps-script/concepts/scopes#setting_explicit_scopes):

- `https://www.googleapis.com/auth/spreadsheets.currentonly`
- `https://www.googleapis.com/auth/spreadsheets`