跳到主要內容

Kanso Ink

Kanso Ink 是一套深色終端機配色(低彩度、冷色),背景色 #14171d,文字色 #c5c9c7,對比度 10.7:1

取得設定檔
背景色
#14171d
前景色
#c5c9c7
文字對比度
10.73:1AAA
強調色對比度
6.92:1最低 5.19
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
❯

Kanso Ink 的設定檔

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

Kanso Ink

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

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

palette = 0=#14171d
palette = 1=#c4746e
palette = 2=#8a9a7b
palette = 3=#c4b28a
palette = 4=#8ba4b0
palette = 5=#a292a3
palette = 6=#8ea4a2
palette = 7=#c8c093
palette = 8=#a4a7a4
palette = 9=#e46876
palette = 10=#87a987
palette = 11=#e6c384
palette = 12=#7fb4ca
palette = 13=#938aa9
palette = 14=#7aa89f
palette = 15=#c5c9c7
background = #14171d
foreground = #c5c9c7
cursor-color = #c5c9c7
cursor-text = #14171d
selection-background = #22262d
selection-foreground = #c5c9c7

Kanso Ink 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#14171drgb(20 23 29)hsl(220 18% 10%)oklch(20.4% 0.013 264.2)—
前景色foreground#c5c9c7rgb(197 201 199)hsl(150 4% 78%)oklch(83.2% 0.005 165.0)10.73 AAA
游標cursor#c5c9c7rgb(197 201 199)hsl(150 4% 78%)oklch(83.2% 0.005 165.0)10.73 AAA
游標文字cursorText#14171drgb(20 23 29)hsl(220 18% 10%)oklch(20.4% 0.013 264.2)1.00 低於 AA
選取範圍selection#22262drgb(34 38 45)hsl(218 14% 15%)oklch(26.8% 0.014 261.7)1.18 低於 AA
選取文字selectionText#c5c9c7rgb(197 201 199)hsl(150 4% 78%)oklch(83.2% 0.005 165.0)10.73 AAA
黑color0#14171drgb(20 23 29)hsl(220 18% 10%)oklch(20.4% 0.013 264.2)1.00 低於 AA
紅color1#c4746ergb(196 116 110)hsl(4 42% 60%)oklch(64.5% 0.102 24.9)5.19 AA
綠color2#8a9a7brgb(138 154 123)hsl(91 13% 54%)oklch(66.5% 0.048 129.9)5.97 AA
黃color3#c4b28argb(196 178 138)hsl(41 33% 65%)oklch(76.9% 0.058 86.6)8.62 AAA
藍color4#8ba4b0rgb(139 164 176)hsl(199 19% 62%)oklch(70.4% 0.033 228.4)6.87 AA
洋紅color5#a292a3rgb(162 146 163)hsl(296 8% 61%)oklch(67.9% 0.031 324.1)6.13 AA
青color6#8ea4a2rgb(142 164 162)hsl(175 11% 60%)oklch(70.1% 0.025 189.9)6.82 AA
白color7#c8c093rgb(200 192 147)hsl(51 33% 68%)oklch(80.3% 0.061 99.2)9.76 AAA
亮黑color8#a4a7a4rgb(164 167 164)hsl(120 2% 65%)oklch(72.5% 0.005 145.5)7.39 AAA
亮紅color9#e46876rgb(228 104 118)hsl(353 70% 65%)oklch(67.1% 0.154 15.3)5.59 AA
亮綠color10#87a987rgb(135 169 135)hsl(120 17% 60%)oklch(70.0% 0.062 144.9)6.88 AA
亮黃color11#e6c384rgb(230 195 132)hsl(39 66% 71%)oklch(83.3% 0.090 81.6)10.69 AAA
亮藍color12#7fb4cargb(127 180 202)hsl(198 41% 65%)oklch(74.1% 0.064 225.7)7.93 AAA
亮洋紅color13#938aa9rgb(147 138 169)hsl(257 15% 60%)oklch(65.2% 0.047 298.4)5.51 AA
亮青color14#7aa89frgb(122 168 159)hsl(168 21% 57%)oklch(69.6% 0.051 181.3)6.78 AA
亮白color15#c5c9c7rgb(197 201 199)hsl(150 4% 78%)oklch(83.2% 0.005 165.0)10.73 AAA

關於 Kanso Ink

Kanso Ink 採用冷色調的深色背景(#14171d),預設前景色為 #c5c9c7。內文的 WCAG 對比度為 10.73:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.92:1,最低 5.19:1。

色票整體色彩彩度偏低,其中紅色為 #c4746e、綠色為 #8a9a7b、藍色為 #8ba4b0、洋紅為 #a292a3。

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

與 Kanso Ink 相似的配色

資料來源:iTerm2 Color Schemes (MIT)