跳到主要內容

Black Cat

Black Cat 是一套深色終端機配色(高對比、粉彩),背景色 #180a2b,文字色 #f5edff,對比度 16.5:1

取得設定檔
背景色
#180a2b
前景色
#f5edff
文字對比度
16.51:1AAA
強調色對比度
10.23:1最低 7.50
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
❯

Black Cat 的設定檔

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

Black Cat

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

更多 Ghostty 配色
原始檔
# Theme: Black Cat (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/black-cat?format=ghostty

palette = 0=#a9a0b6
palette = 1=#ff8992
palette = 2=#9fda65
palette = 3=#edc85e
palette = 4=#8bbdf0
palette = 5=#c78bf0
palette = 6=#76d2d1
palette = 7=#f5edff
palette = 8=#b3abbf
palette = 9=#ff979f
palette = 10=#abde77
palette = 11=#efcf71
palette = 12=#99c5f2
palette = 13=#ce99f2
palette = 14=#86d7d7
palette = 15=#f6efff
background = #180a2b
foreground = #f5edff
cursor-color = #ff979f
cursor-text = #180a2b
selection-background = #b3abbf
selection-foreground = #f6efff

Black Cat 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#180a2brgb(24 10 43)hsl(265 62% 10%)oklch(18.7% 0.064 299.7)—
前景色foreground#f5edffrgb(245 237 255)hsl(267 100% 96%)oklch(95.8% 0.025 305.9)16.51 AAA
游標cursor#ff979frgb(255 151 159)hsl(355 100% 80%)oklch(78.7% 0.125 15.4)9.11 AAA
游標文字cursorText#180a2brgb(24 10 43)hsl(265 62% 10%)oklch(18.7% 0.064 299.7)1.00 低於 AA
選取範圍selection#b3abbfrgb(179 171 191)hsl(264 14% 71%)oklch(75.4% 0.030 303.8)8.50 AAA
選取文字selectionText#f6efffrgb(246 239 255)hsl(266 100% 97%)oklch(96.2% 0.022 305.6)16.75 AAA
黑color0#a9a0b6rgb(169 160 182)hsl(265 13% 67%)oklch(72.0% 0.033 304.1)7.51 AAA
紅color1#ff8992rgb(255 137 146)hsl(355 100% 77%)oklch(76.2% 0.143 16.2)8.28 AAA
綠color2#9fda65rgb(159 218 101)hsl(90 61% 63%)oklch(82.3% 0.161 131.3)11.36 AAA
黃color3#edc85ergb(237 200 94)hsl(44 80% 65%)oklch(84.5% 0.131 90.1)11.66 AAA
藍color4#8bbdf0rgb(139 189 240)hsl(210 77% 74%)oklch(78.2% 0.090 249.5)9.52 AAA
洋紅color5#c78bf0rgb(199 139 240)hsl(276 77% 74%)oklch(73.4% 0.154 310.4)7.50 AAA
青color6#76d2d1rgb(118 210 209)hsl(179 51% 64%)oklch(80.7% 0.088 194.6)10.66 AAA
白color7#f5edffrgb(245 237 255)hsl(267 100% 96%)oklch(95.8% 0.025 305.9)16.51 AAA
亮黑color8#b3abbfrgb(179 171 191)hsl(264 14% 71%)oklch(75.4% 0.030 303.8)8.50 AAA
亮紅color9#ff979frgb(255 151 159)hsl(355 100% 80%)oklch(78.7% 0.125 15.4)9.11 AAA
亮綠color10#abde77rgb(171 222 119)hsl(90 61% 67%)oklch(84.2% 0.143 130.5)12.04 AAA
亮黃color11#efcf71rgb(239 207 113)hsl(45 80% 69%)oklch(86.3% 0.119 91.0)12.38 AAA
亮藍color12#99c5f2rgb(153 197 242)hsl(210 77% 77%)oklch(80.8% 0.079 249.4)10.40 AAA
亮洋紅color13#ce99f2rgb(206 153 242)hsl(276 77% 77%)oklch(76.5% 0.135 310.8)8.47 AAA
亮青color14#86d7d7rgb(134 215 215)hsl(180 50% 68%)oklch(82.7% 0.079 195.7)11.38 AAA
亮白color15#f6efffrgb(246 239 255)hsl(266 100% 97%)oklch(96.2% 0.022 305.6)16.75 AAA

關於 Black Cat

Black Cat 採用冷色調的深色背景(#180a2b),預設前景色為 #f5edff。內文的 WCAG 對比度為 16.51:1(AAA),12 種 ANSI 彩色槽位平均對比度 10.23:1,最低 7.50:1。

色票整體色彩彩度適中,其中紅色為 #ff8992、綠色為 #9fda65、藍色為 #8bbdf0、洋紅為 #c78bf0。

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

與 Black Cat 相似的配色

資料來源:iTerm2 Color Schemes (MIT)