跳到正文

Tribal

Tribal 是一套深色终端配色(单色、冷色),背景色 #393942,文字色 #ffffff,对比度 11.4:1

获取配置
背景色
#393942
前景色
#ffffff
文字对比度
11.43:1AAA
强调色对比度
4.25:1最低 1.69
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
❯

Tribal 的配置文件

16 种格式,都从同一份色板生成

Tribal

存到 ~/.config/ghostty/themes/Tribal,再在 config 或 config.ghostty 里写 theme = Tribal

更多 Ghostty 配色
原始文件
# Theme: Tribal (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/tribal?format=ghostty

palette = 0=#454550
palette = 1=#ba0e2e
palette = 2=#c43535
palette = 3=#5f5582
palette = 4=#e0ddeb
palette = 5=#5f5582
palette = 6=#8f8aa2
palette = 7=#ffffff
palette = 8=#5c5c6b
palette = 9=#e61f44
palette = 10=#dd8282
palette = 11=#938ab3
palette = 12=#ffffff
palette = 13=#938ab3
palette = 14=#c5c3cf
palette = 15=#ffffff
background = #393942
foreground = #ffffff
cursor-color = #f8f8f0
cursor-text = #ffffff
selection-background = #47959a
selection-foreground = #ffffff

Tribal 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#393942rgb(57 57 66)hsl(240 7% 24%)oklch(34.8% 0.016 285.6)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.43 AAA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)10.71 AAA
光标文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.43 AAA
选区selection#47959argb(71 149 154)hsl(184 37% 44%)oklch(62.3% 0.077 201.0)3.28 AA 大字号
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.43 AAA
黑color0#454550rgb(69 69 80)hsl(240 7% 29%)oklch(39.5% 0.018 285.5)1.21 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)1.74 低于 AA
绿color2#c43535rgb(196 53 53)hsl(0 57% 49%)oklch(54.8% 0.180 25.4)2.13 低于 AA
黄color3#5f5582rgb(95 85 130)hsl(253 21% 42%)oklch(47.8% 0.072 293.7)1.69 低于 AA
蓝color4#e0ddebrgb(224 221 235)hsl(253 26% 89%)oklch(90.4% 0.019 295.8)8.55 AAA
品红color5#5f5582rgb(95 85 130)hsl(253 21% 42%)oklch(47.8% 0.072 293.7)1.69 低于 AA
青color6#8f8aa2rgb(143 138 162)hsl(253 11% 59%)oklch(64.6% 0.036 294.9)3.44 AA 大字号
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.43 AAA
亮黑color8#5c5c6brgb(92 92 107)hsl(240 8% 39%)oklch(48.0% 0.024 285.5)1.74 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)2.53 低于 AA
亮绿color10#dd8282rgb(221 130 130)hsl(0 57% 69%)oklch(70.4% 0.113 20.3)4.13 AA 大字号
亮黄color11#938ab3rgb(147 138 179)hsl(253 21% 62%)oklch(65.6% 0.061 294.7)3.55 AA 大字号
亮蓝color12#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.43 AAA
亮品红color13#938ab3rgb(147 138 179)hsl(253 21% 62%)oklch(65.6% 0.061 294.7)3.55 AA 大字号
亮青color14#c5c3cfrgb(197 195 207)hsl(250 11% 79%)oklch(82.2% 0.017 293.7)6.57 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)11.43 AAA

关于 Tribal

Tribal 采用冷色调的深色背景(#393942),默认前景色为 #ffffff。正文的 WCAG 对比度为 11.43:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.25:1,最低 1.69:1。

色板整体色彩饱和度适中,其中红色为 #ba0e2e、绿色为 #c43535、蓝色为 #e0ddeb、品红为 #5f5582。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Tribal 相似的配色

数据来源:Rainglow (MIT)