跳到正文

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