跳到主要內容

GJM

GJM 是一套深色終端機配色(鮮豔),背景色 #1c1c1c,文字色 #c5c5c5,對比度 9.9:1

取得設定檔
背景色
#1c1c1c
前景色
#c5c5c5
文字對比度
9.87:1AAA
強調色對比度
8.12:1最低 2.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
❯

GJM 的設定檔

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

GJM

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

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

palette = 0=#1c1c1c
palette = 1=#ff005b
palette = 2=#cee318
palette = 3=#ffe755
palette = 4=#048ac7
palette = 5=#833c9f
palette = 6=#0ac1cd
palette = 7=#e5e5e5
palette = 8=#666666
palette = 9=#ff00a0
palette = 10=#ccff00
palette = 11=#ff9f00
palette = 12=#48c6ff
palette = 13=#be67e1
palette = 14=#63e7f0
palette = 15=#f3f3f3
background = #1c1c1c
foreground = #c5c5c5
cursor-color = #c5c5c5
cursor-text = #1c1c1c
selection-background = #414141
selection-foreground = #c5c5c5

GJM 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c1c1crgb(28 28 28)hsl(0 0% 11%)oklch(22.6% 0.000 0)—
前景色foreground#c5c5c5rgb(197 197 197)hsl(0 0% 77%)oklch(82.3% 0.000 0)9.87 AAA
游標cursor#c5c5c5rgb(197 197 197)hsl(0 0% 77%)oklch(82.3% 0.000 0)9.87 AAA
游標文字cursorText#1c1c1crgb(28 28 28)hsl(0 0% 11%)oklch(22.6% 0.000 0)1.00 低於 AA
選取範圍selection#414141rgb(65 65 65)hsl(0 0% 25%)oklch(37.5% 0.000 0)1.67 低於 AA
選取文字selectionText#c5c5c5rgb(197 197 197)hsl(0 0% 77%)oklch(82.3% 0.000 0)9.87 AAA
黑color0#1c1c1crgb(28 28 28)hsl(0 0% 11%)oklch(22.6% 0.000 0)1.00 低於 AA
紅color1#ff005brgb(255 0 91)hsl(339 100% 50%)oklch(63.6% 0.254 13.8)4.38 AA 大字級
綠color2#cee318rgb(206 227 24)hsl(66 81% 49%)oklch(87.0% 0.196 116.4)11.87 AAA
黃color3#ffe755rgb(255 231 85)hsl(52 100% 67%)oklch(92.2% 0.162 99.8)13.64 AAA
藍color4#048ac7rgb(4 138 199)hsl(199 96% 40%)oklch(60.2% 0.134 238.5)4.44 AA 大字級
洋紅color5#833c9frgb(131 60 159)hsl(283 45% 43%)oklch(49.3% 0.163 315.2)2.53 低於 AA
青color6#0ac1cdrgb(10 193 205)hsl(184 91% 42%)oklch(73.9% 0.125 202.8)7.73 AAA
白color7#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)13.53 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.97 低於 AA
亮紅color9#ff00a0rgb(255 0 160)hsl(322 100% 50%)oklch(65.6% 0.271 352.6)4.67 AA
亮綠color10#ccff00rgb(204 255 0)hsl(72 100% 50%)oklch(93.1% 0.229 123.1)14.50 AAA
亮黃color11#ff9f00rgb(255 159 0)hsl(37 100% 50%)oklch(78.2% 0.172 67.6)8.29 AAA
亮藍color12#48c6ffrgb(72 198 255)hsl(199 100% 64%)oklch(78.1% 0.135 232.0)8.76 AAA
亮洋紅color13#be67e1rgb(190 103 225)hsl(283 67% 64%)oklch(66.2% 0.191 315.3)5.05 AA
亮青color14#63e7f0rgb(99 231 240)hsl(184 82% 66%)oklch(85.8% 0.116 201.4)11.54 AAA
亮白color15#f3f3f3rgb(243 243 243)hsl(0 0% 95%)oklch(96.4% 0.000 0)15.36 AAA

關於 GJM

GJM 採用中性色調的深色背景(#1c1c1c),預設前景色為 #c5c5c5。內文的 WCAG 對比度為 9.87:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.12:1,最低 2.53:1。

色票整體色彩彩度較高,其中紅色為 #ff005b、綠色為 #cee318、藍色為 #048ac7、洋紅為 #833c9f。

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

與 GJM 相似的配色

資料來源:terminal.sexy (MIT)