A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/apps-script/reference/slides/color-scheme below:

Class ColorScheme | Apps Script

Class ColorScheme

Stay organized with collections Save and categorize content based on your preferences.

ColorScheme

A color scheme defines a mapping from members of ThemeColorType to the actual colors used to render them.

Detailed documentation getConcreteColor(theme)

Returns the concrete Color associated with the ThemeColorType in this color scheme.

The returned color is guaranteed to not be an instance of ThemeColor.

Parameters Name Type Description theme ThemeColorType The theme color to derive the concrete color from. Return

Color — The concrete color corresponding the theme color type in this scheme.

Scripts that use this method require authorization with one or more of the following scopes:

getThemeColors()

Returns a list of all possible theme color types in a color scheme.

Return

ThemeColorType[] — The possible theme color types in this scheme.

Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setConcreteColor(type, color)

Sets the concrete color associated with the ThemeColorType in this color scheme to the given color.

Parameters Name Type Description type ThemeColorType The theme color type. color Color The color to set the theme color type to. Return

ColorScheme — This color scheme, for chaining.

Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setConcreteColor(type, red, green, blue)

Sets the concrete color associated with the ThemeColorType in this color scheme to the given color in RGB format.

Parameters Name Type Description type ThemeColorType The theme color type. red Integer The red value of the color to set the theme color type to (between 0 and 255). green Integer The green value of the color to set the theme color type to (between 0 and 255). blue Integer The blue value of the color to set the theme color type to (between 0 and 255). Return

ColorScheme — This color scheme, for chaining.

Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setConcreteColor(type, hexColor)

Sets the concrete color associated with the ThemeColorType in this color scheme to the given color in HEX format.

The hex string must be in the format '#RRGGBB'.

Parameters Name Type Description type ThemeColorType The theme color type. hexColor String The hex color to set the theme color type to, such as '#F304a7'. Return

ColorScheme — This color scheme, for chaining.

Authorization

Scripts that use this method require authorization with one or more of the following scopes:

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.

[[["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."],[[["A color scheme maps theme color types to actual colors used in Google Slides."],["You can get and set the concrete color associated with a theme color type using `getConcreteColor()` and `setConcreteColor()`."],["`getThemeColors()` returns a list of all possible theme color types in a color scheme."],["Color schemes allow you to control the colors used for different elements within your presentations."],["These methods require authorization with specific scopes to access and modify presentations."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4