跳到主要內容

Kanagawabones

Kanagawabones 是一套深色終端機配色(冷色),背景色 #1f1f28,文字色 #ddd8bb,對比度 11.4:1

取得設定檔
背景色
#1f1f28
前景色
#ddd8bb
文字對比度
11.37:1AAA
強調色對比度
7.42:1最低 4.67
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
❯

Kanagawabones 的設定檔

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

Kanagawabones

存到 ~/.config/ghostty/themes/Kanagawabones,再在 config 或 config.ghostty 裏寫 theme = Kanagawabones

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

palette = 0=#1f1f28
palette = 1=#e46a78
palette = 2=#98bc6d
palette = 3=#e5c283
palette = 4=#7eb3c9
palette = 5=#957fb8
palette = 6=#7eb3c9
palette = 7=#ddd8bb
palette = 8=#3c3c51
palette = 9=#ec818c
palette = 10=#9ec967
palette = 11=#f1c982
palette = 12=#7bc2df
palette = 13=#a98fd2
palette = 14=#7bc2df
palette = 15=#a8a48d
background = #1f1f28
foreground = #ddd8bb
cursor-color = #e6e0c2
cursor-text = #1f1f28
selection-background = #49473e
selection-foreground = #ddd8bb

Kanagawabones 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1f1f28rgb(31 31 40)hsl(240 13% 14%)oklch(24.3% 0.017 285.1)—
前景色foreground#ddd8bbrgb(221 216 187)hsl(51 33% 80%)oklch(87.9% 0.039 99.1)11.37 AAA
光標cursor#e6e0c2rgb(230 224 194)hsl(50 42% 83%)oklch(90.4% 0.040 97.8)12.30 AAA
光標文字cursorText#1f1f28rgb(31 31 40)hsl(240 13% 14%)oklch(24.3% 0.017 285.1)1.00 低於 AA
選取範圍selection#49473ergb(73 71 62)hsl(49 8% 26%)oklch(39.7% 0.015 96.7)1.75 低於 AA
選取文字selectionText#ddd8bbrgb(221 216 187)hsl(51 33% 80%)oklch(87.9% 0.039 99.1)11.37 AAA
黑color0#1f1f28rgb(31 31 40)hsl(240 13% 14%)oklch(24.3% 0.017 285.1)1.00 低於 AA
紅color1#e46a78rgb(228 106 120)hsl(353 69% 65%)oklch(67.4% 0.152 15.0)5.16 AA
綠color2#98bc6drgb(152 188 109)hsl(87 37% 58%)oklch(75.0% 0.113 128.8)7.59 AAA
黃color3#e5c283rgb(229 194 131)hsl(39 65% 71%)oklch(83.0% 0.090 81.6)9.63 AAA
藍color4#7eb3c9rgb(126 179 201)hsl(198 41% 64%)oklch(73.8% 0.064 225.7)7.14 AAA
洋紅color5#957fb8rgb(149 127 184)hsl(263 29% 61%)oklch(63.8% 0.087 301.7)4.67 AA
青color6#7eb3c9rgb(126 179 201)hsl(198 41% 64%)oklch(73.8% 0.064 225.7)7.14 AAA
白color7#ddd8bbrgb(221 216 187)hsl(51 33% 80%)oklch(87.9% 0.039 99.1)11.37 AAA
亮黑color8#3c3c51rgb(60 60 81)hsl(240 15% 28%)oklch(36.5% 0.036 284.5)1.52 低於 AA
亮紅color9#ec818crgb(236 129 140)hsl(354 74% 72%)oklch(72.4% 0.131 14.4)6.29 AA
亮綠color10#9ec967rgb(158 201 103)hsl(86 48% 60%)oklch(78.3% 0.135 128.6)8.56 AAA
亮黃color11#f1c982rgb(241 201 130)hsl(38 80% 73%)oklch(85.5% 0.100 81.1)10.44 AAA
亮藍color12#7bc2dfrgb(123 194 223)hsl(197 61% 68%)oklch(77.8% 0.082 225.9)8.27 AAA
亮洋紅color13#a98fd2rgb(169 143 210)hsl(263 43% 69%)oklch(69.8% 0.100 301.7)5.87 AA
亮青color14#7bc2dfrgb(123 194 223)hsl(197 61% 68%)oklch(77.8% 0.082 225.9)8.27 AAA
亮白color15#a8a48drgb(168 164 141)hsl(51 13% 61%)oklch(71.6% 0.033 99.0)6.51 AA

關於 Kanagawabones

Kanagawabones 採用冷色調的深色背景(#1f1f28),預設前景色為 #ddd8bb。正文的 WCAG 對比度為 11.37:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.42:1,最低 4.67:1。

色板整體色彩飽和度適中,其中紅色為 #e46a78、綠色為 #98bc6d、藍色為 #7eb3c9、洋紅為 #957fb8。該配色歸屬 Kanagawa 主題系列。

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

與 Kanagawabones 相似的配色

資料來源:iTerm2 Color Schemes (MIT)