跳到主要內容

Keen

Keen 是一套深色終端機配色,背景色 #111111,文字色 #cccccc,對比度 11.8:1

取得設定檔
背景色
#111111
前景色
#cccccc
文字對比度
11.76:1AAA
強調色對比度
7.67:1最低 2.87
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
❯

Keen 的設定檔

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

Keen

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

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

palette = 0=#1e1e1e
palette = 1=#ba0e2e
palette = 2=#6f8b94
palette = 3=#8767b7
palette = 4=#b5db99
palette = 5=#6f8b94
palette = 6=#8767b7
palette = 7=#d9d9d9
palette = 8=#373737
palette = 9=#e61f44
palette = 10=#aababf
palette = 11=#beacd8
palette = 12=#ecf6e4
palette = 13=#aababf
palette = 14=#beacd8
palette = 15=#f2f2f2
background = #111111
foreground = #cccccc
cursor-color = #f8f8f0
cursor-text = #cccccc
selection-background = #8767b7
selection-foreground = #ffffff

Keen 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#111111rgb(17 17 17)hsl(0 0% 7%)oklch(17.8% 0.000 0)—
前景色foreground#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)11.76 AAA
游標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)17.69 AAA
游標文字cursorText#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)11.76 AAA
選取範圍selection#8767b7rgb(135 103 183)hsl(264 36% 56%)oklch(57.9% 0.123 301.1)4.18 AA 大字級
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.88 AAA
黑color0#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)1.13 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.87 低於 AA
綠color2#6f8b94rgb(111 139 148)hsl(195 15% 51%)oklch(61.8% 0.035 219.4)5.21 AA
黃color3#8767b7rgb(135 103 183)hsl(264 36% 56%)oklch(57.9% 0.123 301.1)4.18 AA 大字級
藍color4#b5db99rgb(181 219 153)hsl(95 48% 73%)oklch(84.8% 0.097 132.5)12.19 AAA
洋紅color5#6f8b94rgb(111 139 148)hsl(195 15% 51%)oklch(61.8% 0.035 219.4)5.21 AA
青color6#8767b7rgb(135 103 183)hsl(264 36% 56%)oklch(57.9% 0.123 301.1)4.18 AA 大字級
白color7#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)13.38 AAA
亮黑color8#373737rgb(55 55 55)hsl(0 0% 22%)oklch(33.7% 0.000 0)1.59 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.18 AA 大字級
亮綠color10#aababfrgb(170 186 191)hsl(194 14% 71%)oklch(77.8% 0.019 218.4)9.43 AAA
亮黃color11#beacd8rgb(190 172 216)hsl(265 36% 76%)oklch(77.4% 0.065 303.5)9.07 AAA
亮藍color12#ecf6e4rgb(236 246 228)hsl(93 50% 93%)oklch(96.1% 0.026 130.9)16.97 AAA
亮洋紅color13#aababfrgb(170 186 191)hsl(194 14% 71%)oklch(77.8% 0.019 218.4)9.43 AAA
亮青color14#beacd8rgb(190 172 216)hsl(265 36% 76%)oklch(77.4% 0.065 303.5)9.07 AAA
亮白color15#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)16.87 AAA

關於 Keen

Keen 採用中性色調的深色背景(#111111),預設前景色為 #cccccc。內文的 WCAG 對比度為 11.76:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.67:1,最低 2.87:1。

色票整體色彩彩度適中,其中紅色為 #ba0e2e、綠色為 #6f8b94、藍色為 #b5db99、洋紅為 #6f8b94。

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

與 Keen 相似的配色

資料來源:Rainglow (MIT)