跳到主要內容

Google Dark

Google Dark 是一套深色終端機配色(鮮豔),背景色 #202124,文字色 #e8eaed,對比度 13.4:1

取得設定檔
背景色
#202124
前景色
#e8eaed
文字對比度
13.36:1AAA
強調色對比度
5.72:1最低 3.53
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 Dark 的設定檔

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

Google Dark

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

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

palette = 0=#202124
palette = 1=#ea4335
palette = 2=#34a853
palette = 3=#fbbc04
palette = 4=#4285f4
palette = 5=#a142f4
palette = 6=#24c1e0
palette = 7=#e8eaed
palette = 8=#5f6368
palette = 9=#ea4335
palette = 10=#34a853
palette = 11=#fbbc05
palette = 12=#4285f4
palette = 13=#a142f4
palette = 14=#24c1e0
palette = 15=#ffffff
background = #202124
foreground = #e8eaed
cursor-color = #e8eaed
cursor-text = #202124
selection-background = #4c4d50
selection-foreground = #e8eaed

Google Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#202124rgb(32 33 36)hsl(225 6% 13%)oklch(24.8% 0.006 271.2)—
前景色foreground#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)13.36 AAA
游標cursor#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)13.36 AAA
游標文字cursorText#202124rgb(32 33 36)hsl(225 6% 13%)oklch(24.8% 0.006 271.2)1.00 低於 AA
選取範圍selection#4c4d50rgb(76 77 80)hsl(225 3% 31%)oklch(42.0% 0.005 271.3)1.90 低於 AA
選取文字selectionText#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)13.36 AAA
黑color0#202124rgb(32 33 36)hsl(225 6% 13%)oklch(24.8% 0.006 271.2)1.00 低於 AA
紅color1#ea4335rgb(234 67 53)hsl(5 81% 56%)oklch(62.6% 0.206 29.1)4.10 AA 大字級
綠color2#34a853rgb(52 168 83)hsl(136 53% 43%)oklch(64.8% 0.160 148.5)5.27 AA
黃color3#fbbc04rgb(251 188 4)hsl(45 97% 50%)oklch(83.0% 0.170 84.0)9.43 AAA
藍color4#4285f4rgb(66 133 244)hsl(217 89% 61%)oklch(63.0% 0.180 260.0)4.52 AA
洋紅color5#a142f4rgb(161 66 244)hsl(272 89% 61%)oklch(59.6% 0.250 303.9)3.53 AA 大字級
青color6#24c1e0rgb(36 193 224)hsl(190 75% 51%)oklch(74.9% 0.127 215.6)7.50 AAA
白color7#e8eaedrgb(232 234 237)hsl(216 12% 92%)oklch(93.6% 0.005 258.3)13.36 AAA
亮黑color8#5f6368rgb(95 99 104)hsl(213 5% 39%)oklch(49.8% 0.009 253.9)2.66 低於 AA
亮紅color9#ea4335rgb(234 67 53)hsl(5 81% 56%)oklch(62.6% 0.206 29.1)4.10 AA 大字級
亮綠color10#34a853rgb(52 168 83)hsl(136 53% 43%)oklch(64.8% 0.160 148.5)5.27 AA
亮黃color11#fbbc05rgb(251 188 5)hsl(45 97% 50%)oklch(83.0% 0.170 84.0)9.43 AAA
亮藍color12#4285f4rgb(66 133 244)hsl(217 89% 61%)oklch(63.0% 0.180 260.0)4.52 AA
亮洋紅color13#a142f4rgb(161 66 244)hsl(272 89% 61%)oklch(59.6% 0.250 303.9)3.53 AA 大字級
亮青color14#24c1e0rgb(36 193 224)hsl(190 75% 51%)oklch(74.9% 0.127 215.6)7.50 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.10 AAA

關於 Google Dark

Google Dark 採用中性色調的深色背景(#202124),預設前景色為 #e8eaed。內文的 WCAG 對比度為 13.36:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.72:1,最低 3.53:1。

色票整體色彩彩度較高,其中紅色為 #ea4335、綠色為 #34a853、藍色為 #4285f4、洋紅為 #a142f4。

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

與 Google Dark 相似的配色

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