Page Summary
-
ThemeColor represents a theme color.
-
It includes methods to get the color type and theme color type.
-
Both methods require specific authorization scopes.
A representation for a theme color.
Methods
| Method | Return type | Brief description |
|---|---|---|
get | Color | Get the type of this color. |
get | Theme | Gets the theme color type of this color. |
Detailed documentation
getColorType()
Get the type of this color.
Return
Color — The color type.
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
-
https://www.googleapis.com/auth/spreadsheets.currentonly -
https://www.googleapis.com/auth/spreadsheets
getThemeColorType()
Gets the theme color type of this color.
Return
Theme — The theme color type.
Authorization
Scripts that use this method require authorization with one or more of the following scopes:
-
https://www.googleapis.com/auth/spreadsheets.currentonly -
https://www.googleapis.com/auth/spreadsheets