Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
ThemeColor represents a theme color within Google Apps Script and provides methods for interacting with it.
It offers two methods: getColorType() to determine the color's type (e.g., RGB, HEX) and getThemeColorType() to identify its specific theme color type (e.g., ACCENT1, TEXT1).
Both methods require authorization with scopes such as https://www.googleapis.com/auth/spreadsheets.currentonly or https://www.googleapis.com/auth/spreadsheets before use.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[],["ThemeColor provides a representation for a theme color. Key actions involve retrieving color information: `getColorType()` returns the color's type, and `getThemeColorType()` returns the specific theme color type. Both methods require authorization scopes `https://www.googleapis.com/auth/spreadsheets.currentonly` or `https://www.googleapis.com/auth/spreadsheets` to be used within scripts.\n"]]