跳到主要內容

Karasu Night

Karasu Night 是一套深色終端機配色(純黑、高對比),背景色 #0a0a0a,文字色 #e7e5e4,對比度 15.8:1

取得設定檔
背景色
#0a0a0a
前景色
#e7e5e4
文字對比度
15.77:1AAA
強調色對比度
9.38:1最低 6.20
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
❯

Karasu Night 的設定檔

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

Karasu Night

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

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

palette = 0=#0a0a0a
palette = 1=#e06c75
palette = 2=#8fbf7a
palette = 3=#d4b86a
palette = 4=#7aa2c8
palette = 5=#b4a1d8
palette = 6=#76b7b2
palette = 7=#f5f5f5
palette = 8=#44403c
palette = 9=#ff5c5c
palette = 10=#a6d189
palette = 11=#e8d07d
palette = 12=#8cb4e2
palette = 13=#c7b3ee
palette = 14=#8ad4ce
palette = 15=#e7e5e4
background = #0a0a0a
foreground = #e7e5e4
cursor-color = #f5f5f5
cursor-text = #0a0a0a
selection-background = #262626
selection-foreground = #e7e5e4

Karasu Night 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0a0a0argb(10 10 10)hsl(0 0% 4%)oklch(14.5% 0.000 0)—
前景色foreground#e7e5e4rgb(231 229 228)hsl(20 6% 90%)oklch(92.3% 0.003 48.7)15.77 AAA
游標cursor#f5f5f5rgb(245 245 245)hsl(0 0% 96%)oklch(97.0% 0.000 0)18.16 AAA
游標文字cursorText#0a0a0argb(10 10 10)hsl(0 0% 4%)oklch(14.5% 0.000 0)1.00 低於 AA
選取範圍selection#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.31 低於 AA
選取文字selectionText#e7e5e4rgb(231 229 228)hsl(20 6% 90%)oklch(92.3% 0.003 48.7)15.77 AAA
黑color0#0a0a0argb(10 10 10)hsl(0 0% 4%)oklch(14.5% 0.000 0)1.00 低於 AA
紅color1#e06c75rgb(224 108 117)hsl(355 65% 65%)oklch(67.1% 0.145 17.0)6.20 AA
綠color2#8fbf7argb(143 191 122)hsl(102 35% 61%)oklch(75.3% 0.108 136.5)9.33 AAA
黃color3#d4b86argb(212 184 106)hsl(44 55% 62%)oklch(79.0% 0.103 90.2)10.24 AAA
藍color4#7aa2c8rgb(122 162 200)hsl(209 41% 63%)oklch(69.7% 0.071 247.6)7.38 AAA
洋紅color5#b4a1d8rgb(180 161 216)hsl(261 41% 74%)oklch(74.5% 0.080 300.3)8.51 AAA
青color6#76b7b2rgb(118 183 178)hsl(175 31% 59%)oklch(73.4% 0.067 189.6)8.66 AAA
白color7#f5f5f5rgb(245 245 245)hsl(0 0% 96%)oklch(97.0% 0.000 0)18.16 AAA
亮黑color8#44403crgb(68 64 60)hsl(30 6% 25%)oklch(37.4% 0.009 67.6)1.93 低於 AA
亮紅color9#ff5c5crgb(255 92 92)hsl(0 100% 68%)oklch(69.1% 0.199 23.9)6.54 AA
亮綠color10#a6d189rgb(166 209 137)hsl(96 44% 68%)oklch(81.2% 0.107 133.4)11.41 AAA
亮黃color11#e8d07drgb(232 208 125)hsl(47 70% 70%)oklch(86.0% 0.107 93.8)12.96 AAA
亮藍color12#8cb4e2rgb(140 180 226)hsl(212 60% 72%)oklch(75.8% 0.079 252.3)9.18 AAA
亮洋紅color13#c7b3eergb(199 179 238)hsl(260 63% 82%)oklch(80.4% 0.085 300.0)10.48 AAA
亮青color14#8ad4cergb(138 212 206)hsl(175 46% 69%)oklch(82.0% 0.074 189.3)11.68 AAA
亮白color15#e7e5e4rgb(231 229 228)hsl(20 6% 90%)oklch(92.3% 0.003 48.7)15.77 AAA

關於 Karasu Night

Karasu Night 採用中性色調的深色背景(#0a0a0a),預設前景色為 #e7e5e4。內文的 WCAG 對比度為 15.77:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.38:1,最低 6.20:1。

色票整體色彩彩度適中,其中紅色為 #e06c75、綠色為 #8fbf7a、藍色為 #7aa2c8、洋紅為 #b4a1d8。

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

與 Karasu Night 相似的配色

資料來源:iTerm2 Color Schemes (MIT)