跳到正文

Violite

Violite 是一套深色终端配色(粉彩、冷色),背景色 #241c36,文字色 #eef4f6,对比度 14.6:1

获取配置
背景色
#241c36
前景色
#eef4f6
文字对比度
14.61:1AAA
强调色对比度
9.19:1最低 5.12
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
❯

Violite 的配置文件

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

Violite

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

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

palette = 0=#241c36
palette = 1=#ec7979
palette = 2=#79ecb3
palette = 3=#ece279
palette = 4=#a979ec
palette = 5=#ec79ec
palette = 6=#79ecec
palette = 7=#eef4f6
palette = 8=#56447a
palette = 9=#ef8f8f
palette = 10=#9fefbf
palette = 11=#efe78f
palette = 12=#b78fef
palette = 13=#ef8fcf
palette = 14=#9fefef
palette = 15=#f8fafc
background = #241c36
foreground = #eef4f6
cursor-color = #eef4f6
cursor-text = #241c36
selection-background = #49376d
selection-foreground = #eef4f6

Violite 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#241c36rgb(36 28 54)hsl(258 32% 16%)oklch(24.9% 0.049 296.9)—
前景色foreground#eef4f6rgb(238 244 246)hsl(195 31% 95%)oklch(96.3% 0.007 219.6)14.61 AAA
光标cursor#eef4f6rgb(238 244 246)hsl(195 31% 95%)oklch(96.3% 0.007 219.6)14.61 AAA
光标文字cursorText#241c36rgb(36 28 54)hsl(258 32% 16%)oklch(24.9% 0.049 296.9)1.00 低于 AA
选区selection#49376drgb(73 55 109)hsl(260 33% 32%)oklch(38.3% 0.091 297.3)1.58 低于 AA
选区文字selectionText#eef4f6rgb(238 244 246)hsl(195 31% 95%)oklch(96.3% 0.007 219.6)14.61 AAA
黑color0#241c36rgb(36 28 54)hsl(258 32% 16%)oklch(24.9% 0.049 296.9)1.00 低于 AA
红color1#ec7979rgb(236 121 121)hsl(0 75% 70%)oklch(70.7% 0.142 21.3)5.85 AA
绿color2#79ecb3rgb(121 236 179)hsl(150 75% 70%)oklch(86.0% 0.134 160.1)11.17 AAA
黄color3#ece279rgb(236 226 121)hsl(55 75% 70%)oklch(89.9% 0.127 103.8)12.15 AAA
蓝color4#a979ecrgb(169 121 236)hsl(265 75% 70%)oklch(67.3% 0.169 301.3)5.12 AA
品红color5#ec79ecrgb(236 121 236)hsl(300 75% 70%)oklch(74.6% 0.197 327.3)6.58 AA
青color6#79ececrgb(121 236 236)hsl(180 75% 70%)oklch(87.6% 0.105 195.4)11.61 AAA
白color7#eef4f6rgb(238 244 246)hsl(195 31% 95%)oklch(96.3% 0.007 219.6)14.61 AAA
亮黑color8#56447argb(86 68 122)hsl(260 28% 37%)oklch(43.0% 0.089 297.9)1.93 低于 AA
亮红color9#ef8f8frgb(239 143 143)hsl(0 75% 75%)oklch(75.1% 0.117 20.2)6.95 AA
亮绿color10#9fefbfrgb(159 239 191)hsl(144 71% 78%)oklch(88.8% 0.103 157.2)12.03 AAA
亮黄color11#efe78frgb(239 231 143)hsl(55 75% 75%)oklch(91.5% 0.110 103.8)12.75 AAA
亮蓝color12#b78fefrgb(183 143 239)hsl(265 75% 75%)oklch(72.5% 0.141 302.2)6.33 AA
亮品红color13#ef8fcfrgb(239 143 207)hsl(320 75% 75%)oklch(77.0% 0.139 340.6)7.34 AAA
亮青color14#9fefefrgb(159 239 239)hsl(180 71% 78%)oklch(90.1% 0.078 195.9)12.41 AAA
亮白color15#f8fafcrgb(248 250 252)hsl(210 40% 98%)oklch(98.4% 0.003 247.9)15.51 AAA

关于 Violite

Violite 采用冷色调的深色背景(#241c36),默认前景色为 #eef4f6。正文的 WCAG 对比度为 14.61:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.19:1,最低 5.12:1。

色板整体色彩饱和度适中,其中红色为 #ec7979、绿色为 #79ecb3、蓝色为 #a979ec、品红为 #ec79ec。

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

与 Violite 相似的配色

数据来源:iTerm2 Color Schemes (MIT)