跳到正文

Vice

Vice 是一套深色终端配色(柔和、鲜艳),背景色 #17191e,文字色 #8b9cbe,对比度 6.4:1

获取配置
背景色
#17191e
前景色
#8b9cbe
文字对比度
6.36:1AA
强调色对比度
9.60:1最低 4.40
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
❯

Vice 的配置文件

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

Vice

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

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

palette = 0=#17191e
palette = 1=#ff29a8
palette = 2=#0badff
palette = 3=#f0ffaa
palette = 4=#00eaff
palette = 5=#00f6d9
palette = 6=#8265ff
palette = 7=#8b9cbe
palette = 8=#383a47
palette = 9=#ff29a8
palette = 10=#0badff
palette = 11=#f0ffaa
palette = 12=#00eaff
palette = 13=#00f6d9
palette = 14=#8265ff
palette = 15=#f4f4f7
background = #17191e
foreground = #8b9cbe
cursor-color = #8b9cbe
cursor-text = #17191e
selection-background = #313641
selection-foreground = #8b9cbe

Vice 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#17191ergb(23 25 30)hsl(223 13% 10%)oklch(21.4% 0.010 268.2)—
前景色foreground#8b9cbergb(139 156 190)hsl(220 28% 65%)oklch(69.1% 0.054 264.1)6.36 AA
光标cursor#8b9cbergb(139 156 190)hsl(220 28% 65%)oklch(69.1% 0.054 264.1)6.36 AA
光标文字cursorText#17191ergb(23 25 30)hsl(223 13% 10%)oklch(21.4% 0.010 268.2)1.00 低于 AA
选区selection#313641rgb(49 54 65)hsl(221 14% 22%)oklch(33.3% 0.021 266.0)1.45 低于 AA
选区文字selectionText#8b9cbergb(139 156 190)hsl(220 28% 65%)oklch(69.1% 0.054 264.1)6.36 AA
黑color0#17191ergb(23 25 30)hsl(223 13% 10%)oklch(21.4% 0.010 268.2)1.00 低于 AA
红color1#ff29a8rgb(255 41 168)hsl(324 100% 58%)oklch(67.0% 0.259 351.1)5.14 AA
绿color2#0badffrgb(11 173 255)hsl(200 100% 52%)oklch(71.5% 0.165 241.0)7.06 AAA
黄color3#f0ffaargb(240 255 170)hsl(71 100% 83%)oklch(97.0% 0.108 116.6)16.40 AAA
蓝color4#00eaffrgb(0 234 255)hsl(185 100% 50%)oklch(85.6% 0.147 206.3)11.90 AAA
品红color5#00f6d9rgb(0 246 217)hsl(173 100% 48%)oklch(87.2% 0.158 180.1)12.71 AAA
青color6#8265ffrgb(130 101 255)hsl(251 100% 70%)oklch(61.8% 0.219 286.8)4.40 AA 大字号
白color7#8b9cbergb(139 156 190)hsl(220 28% 65%)oklch(69.1% 0.054 264.1)6.36 AA
亮黑color8#383a47rgb(56 58 71)hsl(232 12% 25%)oklch(35.2% 0.023 278.3)1.56 低于 AA
亮红color9#ff29a8rgb(255 41 168)hsl(324 100% 58%)oklch(67.0% 0.259 351.1)5.14 AA
亮绿color10#0badffrgb(11 173 255)hsl(200 100% 52%)oklch(71.5% 0.165 241.0)7.06 AAA
亮黄color11#f0ffaargb(240 255 170)hsl(71 100% 83%)oklch(97.0% 0.108 116.6)16.40 AAA
亮蓝color12#00eaffrgb(0 234 255)hsl(185 100% 50%)oklch(85.6% 0.147 206.3)11.90 AAA
亮品红color13#00f6d9rgb(0 246 217)hsl(173 100% 48%)oklch(87.2% 0.158 180.1)12.71 AAA
亮青color14#8265ffrgb(130 101 255)hsl(251 100% 70%)oklch(61.8% 0.219 286.8)4.40 AA 大字号
亮白color15#f4f4f7rgb(244 244 247)hsl(240 16% 96%)oklch(96.8% 0.004 286.3)16.02 AAA

关于 Vice

Vice 采用中性色调的深色背景(#17191e),默认前景色为 #8b9cbe。正文的 WCAG 对比度为 6.36:1(AA),12 种 ANSI 彩色槽位平均对比度 9.60:1,最低 4.40:1。

色板整体色彩饱和度较高,其中红色为 #ff29a8、绿色为 #0badff、蓝色为 #00eaff、品红为 #00f6d9。

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

与 Vice 相似的配色

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