跳到主要內容

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/zh-tw/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)