跳到正文

Urple

Urple 是一套深色终端配色(柔和、冷色),背景色 #1b1b23,文字色 #877a9b,对比度 4.3:1

获取配置
背景色
#1b1b23
前景色
#877a9b
文字对比度
4.31:1AA 大字号
强调色对比度
5.59:1最低 2.28
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
❯

Urple 的配置文件

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

Urple

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

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

palette = 0=#000000
palette = 1=#b0425b
palette = 2=#37a415
palette = 3=#ad5c42
palette = 4=#564d9b
palette = 5=#6c3ca1
palette = 6=#808080
palette = 7=#87799c
palette = 8=#5d3225
palette = 9=#ff6388
palette = 10=#29e620
palette = 11=#f08161
palette = 12=#867aed
palette = 13=#a05eee
palette = 14=#eaeaea
palette = 15=#bfa3ff
background = #1b1b23
foreground = #877a9b
cursor-color = #a063eb
cursor-text = #1b1b22
selection-background = #a063eb
selection-foreground = #1b1b22

Urple 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1b1b23rgb(27 27 35)hsl(240 13% 12%)oklch(22.6% 0.015 285.1)—
前景色foreground#877a9brgb(135 122 155)hsl(264 14% 54%)oklch(60.3% 0.051 302.8)4.31 AA 大字号
光标cursor#a063ebrgb(160 99 235)hsl(267 77% 65%)oklch(62.9% 0.199 301.6)4.46 AA 大字号
光标文字cursorText#1b1b22rgb(27 27 34)hsl(240 11% 12%)oklch(22.5% 0.014 285.3)1.00 低于 AA
选区selection#a063ebrgb(160 99 235)hsl(267 77% 65%)oklch(62.9% 0.199 301.6)4.46 AA 大字号
选区文字selectionText#1b1b22rgb(27 27 34)hsl(240 11% 12%)oklch(22.5% 0.014 285.3)1.00 低于 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.23 低于 AA
红color1#b0425brgb(176 66 91)hsl(346 45% 47%)oklch(53.6% 0.144 9.5)3.08 AA 大字号
绿color2#37a415rgb(55 164 21)hsl(106 77% 36%)oklch(63.2% 0.196 140.1)5.28 AA
黄color3#ad5c42rgb(173 92 66)hsl(15 45% 47%)oklch(56.5% 0.113 38.5)3.57 AA 大字号
蓝color4#564d9brgb(86 77 155)hsl(247 34% 45%)oklch(46.8% 0.123 285.9)2.39 低于 AA
品红color5#6c3ca1rgb(108 60 161)hsl(269 46% 43%)oklch(46.6% 0.158 302.6)2.28 低于 AA
青color6#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)4.33 AA 大字号
白color7#87799crgb(135 121 156)hsl(264 15% 54%)oklch(60.1% 0.055 303.0)4.27 AA 大字号
亮黑color8#5d3225rgb(93 50 37)hsl(14 43% 25%)oklch(36.9% 0.066 37.6)1.59 低于 AA
亮红color9#ff6388rgb(255 99 136)hsl(346 100% 69%)oklch(70.8% 0.191 8.9)6.02 AA
亮绿color10#29e620rgb(41 230 32)hsl(117 80% 51%)oklch(80.5% 0.263 142.3)10.13 AAA
亮黄color11#f08161rgb(240 129 97)hsl(13 83% 66%)oklch(72.0% 0.144 36.9)6.53 AA
亮蓝color12#867aedrgb(134 122 237)hsl(246 76% 70%)oklch(64.4% 0.167 285.4)4.90 AA
亮品红color13#a05eeergb(160 94 238)hsl(268 81% 65%)oklch(62.4% 0.209 301.7)4.34 AA 大字号
亮青color14#eaeaeargb(234 234 234)hsl(0 0% 92%)oklch(93.7% 0.000 0)14.22 AAA
亮白color15#bfa3ffrgb(191 163 255)hsl(258 100% 82%)oklch(77.5% 0.131 297.2)8.06 AAA

关于 Urple

Urple 采用冷色调的深色背景(#1b1b23),默认前景色为 #877a9b。正文的 WCAG 对比度为 4.31:1(AA 大字号),12 种 ANSI 彩色槽位平均对比度 5.59:1,最低 2.28:1。

色板整体色彩饱和度适中,其中红色为 #b0425b、绿色为 #37a415、蓝色为 #564d9b、品红为 #6c3ca1。

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

与 Urple 相似的配色

数据来源:iTerm2 Color Schemes (MIT)