跳到主要內容

Chester

Chester 是一套深色終端機配色(冷色),背景色 #2c3643,文字色 #ffffff,對比度 12.2:1

取得設定檔
背景色
#2c3643
前景色
#ffffff
文字對比度
12.24:1AAA
強調色對比度
5.39:1最低 2.93
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
❯

Chester 的設定檔

16 種格式,都從同一份色票產生

Chester

存到 ~/.config/ghostty/themes/Chester,再在 config 或 config.ghostty 裡寫 theme = Chester

更多 Ghostty 配色
原始檔
# Theme: Chester (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/chester?format=ghostty

palette = 0=#080200
palette = 1=#fa5e5b
palette = 2=#16c98d
palette = 3=#ffc83f
palette = 4=#288ad6
palette = 5=#d34590
palette = 6=#28ddde
palette = 7=#e7e7e7
palette = 8=#6f6b68
palette = 9=#fa5e5b
palette = 10=#16c98d
palette = 11=#feef6d
palette = 12=#278ad6
palette = 13=#d34590
palette = 14=#27dede
palette = 15=#ffffff
background = #2c3643
foreground = #ffffff
cursor-color = #b4b1b1
cursor-text = #000000
selection-background = #67747c
selection-foreground = #ffffff

Chester 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2c3643rgb(44 54 67)hsl(214 21% 22%)oklch(32.9% 0.027 255.1)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)12.24 AAA
游標cursor#b4b1b1rgb(180 177 177)hsl(0 2% 70%)oklch(76.3% 0.003 17.2)5.75 AA
游標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.72 低於 AA
選取範圍selection#67747crgb(103 116 124)hsl(203 9% 45%)oklch(55.1% 0.020 234.8)2.54 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)12.24 AAA
黑color0#080200rgb(8 2 0)hsl(15 100% 2%)oklch(10.0% 0.024 56.9)1.68 低於 AA
紅color1#fa5e5brgb(250 94 91)hsl(1 94% 67%)oklch(68.5% 0.192 24.7)3.97 AA 大字級
綠color2#16c98drgb(22 201 141)hsl(160 80% 44%)oklch(74.1% 0.158 162.6)5.70 AA
黃color3#ffc83frgb(255 200 63)hsl(43 100% 62%)oklch(86.0% 0.157 85.6)7.92 AAA
藍color4#288ad6rgb(40 138 214)hsl(206 69% 50%)oklch(61.5% 0.144 247.1)3.32 AA 大字級
洋紅color5#d34590rgb(211 69 144)hsl(328 62% 55%)oklch(61.1% 0.191 351.7)2.93 低於 AA
青color6#28dddergb(40 221 222)hsl(180 73% 51%)oklch(81.6% 0.133 195.5)7.28 AAA
白color7#e7e7e7rgb(231 231 231)hsl(0 0% 91%)oklch(92.8% 0.000 0)9.90 AAA
亮黑color8#6f6b68rgb(111 107 104)hsl(26 3% 42%)oklch(53.0% 0.007 59.6)2.32 低於 AA
亮紅color9#fa5e5brgb(250 94 91)hsl(1 94% 67%)oklch(68.5% 0.192 24.7)3.97 AA 大字級
亮綠color10#16c98drgb(22 201 141)hsl(160 80% 44%)oklch(74.1% 0.158 162.6)5.70 AA
亮黃color11#feef6drgb(254 239 109)hsl(54 99% 71%)oklch(94.0% 0.150 102.8)10.36 AAA
亮藍color12#278ad6rgb(39 138 214)hsl(206 69% 50%)oklch(61.5% 0.145 246.9)3.32 AA 大字級
亮洋紅color13#d34590rgb(211 69 144)hsl(328 62% 55%)oklch(61.1% 0.191 351.7)2.93 低於 AA
亮青color14#27dedergb(39 222 222)hsl(180 73% 51%)oklch(81.8% 0.134 194.9)7.34 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)12.24 AAA

關於 Chester

Chester 採用冷色調的深色背景(#2c3643),預設前景色為 #ffffff。內文的 WCAG 對比度為 12.24:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.39:1,最低 2.93:1。

色票整體色彩彩度適中,其中紅色為 #fa5e5b、綠色為 #16c98d、藍色為 #288ad6、洋紅為 #d34590。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 Chester 相似的配色

資料來源:iTerm2 Color Schemes (MIT)