跳到正文

Apprentice

Apprentice 是一套深色终端配色(低饱和),背景色 #262626,文字色 #bcbcbc,对比度 8.0:1

获取配置
背景色
#262626
前景色
#bcbcbc
文字对比度
7.97:1AAA
强调色对比度
5.45:1最低 2.50
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
❯

Apprentice 的配置文件

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

Apprentice

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

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

palette = 0=#1c1c1c
palette = 1=#af5f5f
palette = 2=#5f875f
palette = 3=#87875f
palette = 4=#5f87af
palette = 5=#5f5f87
palette = 6=#5f8787
palette = 7=#6c6c6c
palette = 8=#444444
palette = 9=#ff8700
palette = 10=#87af87
palette = 11=#ffffaf
palette = 12=#8fafd7
palette = 13=#8787af
palette = 14=#5fafaf
palette = 15=#ffffff
background = #262626
foreground = #bcbcbc
cursor-color = #bcbcbc
cursor-text = #262626
selection-background = #484848
selection-foreground = #bcbcbc

Apprentice 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)—
前景色foreground#bcbcbcrgb(188 188 188)hsl(0 0% 74%)oklch(79.5% 0.000 0)7.97 AAA
光标cursor#bcbcbcrgb(188 188 188)hsl(0 0% 74%)oklch(79.5% 0.000 0)7.97 AAA
光标文字cursorText#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.00 低于 AA
选区selection#484848rgb(72 72 72)hsl(0 0% 28%)oklch(40.2% 0.000 0)1.65 低于 AA
选区文字selectionText#bcbcbcrgb(188 188 188)hsl(0 0% 74%)oklch(79.5% 0.000 0)7.97 AAA
黑color0#1c1c1crgb(28 28 28)hsl(0 0% 11%)oklch(22.6% 0.000 0)1.13 低于 AA
红color1#af5f5frgb(175 95 95)hsl(0 33% 53%)oklch(57.8% 0.104 20.8)3.33 AA 大字号
绿color2#5f875frgb(95 135 95)hsl(120 17% 45%)oklch(58.3% 0.075 144.5)3.69 AA 大字号
黄color3#87875frgb(135 135 95)hsl(60 17% 45%)oklch(61.3% 0.057 108.0)4.08 AA 大字号
蓝color4#5f87afrgb(95 135 175)hsl(210 33% 53%)oklch(61.0% 0.076 249.2)4.01 AA 大字号
品红color5#5f5f87rgb(95 95 135)hsl(240 17% 45%)oklch(50.2% 0.063 283.9)2.50 低于 AA
青color6#5f8787rgb(95 135 135)hsl(180 17% 45%)oklch(59.4% 0.044 196.0)3.82 AA 大字号
白color7#6c6c6crgb(108 108 108)hsl(0 0% 42%)oklch(53.1% 0.000 0)2.88 低于 AA
亮黑color8#444444rgb(68 68 68)hsl(0 0% 27%)oklch(38.7% 0.000 0)1.55 低于 AA
亮红color9#ff8700rgb(255 135 0)hsl(32 100% 50%)oklch(74.3% 0.182 56.0)6.28 AA
亮绿color10#87af87rgb(135 175 135)hsl(120 20% 61%)oklch(71.4% 0.072 144.8)6.13 AA
亮黄color11#ffffafrgb(255 255 175)hsl(60 100% 84%)oklch(98.2% 0.100 108.1)14.54 AAA
亮蓝color12#8fafd7rgb(143 175 215)hsl(213 47% 70%)oklch(74.5% 0.068 254.2)6.69 AA
亮品红color13#8787afrgb(135 135 175)hsl(240 20% 61%)oklch(63.8% 0.060 284.6)4.41 AA 大字号
亮青color14#5fafafrgb(95 175 175)hsl(180 33% 53%)oklch(70.3% 0.079 195.5)5.94 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.13 AAA

关于 Apprentice

Apprentice 采用中性色调的深色背景(#262626),默认前景色为 #bcbcbc。正文的 WCAG 对比度为 7.97:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.45:1,最低 2.50:1。

色板整体色彩饱和度偏低,其中红色为 #af5f5f、绿色为 #5f875f、蓝色为 #5f87af、品红为 #5f5f87。

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

与 Apprentice 相似的配色

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