赤、緑、青の色チャンネルで定義された色。
メソッド
メソッド | 戻り値の型 | 概要 |
---|---|---|
as | String | 色を CSS スタイルの 7 文字の 16 進数文字列 #rrggbb として返します。 |
get | Integer | この色の青色チャネル(0 ~ 255 の整数)。 |
get | Color | この色のタイプを取得します。 |
get | Integer | この色の緑色チャネル(0 ~ 255 の数値)。 |
get | Integer | この色の赤色チャネル(0 ~ 255 の整数)。 |
詳細なドキュメント
as Hex String()
色を CSS スタイルの 7 文字の 16 進数文字列 #rrggbb として返します。
戻る
String
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
get Blue()
この色の青色チャネル(0 ~ 255 の整数)。
戻る
Integer
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
get Color Type()
get Green()
この色の緑色チャネル(0 ~ 255 の数値)。
戻る
Integer
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
get Red()
この色の赤色チャネル(0 ~ 255 の整数)。
戻る
Integer
承認
このメソッドを使用するスクリプトには、次のスコープの 1 つ以上による承認が必要です。
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations