AI-generated Key Takeaways
-
BandingTheme
is an enumeration used to define color schemes for banding in Google Sheets. -
You can apply a banding theme to a sheet using the
SpreadsheetApp.BandingTheme
enum followed by the specific theme name, such asLIGHT_GREY
orCYAN
. -
There are a variety of pre-defined color themes available like
LIGHT_GREY
,CYAN
,GREEN
,YELLOW
,ORANGE
,BLUE
,TEAL
,GREY
,BROWN
,LIGHT_GREEN
,INDIGO
, andPINK
.
An enumeration of banding themes. Each theme consists of several complementary colors that are applied to different cells based on the banding settings.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.BandingTheme.LIGHT_GREY
.
Properties
Property | Type | Description |
---|---|---|
LIGHT_GREY | Enum | A light grey banding theme. |
CYAN | Enum | A cyan banding theme. |
GREEN | Enum | A green banding theme. |
YELLOW | Enum | A yellow banding theme. |
ORANGE | Enum | An orange banding theme. |
BLUE | Enum | A blue banding theme. |
TEAL | Enum | A teal banding theme. |
GREY | Enum | A grey banding theme. |
BROWN | Enum | A brown banding theme. |
LIGHT_GREEN | Enum | A light green banding theme. |
INDIGO | Enum | An indigo banding theme. |
PINK | Enum | A pink banding theme. |