跳到主要內容

Google

Google 是一套深色終端機配色(鮮豔),背景色 #1d1f21,文字色 #c5c8c6,對比度 9.8:1

取得設定檔
背景色
#1d1f21
前景色
#c5c8c6
文字對比度
9.80:1AAA
強調色對比度
4.53:1最低 3.22
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status
zsh — ls & git status — Konsole
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ ls -la
drwxr-xr-x 12 ada staff 384 Oct 30 09:12 .
drwxr-xr-x 8 ada staff 256 Oct 29 18:40 ..
-rw-r--r-- 1 ada staff 1.2K Oct 30 09:10 .gitignore
drwxr-xr-x 5 ada staff 160 Oct 30 09:12 src
drwxr-xr-x 3 ada staff 96 Oct 28 11:02 public
-rwxr-xr-x 1 ada staff 2.4K Oct 30 08:57 build.sh
-rw-r--r-- 1 ada staff 4.1K Oct 30 09:01 package.json
lrwxr-xr-x 1 ada staff 18 Oct 27 14:33 node_modules -> ../cache/modules
-rw-r--r-- 1 ada staff 48K Oct 26 10:15 logo.png
-rw-r--r-- 1 ada staff 9.8M Oct 25 21:47 backup.tar.gz
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯ git status
On branch main
Your branch is ahead of 'origin/main' by 2 commits.
Changes to be committed:
new file: src/theme.css
modified: README.md
Changes not staged for commit:
modified: src/app.tsx
deleted: legacy/colors.js
Untracked files:
notes.md
~/dev/tintdex on main [!?] via ⬢ v1.4.3
❯

Google 的設定檔

16 種格式,都從同一份色票產生

Google

存到 ~/.config/ghostty/themes/Google,再在 config 或 config.ghostty 裡寫 theme = Google

更多 Ghostty 配色
原始檔
# Theme: Google (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/google?format=ghostty

palette = 0=#1d1f21
palette = 1=#cc342b
palette = 2=#198844
palette = 3=#fba922
palette = 4=#3971ed
palette = 5=#a36ac7
palette = 6=#3971ed
palette = 7=#c5c8c6
palette = 8=#969896
palette = 9=#cc342b
palette = 10=#198844
palette = 11=#fba922
palette = 12=#3971ed
palette = 13=#a36ac7
palette = 14=#3971ed
palette = 15=#ffffff
background = #1d1f21
foreground = #c5c8c6
cursor-color = #c5c8c6
cursor-text = #1d1f21
selection-background = #424446
selection-foreground = #c5c8c6

Google 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1d1f21rgb(29 31 33)hsl(210 6% 12%)oklch(23.8% 0.005 248.0)—
前景色foreground#c5c8c6rgb(197 200 198)hsl(140 3% 78%)oklch(83.0% 0.004 157.2)9.80 AAA
游標cursor#c5c8c6rgb(197 200 198)hsl(140 3% 78%)oklch(83.0% 0.004 157.2)9.80 AAA
游標文字cursorText#1d1f21rgb(29 31 33)hsl(210 6% 12%)oklch(23.8% 0.005 248.0)1.00 低於 AA
選取範圍selection#424446rgb(66 68 70)hsl(210 3% 27%)oklch(38.5% 0.004 247.9)1.69 低於 AA
選取文字selectionText#c5c8c6rgb(197 200 198)hsl(140 3% 78%)oklch(83.0% 0.004 157.2)9.80 AAA
黑color0#1d1f21rgb(29 31 33)hsl(210 6% 12%)oklch(23.8% 0.005 248.0)1.00 低於 AA
紅color1#cc342brgb(204 52 43)hsl(3 65% 48%)oklch(55.9% 0.190 28.4)3.22 AA 大字級
綠color2#198844rgb(25 136 68)hsl(143 69% 32%)oklch(55.2% 0.140 150.7)3.66 AA 大字級
黃color3#fba922rgb(251 169 34)hsl(37 96% 56%)oklch(79.6% 0.162 72.5)8.50 AAA
藍color4#3971edrgb(57 113 237)hsl(221 83% 58%)oklch(58.1% 0.197 263.3)3.75 AA 大字級
洋紅color5#a36ac7rgb(163 106 199)hsl(277 45% 60%)oklch(62.2% 0.147 311.1)4.29 AA 大字級
青color6#3971edrgb(57 113 237)hsl(221 83% 58%)oklch(58.1% 0.197 263.3)3.75 AA 大字級
白color7#c5c8c6rgb(197 200 198)hsl(140 3% 78%)oklch(83.0% 0.004 157.2)9.80 AAA
亮黑color8#969896rgb(150 152 150)hsl(120 1% 59%)oklch(67.7% 0.004 145.5)5.69 AA
亮紅color9#cc342brgb(204 52 43)hsl(3 65% 48%)oklch(55.9% 0.190 28.4)3.22 AA 大字級
亮綠color10#198844rgb(25 136 68)hsl(143 69% 32%)oklch(55.2% 0.140 150.7)3.66 AA 大字級
亮黃color11#fba922rgb(251 169 34)hsl(37 96% 56%)oklch(79.6% 0.162 72.5)8.50 AAA
亮藍color12#3971edrgb(57 113 237)hsl(221 83% 58%)oklch(58.1% 0.197 263.3)3.75 AA 大字級
亮洋紅color13#a36ac7rgb(163 106 199)hsl(277 45% 60%)oklch(62.2% 0.147 311.1)4.29 AA 大字級
亮青color14#3971edrgb(57 113 237)hsl(221 83% 58%)oklch(58.1% 0.197 263.3)3.75 AA 大字級
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.53 AAA

關於 Google

Google 採用中性色調的深色背景(#1d1f21),預設前景色為 #c5c8c6。內文的 WCAG 對比度為 9.80:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.53:1,最低 3.22:1。

色票整體色彩彩度較高,其中紅色為 #cc342b、綠色為 #198844、藍色為 #3971ed、洋紅為 #a36ac7。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

此色票在上游儲存庫中也曾以 Google Dark 的名稱發布

與 Google 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)