跳到主要內容

Klein Void

Klein Void 是一套深色終端機配色(高對比、冷色),背景色 #0b0d14,文字色 #ede6d3,對比度 15.6:1

取得設定檔
背景色
#0b0d14
前景色
#ede6d3
文字對比度
15.58:1AAA
強調色對比度
9.35:1最低 1.82
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
❯

Klein Void 的設定檔

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

Klein Void

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

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

palette = 0=#1a1c24
palette = 1=#f09890
palette = 2=#a6c080
palette = 3=#e8bc75
palette = 4=#002fa7
palette = 5=#d49bb5
palette = 6=#9fc0e5
palette = 7=#cdc7b8
palette = 8=#92907a
palette = 9=#d97757
palette = 10=#bcc89c
palette = 11=#f0c880
palette = 12=#a8bef0
palette = 13=#c8b4d4
palette = 14=#b0d0ed
palette = 15=#f5efde
background = #0b0d14
foreground = #ede6d3
cursor-color = #ede6d3
cursor-text = #0b0d14
selection-background = #002fa7
selection-foreground = #ede6d3

Klein Void 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0b0d14rgb(11 13 20)hsl(227 29% 6%)oklch(16.0% 0.015 272.2)—
前景色foreground#ede6d3rgb(237 230 211)hsl(44 42% 88%)oklch(92.5% 0.026 90.1)15.58 AAA
游標cursor#ede6d3rgb(237 230 211)hsl(44 42% 88%)oklch(92.5% 0.026 90.1)15.58 AAA
游標文字cursorText#0b0d14rgb(11 13 20)hsl(227 29% 6%)oklch(16.0% 0.015 272.2)1.00 低於 AA
選取範圍selection#002fa7rgb(0 47 167)hsl(223 100% 33%)oklch(37.9% 0.195 263.2)1.82 低於 AA
選取文字selectionText#ede6d3rgb(237 230 211)hsl(44 42% 88%)oklch(92.5% 0.026 90.1)15.58 AAA
黑color0#1a1c24rgb(26 28 36)hsl(228 16% 12%)oklch(22.8% 0.016 274.1)1.14 低於 AA
紅color1#f09890rgb(240 152 144)hsl(5 76% 75%)oklch(76.7% 0.107 25.5)8.87 AAA
綠color2#a6c080rgb(166 192 128)hsl(84 34% 63%)oklch(77.2% 0.091 126.4)9.68 AAA
黃color3#e8bc75rgb(232 188 117)hsl(37 71% 68%)oklch(81.9% 0.102 78.5)10.98 AAA
藍color4#002fa7rgb(0 47 167)hsl(223 100% 33%)oklch(37.9% 0.195 263.2)1.82 低於 AA
洋紅color5#d49bb5rgb(212 155 181)hsl(333 40% 72%)oklch(75.1% 0.076 350.1)8.46 AAA
青color6#9fc0e5rgb(159 192 229)hsl(212 57% 76%)oklch(79.6% 0.064 251.5)10.30 AAA
白color7#cdc7b8rgb(205 199 184)hsl(43 17% 76%)oklch(83.0% 0.022 88.7)11.51 AAA
亮黑color8#92907argb(146 144 122)hsl(55 10% 53%)oklch(64.9% 0.032 103.0)6.00 AA
亮紅color9#d97757rgb(217 119 87)hsl(15 63% 60%)oklch(67.2% 0.131 38.8)6.22 AA
亮綠color10#bcc89crgb(188 200 156)hsl(76 29% 70%)oklch(81.2% 0.061 120.2)10.98 AAA
亮黃color11#f0c880rgb(240 200 128)hsl(39 79% 72%)oklch(85.2% 0.101 81.4)12.27 AAA
亮藍color12#a8bef0rgb(168 190 240)hsl(222 71% 80%)oklch(80.2% 0.075 266.2)10.43 AAA
亮洋紅color13#c8b4d4rgb(200 180 212)hsl(278 27% 77%)oklch(79.7% 0.050 312.9)10.11 AAA
亮青color14#b0d0edrgb(176 208 237)hsl(209 63% 81%)oklch(84.4% 0.053 245.8)12.10 AAA
亮白color15#f5efdergb(245 239 222)hsl(44 53% 92%)oklch(95.2% 0.023 90.8)16.90 AAA

關於 Klein Void

Klein Void 採用冷色調的深色背景(#0b0d14),預設前景色為 #ede6d3。內文的 WCAG 對比度為 15.58:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.35:1,最低 1.82:1。

色票整體色彩彩度適中,其中紅色為 #f09890、綠色為 #a6c080、藍色為 #002fa7、洋紅為 #d49bb5。

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

與 Klein Void 相似的配色

資料來源:iTerm2 Color Schemes (MIT)