跳到正文

Chalkboard

Chalkboard 是一套深色终端配色(冷色),背景色 #29262f,文字色 #d9e6f2,对比度 11.7:1

获取配置
背景色
#29262f
前景色
#d9e6f2
文字对比度
11.72:1AAA
强调色对比度
7.15:1最低 3.49
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
❯

Chalkboard 的配置文件

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

Chalkboard

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

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

palette = 0=#000000
palette = 1=#c37372
palette = 2=#72c373
palette = 3=#c2c372
palette = 4=#7372c3
palette = 5=#c372c2
palette = 6=#72c2c3
palette = 7=#d9d9d9
palette = 8=#323232
palette = 9=#dbaaaa
palette = 10=#aadbaa
palette = 11=#dadbaa
palette = 12=#aaaadb
palette = 13=#dbaada
palette = 14=#aadadb
palette = 15=#ffffff
background = #29262f
foreground = #d9e6f2
cursor-color = #d9e6f2
cursor-text = #29262f
selection-background = #073642
selection-foreground = #ffffff

Chalkboard 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#29262frgb(41 38 47)hsl(260 11% 17%)oklch(27.6% 0.017 300.5)—
前景色foreground#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)11.72 AAA
光标cursor#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)11.72 AAA
光标文字cursorText#29262frgb(41 38 47)hsl(260 11% 17%)oklch(27.6% 0.017 300.5)1.00 低于 AA
选区selection#073642rgb(7 54 66)hsl(192 81% 14%)oklch(30.9% 0.052 219.7)1.14 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.87 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.41 低于 AA
红color1#c37372rgb(195 115 114)hsl(1 40% 61%)oklch(64.3% 0.101 21.0)4.26 AA 大字号
绿color2#72c373rgb(114 195 115)hsl(121 40% 61%)oklch(74.5% 0.138 144.3)6.92 AA
黄color3#c2c372rgb(194 195 114)hsl(61 40% 61%)oklch(79.8% 0.104 109.2)8.03 AAA
蓝color4#7372c3rgb(115 114 195)hsl(241 40% 61%)oklch(58.9% 0.122 282.5)3.49 AA 大字号
品红color5#c372c2rgb(195 114 194)hsl(301 40% 61%)oklch(66.8% 0.145 327.5)4.61 AA
青color6#72c2c3rgb(114 194 195)hsl(181 40% 61%)oklch(76.3% 0.079 196.7)7.24 AAA
白color7#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)10.53 AAA
亮黑color8#323232rgb(50 50 50)hsl(0 0% 20%)oklch(31.7% 0.000 0)1.16 低于 AA
亮红color9#dbaaaargb(219 170 170)hsl(0 40% 76%)oklch(78.3% 0.058 18.5)7.32 AAA
亮绿color10#aadbaargb(170 219 170)hsl(120 40% 76%)oklch(84.4% 0.084 144.8)9.50 AAA
亮黄color11#dadbaargb(218 219 170)hsl(61 40% 76%)oklch(87.8% 0.064 108.6)10.40 AAA
亮蓝color12#aaaadbrgb(170 170 219)hsl(240 40% 76%)oklch(75.5% 0.070 284.6)6.71 AA
亮品红color13#dbaadargb(219 170 218)hsl(301 40% 76%)oklch(79.8% 0.086 327.0)7.63 AAA
亮青color14#aadadbrgb(170 218 219)hsl(181 40% 76%)oklch(85.5% 0.050 197.8)9.74 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.87 AAA

关于 Chalkboard

Chalkboard 采用冷色调的深色背景(#29262f),默认前景色为 #d9e6f2。正文的 WCAG 对比度为 11.72:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.15:1,最低 3.49:1。

色板整体色彩饱和度适中,其中红色为 #c37372、绿色为 #72c373、蓝色为 #7372c3、品红为 #c372c2。

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

与 Chalkboard 相似的配色

数据来源:iTerm2 Color Schemes (MIT)