跳到主要內容

Gogh

Gogh 是一套深色終端機配色(冷色),背景色 #0d1926,文字色 #ecf0f1,對比度 15.4:1

取得設定檔
背景色
#0d1926
前景色
#ecf0f1
文字對比度
15.45:1AAA
強調色對比度
5.69:1最低 2.59
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
❯

Gogh 的設定檔

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

Gogh

存到 ~/.config/ghostty/themes/Gogh,再在 config 或 config.ghostty 裏寫 theme = Gogh

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

palette = 0=#243342
palette = 1=#c54133
palette = 2=#27ae60
palette = 3=#edb20a
palette = 4=#2479d0
palette = 5=#7d3ea0
palette = 6=#1d8579
palette = 7=#c9cccd
palette = 8=#34495e
palette = 9=#e74c3c
palette = 10=#2ecc71
palette = 11=#f1c40f
palette = 12=#3498db
palette = 13=#9b59b6
palette = 14=#2aa198
palette = 15=#ecf0f1
background = #0d1926
foreground = #ecf0f1
cursor-color = #ecf0f1
cursor-text = #0d1926
selection-background = #3d4853
selection-foreground = #ecf0f1

Gogh 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0d1926rgb(13 25 38)hsl(211 49% 10%)oklch(20.9% 0.031 251.4)—
前景色foreground#ecf0f1rgb(236 240 241)hsl(192 15% 94%)oklch(95.2% 0.004 214.3)15.45 AAA
光標cursor#ecf0f1rgb(236 240 241)hsl(192 15% 94%)oklch(95.2% 0.004 214.3)15.45 AAA
光標文字cursorText#0d1926rgb(13 25 38)hsl(211 49% 10%)oklch(20.9% 0.031 251.4)1.00 低於 AA
選取範圍selection#3d4853rgb(61 72 83)hsl(210 15% 28%)oklch(39.6% 0.023 248.4)1.90 低於 AA
選取文字selectionText#ecf0f1rgb(236 240 241)hsl(192 15% 94%)oklch(95.2% 0.004 214.3)15.45 AAA
黑color0#243342rgb(36 51 66)hsl(210 29% 20%)oklch(31.5% 0.034 248.9)1.37 低於 AA
紅color1#c54133rgb(197 65 51)hsl(6 59% 49%)oklch(56.1% 0.171 29.5)3.53 AA 大字體
綠color2#27ae60rgb(39 174 96)hsl(145 63% 42%)oklch(66.3% 0.160 152.4)6.17 AA
黃color3#edb20argb(237 178 10)hsl(44 92% 48%)oklch(79.7% 0.162 84.2)9.27 AAA
藍color4#2479d0rgb(36 121 208)hsl(210 70% 48%)oklch(57.2% 0.155 253.0)3.99 AA 大字體
洋紅color5#7d3ea0rgb(125 62 160)hsl(279 44% 44%)oklch(48.8% 0.159 311.6)2.59 低於 AA
青color6#1d8579rgb(29 133 121)hsl(173 64% 32%)oklch(55.8% 0.092 183.3)3.96 AA 大字體
白color7#c9cccdrgb(201 204 205)hsl(195 4% 80%)oklch(84.3% 0.004 219.5)10.98 AAA
亮黑color8#34495ergb(52 73 94)hsl(210 29% 29%)oklch(39.7% 0.044 249.0)1.91 低於 AA
亮紅color9#e74c3crgb(231 76 60)hsl(6 78% 57%)oklch(63.1% 0.194 29.4)4.64 AA
亮綠color10#2ecc71rgb(46 204 113)hsl(145 63% 49%)oklch(74.6% 0.181 152.3)8.44 AAA
亮黃color11#f1c40frgb(241 196 15)hsl(48 89% 50%)oklch(83.6% 0.169 91.8)10.68 AAA
亮藍color12#3498dbrgb(52 152 219)hsl(204 70% 53%)oklch(65.3% 0.135 242.7)5.62 AA
亮洋紅color13#9b59b6rgb(155 89 182)hsl(283 39% 53%)oklch(57.7% 0.152 315.3)3.80 AA 大字體
亮青color14#2aa198rgb(42 161 152)hsl(175 59% 40%)oklch(64.4% 0.102 187.4)5.62 AA
亮白color15#ecf0f1rgb(236 240 241)hsl(192 15% 94%)oklch(95.2% 0.004 214.3)15.45 AAA

關於 Gogh

Gogh 採用冷色調的深色背景(#0d1926),預設前景色為 #ecf0f1。正文的 WCAG 對比度為 15.45:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.69:1,最低 2.59:1。

色板整體色彩飽和度適中,其中紅色為 #c54133、綠色為 #27ae60、藍色為 #2479d0、洋紅為 #7d3ea0。

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

與 Gogh 相似的配色

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