Google is committed to advancing racial equity for Black communities. See how.

Class ThemeColor

ThemeColor

A representation for a theme color.

Methods

MethodReturn typeBrief description
getColorType()ColorTypeGet the type of this color.
getThemeColorType()ThemeColorTypeGets the theme color type of this color.

Detailed documentation

getColorType()

Get the type of this color.

Return

ColorType — 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

ThemeColorType — 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