跳到主要內容

Geohot

Geohot 是一套深色終端機配色(柔和),背景色 #1f1e1f,文字色 #ffffff,對比度 16.6:1

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

Geohot 的設定檔

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

Geohot

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

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

palette = 0=#f9f5f5
palette = 1=#cc0000
palette = 2=#1f1e1f
palette = 3=#ada110
palette = 4=#ff004e
palette = 5=#75507b
palette = 6=#06919a
palette = 7=#ffffff
palette = 8=#555753
palette = 9=#ef2929
palette = 10=#ff0000
palette = 11=#ada110
palette = 12=#5f4aa6
palette = 13=#b74438
palette = 14=#408f0c
palette = 15=#ffffff
background = #1f1e1f
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #1f1e1f
selection-background = #504f50
selection-foreground = #ffffff

Geohot 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1f1e1frgb(31 30 31)hsl(300 2% 12%)oklch(23.7% 0.002 325.7)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.62 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.62 AAA
游標文字cursorText#1f1e1frgb(31 30 31)hsl(300 2% 12%)oklch(23.7% 0.002 325.7)1.00 低於 AA
選取範圍selection#504f50rgb(80 79 80)hsl(300 1% 31%)oklch(42.9% 0.002 325.6)2.04 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.62 AAA
黑color0#f9f5f5rgb(249 245 245)hsl(0 25% 97%)oklch(97.3% 0.004 17.2)15.36 AAA
紅color1#cc0000rgb(204 0 0)hsl(0 100% 40%)oklch(53.1% 0.218 29.2)2.82 低於 AA
綠color2#1f1e1frgb(31 30 31)hsl(300 2% 12%)oklch(23.7% 0.002 325.7)1.00 低於 AA
黃color3#ada110rgb(173 161 16)hsl(55 83% 37%)oklch(69.7% 0.144 104.0)6.24 AA
藍color4#ff004ergb(255 0 78)hsl(342 100% 50%)oklch(63.4% 0.254 17.4)4.24 AA 大字級
洋紅color5#75507brgb(117 80 123)hsl(292 21% 40%)oklch(48.8% 0.080 321.8)2.52 低於 AA
青color6#06919argb(6 145 154)hsl(184 93% 31%)oklch(59.8% 0.101 202.6)4.37 AA 大字級
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.62 AAA
亮黑color8#555753rgb(85 87 83)hsl(90 2% 33%)oklch(45.4% 0.007 128.6)2.27 低於 AA
亮紅color9#ef2929rgb(239 41 41)hsl(0 86% 55%)oklch(61.3% 0.230 27.4)3.97 AA 大字級
亮綠color10#ff0000rgb(255 0 0)hsl(0 100% 50%)oklch(62.8% 0.258 29.2)4.16 AA 大字級
亮黃color11#ada110rgb(173 161 16)hsl(55 83% 37%)oklch(69.7% 0.144 104.0)6.24 AA
亮藍color12#5f4aa6rgb(95 74 166)hsl(254 38% 47%)oklch(47.9% 0.142 290.5)2.39 低於 AA
亮洋紅color13#b74438rgb(183 68 56)hsl(6 53% 47%)oklch(54.3% 0.152 28.9)3.08 AA 大字級
亮青color14#408f0crgb(64 143 12)hsl(96 85% 30%)oklch(57.7% 0.171 137.2)4.08 AA 大字級
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.62 AAA

關於 Geohot

Geohot 採用中性色調的深色背景(#1f1e1f),預設前景色為 #ffffff。內文的 WCAG 對比度為 16.62:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.76:1,最低 1.00:1。

色票整體色彩彩度適中,其中紅色為 #cc0000、綠色為 #1f1e1f、藍色為 #ff004e、洋紅為 #75507b。

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

與 Geohot 相似的配色

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