Enum ThemeColorType
ThemeColorType
An enum which describes various color entries supported in themes.
To call an enum, you call its parent class, name, and property. For example,
SpreadsheetApp.ThemeColorType.TEXT
.
Properties
Property | Type | Description |
UNSUPPORTED | Enum | Represents a theme color that is not supported. |
TEXT | Enum | Represents the text color. |
BACKGROUND | Enum | Represents the color to use for chart's background. |
ACCENT1 | Enum | Represents the first accent color. |
ACCENT2 | Enum | Represents the second accent color. |
ACCENT3 | Enum | Represents the third accent color. |
ACCENT4 | Enum | Represents the fourth accent color. |
ACCENT5 | Enum | Represents the fifth accent color. |
ACCENT6 | Enum | Represents the sixth accent color. |
HYPERLINK | Enum | Represents the color to use for hyperlinks. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[[["`ThemeColorType` is an enum used to define various color entries within themes in Google Apps Script."],["It includes properties like `TEXT`, `BACKGROUND`, `ACCENT1` through `ACCENT6`, and `HYPERLINK` to represent different color aspects."],["To use a specific color, call it using the parent class, name, and property, such as `SpreadsheetApp.ThemeColorType.TEXT`."],["The `UNSUPPORTED` property represents theme colors that are not supported."]]],[]]