跳到正文

Terafox

Terafox 是一套深色终端配色(冷色),背景色 #152528,文字色 #e6eaea,对比度 13.1:1

获取配置
背景色
#152528
前景色
#e6eaea
文字对比度
13.05:1AAA
强调色对比度
6.46:1最低 3.47
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
❯

Terafox 的配置文件

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

Terafox

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

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

palette = 0=#2f3239
palette = 1=#e85c51
palette = 2=#7aa4a1
palette = 3=#fda47f
palette = 4=#5a93aa
palette = 5=#ad5c7c
palette = 6=#a1cdd8
palette = 7=#ebebeb
palette = 8=#4e5157
palette = 9=#eb746b
palette = 10=#8eb2af
palette = 11=#fdb292
palette = 12=#73a3b7
palette = 13=#b97490
palette = 14=#afd4de
palette = 15=#eeeeee
background = #152528
foreground = #e6eaea
cursor-color = #e6eaea
cursor-text = #152528
selection-background = #293e40
selection-foreground = #e6eaea

Terafox 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#152528rgb(21 37 40)hsl(189 31% 12%)oklch(25.2% 0.022 210.6)—
前景色foreground#e6eaeargb(230 234 234)hsl(180 9% 91%)oklch(93.4% 0.004 197.1)13.05 AAA
光标cursor#e6eaeargb(230 234 234)hsl(180 9% 91%)oklch(93.4% 0.004 197.1)13.05 AAA
光标文字cursorText#152528rgb(21 37 40)hsl(189 31% 12%)oklch(25.2% 0.022 210.6)1.00 低于 AA
选区selection#293e40rgb(41 62 64)hsl(185 22% 21%)oklch(34.7% 0.027 203.5)1.40 低于 AA
选区文字selectionText#e6eaeargb(230 234 234)hsl(180 9% 91%)oklch(93.4% 0.004 197.1)13.05 AAA
黑color0#2f3239rgb(47 50 57)hsl(222 10% 20%)oklch(31.7% 0.013 267.1)1.23 低于 AA
红color1#e85c51rgb(232 92 81)hsl(4 77% 61%)oklch(65.4% 0.176 27.4)4.58 AA
绿color2#7aa4a1rgb(122 164 161)hsl(176 19% 56%)oklch(68.7% 0.046 190.7)5.77 AA
黄color3#fda47frgb(253 164 127)hsl(18 97% 75%)oklch(79.9% 0.117 43.3)8.13 AAA
蓝color4#5a93aargb(90 147 170)hsl(197 32% 51%)oklch(63.3% 0.069 225.8)4.66 AA
品红color5#ad5c7crgb(173 92 124)hsl(336 33% 52%)oklch(57.9% 0.111 356.1)3.47 AA 大字号
青color6#a1cdd8rgb(161 205 216)hsl(192 41% 74%)oklch(82.1% 0.049 214.7)9.22 AAA
白color7#ebebebrgb(235 235 235)hsl(0 0% 92%)oklch(94.0% 0.000 0)13.27 AAA
亮黑color8#4e5157rgb(78 81 87)hsl(220 5% 32%)oklch(43.4% 0.011 264.5)1.99 低于 AA
亮红color9#eb746brgb(235 116 107)hsl(4 76% 67%)oklch(69.6% 0.149 26.0)5.46 AA
亮绿color10#8eb2afrgb(142 178 175)hsl(175 19% 63%)oklch(73.6% 0.039 190.1)6.88 AA
亮黄color11#fdb292rgb(253 178 146)hsl(18 96% 78%)oklch(82.7% 0.098 44.0)9.01 AAA
亮蓝color12#73a3b7rgb(115 163 183)hsl(198 32% 58%)oklch(68.8% 0.059 225.8)5.77 AA
亮品红color13#b97490rgb(185 116 144)hsl(336 33% 59%)oklch(64.1% 0.093 354.2)4.49 AA 大字号
亮青color14#afd4dergb(175 212 222)hsl(193 42% 78%)oklch(84.6% 0.041 215.9)10.02 AAA
亮白color15#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)13.64 AAA

关于 Terafox

Terafox 采用冷色调的深色背景(#152528),默认前景色为 #e6eaea。正文的 WCAG 对比度为 13.05:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.46:1,最低 3.47:1。

色板整体色彩饱和度适中,其中红色为 #e85c51、绿色为 #7aa4a1、蓝色为 #5a93aa、品红为 #ad5c7c。该配色归属 Nightfox 主题系列。

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

与 Terafox 相似的配色

数据来源:iTerm2 Color Schemes (MIT)