跳到正文

Tearout

Tearout 是一套深色终端配色(低饱和),背景色 #34392d,文字色 #f4d2ae,对比度 8.3:1

获取配置
背景色
#34392d
前景色
#f4d2ae
文字对比度
8.30:1AAA
强调色对比度
4.71:1最低 3.56
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
❯

Tearout 的配置文件

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

Tearout

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

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

palette = 0=#685742
palette = 1=#cc967b
palette = 2=#97976d
palette = 3=#6c9861
palette = 4=#b5955e
palette = 5=#c9a554
palette = 6=#d7c483
palette = 7=#b5955e
palette = 8=#75644f
palette = 9=#cc967b
palette = 10=#97976d
palette = 11=#6c9861
palette = 12=#b5955e
palette = 13=#c9a554
palette = 14=#d7c483
palette = 15=#b5955e
background = #34392d
foreground = #f4d2ae
cursor-color = #d7c483
cursor-text = #141415
selection-background = #e4c47a
selection-foreground = #000000

Tearout 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#34392drgb(52 57 45)hsl(85 12% 20%)oklch(33.6% 0.022 126.0)—
前景色foreground#f4d2aergb(244 210 174)hsl(31 76% 82%)oklch(88.4% 0.061 68.5)8.30 AAA
光标cursor#d7c483rgb(215 196 131)hsl(46 51% 68%)oklch(82.1% 0.086 93.7)6.85 AA
光标文字cursorText#141415rgb(20 20 21)hsl(240 2% 8%)oklch(19.2% 0.002 286.2)1.55 低于 AA
选区selection#e4c47argb(228 196 122)hsl(42 66% 69%)oklch(83.2% 0.100 86.9)7.05 AAA
选区文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.77 低于 AA
黑color0#685742rgb(104 87 66)hsl(33 22% 33%)oklch(46.8% 0.039 72.5)1.71 低于 AA
红color1#cc967brgb(204 150 123)hsl(20 44% 64%)oklch(71.8% 0.076 47.6)4.64 AA
绿color2#97976drgb(151 151 109)hsl(60 17% 51%)oklch(66.6% 0.059 107.9)3.94 AA 大字号
黄color3#6c9861rgb(108 152 97)hsl(108 22% 49%)oklch(63.3% 0.093 139.5)3.56 AA 大字号
蓝color4#b5955ergb(181 149 94)hsl(38 37% 54%)oklch(68.7% 0.082 80.3)4.20 AA 大字号
品红color5#c9a554rgb(201 165 84)hsl(42 52% 56%)oklch(73.8% 0.108 85.6)5.08 AA
青color6#d7c483rgb(215 196 131)hsl(46 51% 68%)oklch(82.1% 0.086 93.7)6.85 AA
白color7#b5955ergb(181 149 94)hsl(38 37% 54%)oklch(68.7% 0.082 80.3)4.20 AA 大字号
亮黑color8#75644frgb(117 100 79)hsl(33 19% 38%)oklch(51.4% 0.038 72.7)2.09 低于 AA
亮红color9#cc967brgb(204 150 123)hsl(20 44% 64%)oklch(71.8% 0.076 47.6)4.64 AA
亮绿color10#97976drgb(151 151 109)hsl(60 17% 51%)oklch(66.6% 0.059 107.9)3.94 AA 大字号
亮黄color11#6c9861rgb(108 152 97)hsl(108 22% 49%)oklch(63.3% 0.093 139.5)3.56 AA 大字号
亮蓝color12#b5955ergb(181 149 94)hsl(38 37% 54%)oklch(68.7% 0.082 80.3)4.20 AA 大字号
亮品红color13#c9a554rgb(201 165 84)hsl(42 52% 56%)oklch(73.8% 0.108 85.6)5.08 AA
亮青color14#d7c483rgb(215 196 131)hsl(46 51% 68%)oklch(82.1% 0.086 93.7)6.85 AA
亮白color15#b5955ergb(181 149 94)hsl(38 37% 54%)oklch(68.7% 0.082 80.3)4.20 AA 大字号

关于 Tearout

Tearout 采用中性色调的深色背景(#34392d),默认前景色为 #f4d2ae。正文的 WCAG 对比度为 8.30:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.71:1,最低 3.56:1。

色板整体色彩饱和度偏低,其中红色为 #cc967b、绿色为 #97976d、蓝色为 #b5955e、品红为 #c9a554。

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

与 Tearout 相似的配色

数据来源:iTerm2 Color Schemes (MIT)