由紅、綠、藍色版定義的顏色。
方法
方法 | 傳回類型 | 簡短說明 |
---|---|---|
as | String | 以 CSS 風格的 7 個字元十六進位字串 #rrggbb 傳回顏色。 |
get | Integer | 此顏色的藍色通道,以 0 到 255 的數字表示。 |
get | Color | 取得此顏色的類型。 |
get | Integer | 此顏色的綠色通道,以 0 到 255 的數字表示。 |
get | Integer | 此顏色的紅色通道,以 0 到 255 的數字表示。 |
內容詳盡的說明文件
as Hex String()
以 CSS 風格的 7 個字元十六進位字串 #rrggbb 傳回顏色。
回攻員
String
授權
使用這個方法的腳本需要具備下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
get Blue()
此顏色的藍色通道,以 0 到 255 的數字表示。
回攻員
Integer
授權
使用這個方法的腳本需要具備下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
get Color Type()
get Green()
此顏色的綠色通道,以 0 到 255 的數字表示。
回攻員
Integer
授權
使用這個方法的腳本需要具備下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations
get Red()
此顏色的紅色通道,以 0 到 255 的數字表示。
回攻員
Integer
授權
使用這個方法的腳本需要具備下列一或多個範圍的授權:
-
https://www.googleapis.com/auth/presentations.currentonly
-
https://www.googleapis.com/auth/presentations