跳到正文

Chalkby

Chalkby 是一套深色终端配色(粉彩、冷色),背景色 #1f2d2d,文字色 #ffffff,对比度 14.3:1

获取配置
背景色
#1f2d2d
前景色
#ffffff
文字对比度
14.27:1AAA
强调色对比度
9.23:1最低 5.08
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
❯

Chalkby 的配置文件

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

Chalkby

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

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

palette = 0=#2e3436
palette = 1=#ffb0b0
palette = 2=#c8ff9b
palette = 3=#fffca4
palette = 4=#6f9ceb
palette = 5=#9395d3
palette = 6=#bdeaff
palette = 7=#d3d7cf
palette = 8=#555753
palette = 9=#ffb0b0
palette = 10=#c8ff9b
palette = 11=#fffca4
palette = 12=#6f9ceb
palette = 13=#9395d3
palette = 14=#bdeaff
palette = 15=#eeeeec
background = #1f2d2d
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #1f2d2d
selection-background = #505c5b
selection-foreground = #ffffff

Chalkby 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1f2d2drgb(31 45 45)hsl(180 18% 15%)oklch(28.5% 0.019 196.1)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.27 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.27 AAA
光标文字cursorText#1f2d2drgb(31 45 45)hsl(180 18% 15%)oklch(28.5% 0.019 196.1)1.00 低于 AA
选区selection#505c5brgb(80 92 91)hsl(175 7% 34%)oklch(46.4% 0.015 190.5)2.05 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.27 AAA
黑color0#2e3436rgb(46 52 54)hsl(195 8% 20%)oklch(32.0% 0.009 219.8)1.13 低于 AA
红color1#ffb0b0rgb(255 176 176)hsl(0 100% 85%)oklch(83.3% 0.093 19.2)8.22 AAA
绿color2#c8ff9brgb(200 255 155)hsl(93 100% 80%)oklch(94.0% 0.140 132.0)12.39 AAA
黄color3#fffca4rgb(255 252 164)hsl(58 100% 82%)oklch(97.4% 0.109 106.6)13.40 AAA
蓝color4#6f9cebrgb(111 156 235)hsl(218 76% 68%)oklch(69.4% 0.127 261.1)5.19 AA
品红color5#9395d3rgb(147 149 211)hsl(238 42% 70%)oklch(69.2% 0.091 282.3)5.08 AA
青color6#bdeaffrgb(189 234 255)hsl(199 100% 87%)oklch(91.2% 0.055 228.0)11.13 AAA
白color7#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)9.78 AAA
亮黑color8#555753rgb(85 87 83)hsl(90 2% 33%)oklch(45.4% 0.007 128.6)1.95 低于 AA
亮红color9#ffb0b0rgb(255 176 176)hsl(0 100% 85%)oklch(83.3% 0.093 19.2)8.22 AAA
亮绿color10#c8ff9brgb(200 255 155)hsl(93 100% 80%)oklch(94.0% 0.140 132.0)12.39 AAA
亮黄color11#fffca4rgb(255 252 164)hsl(58 100% 82%)oklch(97.4% 0.109 106.6)13.40 AAA
亮蓝color12#6f9cebrgb(111 156 235)hsl(218 76% 68%)oklch(69.4% 0.127 261.1)5.19 AA
亮品红color13#9395d3rgb(147 149 211)hsl(238 42% 70%)oklch(69.2% 0.091 282.3)5.08 AA
亮青color14#bdeaffrgb(189 234 255)hsl(199 100% 87%)oklch(91.2% 0.055 228.0)11.13 AAA
亮白color15#eeeeecrgb(238 238 236)hsl(60 6% 93%)oklch(94.9% 0.003 106.5)12.28 AAA

关于 Chalkby

Chalkby 采用冷色调的深色背景(#1f2d2d),默认前景色为 #ffffff。正文的 WCAG 对比度为 14.27:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.23:1,最低 5.08:1。

色板整体色彩饱和度适中,其中红色为 #ffb0b0、绿色为 #c8ff9b、蓝色为 #6f9ceb、品红为 #9395d3。

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

与 Chalkby 相似的配色

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