跳到正文

Vag

Vag 是一套深色终端配色,背景色 #191f1d,文字色 #d9e6f2,对比度 13.2:1

获取配置
背景色
#191f1d
前景色
#d9e6f2
文字对比度
13.19:1AAA
强调色对比度
4.13:1最低 2.27
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
❯

Vag 的配置文件

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

Vag

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

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

palette = 0=#303030
palette = 1=#a87139
palette = 2=#39a871
palette = 3=#71a839
palette = 4=#7139a8
palette = 5=#a83971
palette = 6=#3971a8
palette = 7=#8a8a8a
palette = 8=#494949
palette = 9=#b0763b
palette = 10=#3bb076
palette = 11=#76b03b
palette = 12=#763bb0
palette = 13=#b03b76
palette = 14=#3b76b0
palette = 15=#cfcfcf
background = #191f1d
foreground = #d9e6f2
cursor-color = #d9e6f2
cursor-text = #191f1d
selection-background = #434a4b
selection-foreground = #d9e6f2

Vag 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#191f1drgb(25 31 29)hsl(160 11% 11%)oklch(23.2% 0.010 173.3)—
前景色foreground#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)13.19 AAA
光标cursor#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)13.19 AAA
光标文字cursorText#191f1drgb(25 31 29)hsl(160 11% 11%)oklch(23.2% 0.010 173.3)1.00 低于 AA
选区selection#434a4brgb(67 74 75)hsl(187 6% 28%)oklch(40.3% 0.009 207.1)1.85 低于 AA
选区文字selectionText#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)13.19 AAA
黑color0#303030rgb(48 48 48)hsl(0 0% 19%)oklch(30.9% 0.000 0)1.27 低于 AA
红color1#a87139rgb(168 113 57)hsl(30 49% 44%)oklch(59.5% 0.100 64.2)4.05 AA 大字号
绿color2#39a871rgb(57 168 113)hsl(150 49% 44%)oklch(65.5% 0.130 157.8)5.59 AA
黄color3#71a839rgb(113 168 57)hsl(90 49% 44%)oklch(67.0% 0.153 131.9)5.87 AA
蓝color4#7139a8rgb(113 57 168)hsl(270 49% 44%)oklch(47.3% 0.172 303.6)2.27 低于 AA
品红color5#a83971rgb(168 57 113)hsl(330 49% 44%)oklch(52.0% 0.156 352.7)2.78 低于 AA
青color6#3971a8rgb(57 113 168)hsl(210 49% 44%)oklch(53.6% 0.105 250.0)3.27 AA 大字号
白color7#8a8a8argb(138 138 138)hsl(0 0% 54%)oklch(63.3% 0.000 0)4.85 AA
亮黑color8#494949rgb(73 73 73)hsl(0 0% 29%)oklch(40.5% 0.000 0)1.86 低于 AA
亮红color9#b0763brgb(176 118 59)hsl(30 50% 46%)oklch(61.5% 0.105 64.1)4.38 AA 大字号
亮绿color10#3bb076rgb(59 176 118)hsl(150 50% 46%)oklch(67.7% 0.136 157.7)6.10 AA
亮黄color11#76b03brgb(118 176 59)hsl(90 50% 46%)oklch(69.3% 0.160 132.0)6.41 AA
亮蓝color12#763bb0rgb(118 59 176)hsl(270 50% 46%)oklch(48.7% 0.179 303.5)2.41 低于 AA
亮品红color13#b03b76rgb(176 59 118)hsl(330 50% 46%)oklch(53.6% 0.163 352.8)2.97 低于 AA
亮青color14#3b76b0rgb(59 118 176)hsl(210 50% 46%)oklch(55.3% 0.110 250.1)3.51 AA 大字号
亮白color15#cfcfcfrgb(207 207 207)hsl(0 0% 81%)oklch(85.5% 0.000 0)10.74 AAA

关于 Vag

Vag 采用中性色调的深色背景(#191f1d),默认前景色为 #d9e6f2。正文的 WCAG 对比度为 13.19:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.13:1,最低 2.27:1。

色板整体色彩饱和度适中,其中红色为 #a87139、绿色为 #39a871、蓝色为 #7139a8、品红为 #a83971。

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

与 Vag 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)