跳到正文

Kanagawa Lotus

Kanagawa Lotus 是一套浅色终端配色(柔和、暖色),背景色 #f2ecbc,文字色 #545464,对比度 6.2:1

获取配置
背景色
#f2ecbc
前景色
#545464
文字对比度
6.19:1AA
强调色对比度
3.87:1最低 2.70
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
❯

Kanagawa Lotus 的配置文件

16 种格式,都从同一份色板生成

Kanagawa Lotus

存到 ~/.config/ghostty/themes/Kanagawa Lotus,再在 config 或 config.ghostty 里写 theme = Kanagawa Lotus

更多 Ghostty 配色
原始文件
# Theme: Kanagawa Lotus (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/kanagawa-lotus?format=ghostty

palette = 0=#1f1f28
palette = 1=#c84053
palette = 2=#6f894e
palette = 3=#77713f
palette = 4=#4d699b
palette = 5=#b35b79
palette = 6=#597b75
palette = 7=#545464
palette = 8=#8a8980
palette = 9=#d7474b
palette = 10=#6e915f
palette = 11=#836f4a
palette = 12=#6693bf
palette = 13=#624c83
palette = 14=#5e857a
palette = 15=#43436c
background = #f2ecbc
foreground = #545464
cursor-color = #43436c
cursor-text = #f2ecbc
selection-background = #545464
selection-foreground = #f2ecbc

Kanagawa Lotus 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f2ecbcrgb(242 236 188)hsl(53 67% 84%)oklch(93.6% 0.063 101.6)—
前景色foreground#545464rgb(84 84 100)hsl(240 9% 36%)oklch(45.2% 0.026 285.3)6.19 AA
光标cursor#43436crgb(67 67 108)hsl(240 23% 34%)oklch(40.2% 0.068 282.9)7.75 AAA
光标文字cursorText#f2ecbcrgb(242 236 188)hsl(53 67% 84%)oklch(93.6% 0.063 101.6)1.00 低于 AA
选区selection#545464rgb(84 84 100)hsl(240 9% 36%)oklch(45.2% 0.026 285.3)6.19 AA
选区文字selectionText#f2ecbcrgb(242 236 188)hsl(53 67% 84%)oklch(93.6% 0.063 101.6)1.00 低于 AA
黑color0#1f1f28rgb(31 31 40)hsl(240 13% 14%)oklch(24.3% 0.017 285.1)13.62 AAA
红color1#c84053rgb(200 64 83)hsl(352 55% 52%)oklch(57.1% 0.171 16.5)4.06 AA 大字号
绿color2#6f894ergb(111 137 78)hsl(86 27% 42%)oklch(59.5% 0.089 128.3)3.26 AA 大字号
黄color3#77713frgb(119 113 63)hsl(54 31% 36%)oklch(54.2% 0.070 102.4)4.15 AA 大字号
蓝color4#4d699brgb(77 105 155)hsl(218 34% 45%)oklch(52.1% 0.086 261.5)4.59 AA
品红color5#b35b79rgb(179 91 121)hsl(340 37% 53%)oklch(58.5% 0.118 359.8)3.73 AA 大字号
青color6#597b75rgb(89 123 117)hsl(169 16% 42%)oklch(55.5% 0.040 182.7)3.88 AA 大字号
白color7#545464rgb(84 84 100)hsl(240 9% 36%)oklch(45.2% 0.026 285.3)6.19 AA
亮黑color8#8a8980rgb(138 137 128)hsl(54 4% 52%)oklch(62.8% 0.013 101.6)2.93 低于 AA
亮红color9#d7474brgb(215 71 75)hsl(358 64% 56%)oklch(60.1% 0.180 22.9)3.58 AA 大字号
亮绿color10#6e915frgb(110 145 95)hsl(102 21% 47%)oklch(61.7% 0.083 136.6)2.98 低于 AA
亮黄color11#836f4argb(131 111 74)hsl(39 28% 40%)oklch(55.1% 0.058 82.3)4.03 AA 大字号
亮蓝color12#6693bfrgb(102 147 191)hsl(210 41% 57%)oklch(64.8% 0.082 248.7)2.70 低于 AA
亮品红color13#624c83rgb(98 76 131)hsl(264 27% 41%)oklch(46.3% 0.090 301.4)6.07 AA
亮青color14#5e857argb(94 133 122)hsl(163 17% 45%)oklch(58.4% 0.047 175.2)3.42 AA 大字号
亮白color15#43436crgb(67 67 108)hsl(240 23% 34%)oklch(40.2% 0.068 282.9)7.75 AAA

关于 Kanagawa Lotus

Kanagawa Lotus 采用暖色调的浅色背景(#f2ecbc),默认前景色为 #545464。正文的 WCAG 对比度为 6.19:1(AA),12 种 ANSI 彩色槽位平均对比度 3.87:1,最低 2.70:1。

色板整体色彩饱和度适中,其中红色为 #c84053、绿色为 #6f894e、蓝色为 #4d699b、品红为 #b35b79。该配色归属 Kanagawa 主题系列。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Kanagawa Lotus 相似的配色

数据来源:iTerm2 Color Schemes (MIT)