跳到主要內容

Lab Fox

Lab Fox 是一套深色終端機配色(鮮豔),背景色 #2e2e2e,文字色 #ffffff,對比度 13.6:1

取得設定檔
背景色
#2e2e2e
前景色
#ffffff
文字對比度
13.58:1AAA
強調色對比度
4.18:1最低 1.04
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
❯

Lab Fox 的設定檔

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

Lab Fox

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

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

palette = 0=#2e2e2e
palette = 1=#fc6d26
palette = 2=#3eb383
palette = 3=#fca121
palette = 4=#db3b21
palette = 5=#380d75
palette = 6=#6e49cb
palette = 7=#ffffff
palette = 8=#464646
palette = 9=#ff6517
palette = 10=#53eaa8
palette = 11=#fca013
palette = 12=#db501f
palette = 13=#441090
palette = 14=#7d53e7
palette = 15=#ffffff
background = #2e2e2e
foreground = #ffffff
cursor-color = #7f7f7f
cursor-text = #7f7f7f
selection-background = #cb392e
selection-foreground = #ffffff

Lab Fox 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2e2e2ergb(46 46 46)hsl(0 0% 18%)oklch(30.1% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.58 AAA
游標cursor#7f7f7frgb(127 127 127)hsl(0 0% 50%)oklch(59.6% 0.000 0)3.39 AA 大字級
游標文字cursorText#7f7f7frgb(127 127 127)hsl(0 0% 50%)oklch(59.6% 0.000 0)3.39 AA 大字級
選取範圍selection#cb392ergb(203 57 46)hsl(4 63% 49%)oklch(56.3% 0.185 28.7)2.69 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.58 AAA
黑color0#2e2e2ergb(46 46 46)hsl(0 0% 18%)oklch(30.1% 0.000 0)1.00 低於 AA
紅color1#fc6d26rgb(252 109 38)hsl(20 97% 57%)oklch(70.2% 0.191 43.0)4.76 AA
綠color2#3eb383rgb(62 179 131)hsl(155 49% 47%)oklch(68.9% 0.127 162.3)5.16 AA
黃color3#fca121rgb(252 161 33)hsl(35 97% 56%)oklch(78.3% 0.164 67.8)6.63 AA
藍color4#db3b21rgb(219 59 33)hsl(8 74% 49%)oklch(59.1% 0.201 31.9)3.01 AA 大字級
洋紅color5#380d75rgb(56 13 117)hsl(265 80% 25%)oklch(30.9% 0.156 293.2)1.04 低於 AA
青color6#6e49cbrgb(110 73 203)hsl(257 56% 54%)oklch(51.8% 0.191 291.4)2.25 低於 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.58 AAA
亮黑color8#464646rgb(70 70 70)hsl(0 0% 27%)oklch(39.4% 0.000 0)1.44 低於 AA
亮紅color9#ff6517rgb(255 101 23)hsl(20 100% 55%)oklch(69.5% 0.203 41.7)4.61 AA
亮綠color10#53eaa8rgb(83 234 168)hsl(154 78% 62%)oklch(84.0% 0.159 160.8)8.86 AAA
亮黃color11#fca013rgb(252 160 19)hsl(36 97% 53%)oklch(78.1% 0.168 68.3)6.58 AA
亮藍color12#db501frgb(219 80 31)hsl(16 75% 49%)oklch(61.3% 0.184 38.0)3.35 AA 大字級
亮洋紅color13#441090rgb(68 16 144)hsl(264 80% 31%)oklch(35.4% 0.183 292.1)1.11 低於 AA
亮青color14#7d53e7rgb(125 83 231)hsl(257 76% 62%)oklch(56.8% 0.212 291.2)2.76 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.58 AAA

關於 Lab Fox

Lab Fox 採用中性色調的深色背景(#2e2e2e),預設前景色為 #ffffff。內文的 WCAG 對比度為 13.58:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.18:1,最低 1.04:1。

色票整體色彩彩度較高,其中紅色為 #fc6d26、綠色為 #3eb383、藍色為 #db3b21、洋紅為 #380d75。

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

與 Lab Fox 相似的配色

資料來源:iTerm2 Color Schemes (MIT)