Class ThemeColor Stay organized with collections Save and categorize content based on your preferences.
Page Summary
ThemeColor refers to a color based on an entry in the page's ColorScheme.
The
getColorType()method returns the type of the color as a ColorType.The
getThemeColorType()method returns the theme color type of the color as a ThemeColorType.Both methods require specific authorization scopes to be used in scripts.
A color that refers to an entry in the page'sColor.
Methods
| Method | Return type | Brief description |
|---|---|---|
get | Color | Get the type of this color. |
get | Theme | Get the theme color type of this color. |
Detailed documentation
getColorType()
getThemeColorType()
Get the theme color type of this color.
Return
Authorization
Scripts that use this method require authorization with one or more of the followingscopes:
https://www.googleapis.com/auth/presentations.currentonlyhttps://www.googleapis.com/auth/presentations
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-11 UTC.