跳到正文

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