跳到主要內容

Gnome Terminal

Gnome Terminal 是一套深色終端機配色,背景色 #1e1e1e,文字色 #ffffff,對比度 16.7:1

取得設定檔
背景色
#1e1e1e
前景色
#ffffff
文字對比度
16.67:1AAA
強調色對比度
5.11:1最低 1.85
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
❯

Gnome Terminal 的設定檔

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

Gnome Terminal

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

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

palette = 0=#171421
palette = 1=#c01c28
palette = 2=#26a269
palette = 3=#a2734c
palette = 4=#12488b
palette = 5=#a347ba
palette = 6=#2aa1b3
palette = 7=#d0cfcc
palette = 8=#5e5c64
palette = 9=#f66151
palette = 10=#33d17a
palette = 11=#e9ad0c
palette = 12=#2a7bde
palette = 13=#c061cb
palette = 14=#33c7de
palette = 15=#ffffff
background = #1e1e1e
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #1e1e1e
selection-background = #4f4f4f
selection-foreground = #ffffff

Gnome Terminal 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
游標文字cursorText#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)1.00 低於 AA
選取範圍selection#4f4f4frgb(79 79 79)hsl(0 0% 31%)oklch(42.8% 0.000 0)2.04 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
黑color0#171421rgb(23 20 33)hsl(254 25% 10%)oklch(20.1% 0.026 294.5)1.09 低於 AA
紅color1#c01c28rgb(192 28 40)hsl(356 75% 43%)oklch(52.0% 0.196 24.7)2.73 低於 AA
綠color2#26a269rgb(38 162 105)hsl(152 62% 39%)oklch(63.2% 0.136 157.9)5.12 AA
黃color3#a2734crgb(162 115 76)hsl(27 36% 47%)oklch(59.4% 0.080 60.1)4.04 AA 大字級
藍color4#12488brgb(18 72 139)hsl(213 77% 31%)oklch(40.7% 0.124 256.4)1.85 低於 AA
洋紅color5#a347bargb(163 71 186)hsl(288 45% 50%)oklch(56.5% 0.188 319.1)3.31 AA 大字級
青color6#2aa1b3rgb(42 161 179)hsl(188 62% 43%)oklch(65.4% 0.103 210.1)5.44 AA
白color7#d0cfccrgb(208 207 204)hsl(45 4% 81%)oklch(85.4% 0.004 91.5)10.70 AAA
亮黑color8#5e5c64rgb(94 92 100)hsl(255 4% 38%)oklch(47.9% 0.013 297.3)2.53 低於 AA
亮紅color9#f66151rgb(246 97 81)hsl(6 90% 64%)oklch(68.1% 0.186 29.0)5.36 AA
亮綠color10#33d17argb(51 209 122)hsl(147 63% 51%)oklch(76.1% 0.178 153.6)8.37 AAA
亮黃color11#e9ad0crgb(233 173 12)hsl(44 90% 48%)oklch(78.3% 0.159 83.1)8.29 AAA
亮藍color12#2a7bdergb(42 123 222)hsl(213 73% 52%)oklch(58.7% 0.169 255.9)3.96 AA 大字級
亮洋紅color13#c061cbrgb(192 97 203)hsl(294 50% 59%)oklch(64.4% 0.180 323.4)4.62 AA
亮青color14#33c7dergb(51 199 222)hsl(188 72% 54%)oklch(76.5% 0.122 210.7)8.23 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA

關於 Gnome Terminal

Gnome Terminal 採用中性色調的深色背景(#1e1e1e),預設前景色為 #ffffff。內文的 WCAG 對比度為 16.67:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.11:1,最低 1.85:1。

色票整體色彩彩度適中,其中紅色為 #c01c28、綠色為 #26a269、藍色為 #12488b、洋紅為 #a347ba。

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

與 Gnome Terminal 相似的配色

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