跳到正文

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/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)