跳到正文

Scorch Contrast

Scorch Contrast 是一套深色终端配色(暖色),背景色 #160d0e,文字色 #baa0a2,对比度 7.9:1

获取配置
背景色
#160d0e
前景色
#baa0a2
文字对比度
7.87:1AAA
强调色对比度
9.15:1最低 2.91
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
❯

Scorch Contrast 的配置文件

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

Scorch Contrast

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

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

palette = 0=#261618
palette = 1=#ba0e2e
palette = 2=#d39452
palette = 3=#bd4549
palette = 4=#cf9e51
palette = 5=#f6ea82
palette = 6=#e77757
palette = 7=#c5afb0
palette = 8=#46292d
palette = 9=#e61f44
palette = 10=#e8c6a3
palette = 11=#d89093
palette = 12=#e5cba1
palette = 13=#fdfae1
palette = 14=#f4bfb0
palette = 15=#dacccd
background = #160d0e
foreground = #baa0a2
cursor-color = #f8f8f0
cursor-text = #baa0a2
selection-background = #bd4549
selection-foreground = #ffffff

Scorch Contrast 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#160d0ergb(22 13 14)hsl(353 26% 7%)oklch(17.2% 0.016 11.4)—
前景色foreground#baa0a2rgb(186 160 162)hsl(355 16% 68%)oklch(72.9% 0.031 12.6)7.87 AAA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)17.92 AAA
光标文字cursorText#baa0a2rgb(186 160 162)hsl(355 16% 68%)oklch(72.9% 0.031 12.6)7.87 AAA
选区selection#bd4549rgb(189 69 73)hsl(358 48% 51%)oklch(55.7% 0.155 21.7)3.74 AA 大字号
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.13 AAA
黑color0#261618rgb(38 22 24)hsl(353 27% 12%)oklch(22.2% 0.026 11.2)1.10 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.91 低于 AA
绿color2#d39452rgb(211 148 82)hsl(31 59% 57%)oklch(71.5% 0.112 65.6)7.40 AAA
黄color3#bd4549rgb(189 69 73)hsl(358 48% 51%)oklch(55.7% 0.155 21.7)3.74 AA 大字号
蓝color4#cf9e51rgb(207 158 81)hsl(37 57% 56%)oklch(73.0% 0.111 76.8)7.89 AAA
品红color5#f6ea82rgb(246 234 130)hsl(54 87% 74%)oklch(92.5% 0.126 102.7)15.49 AAA
青color6#e77757rgb(231 119 87)hsl(13 75% 62%)oklch(69.1% 0.147 36.8)6.53 AA
白color7#c5afb0rgb(197 175 176)hsl(357 16% 73%)oklch(77.3% 0.025 14.6)9.23 AAA
亮黑color8#46292drgb(70 41 45)hsl(352 26% 22%)oklch(31.9% 0.044 10.9)1.47 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.23 AA 大字号
亮绿color10#e8c6a3rgb(232 198 163)hsl(30 60% 77%)oklch(84.7% 0.061 67.7)11.87 AAA
亮黄color11#d89093rgb(216 144 147)hsl(358 48% 71%)oklch(72.6% 0.088 16.7)7.59 AAA
亮蓝color12#e5cba1rgb(229 203 161)hsl(37 57% 76%)oklch(85.4% 0.063 79.6)12.19 AAA
亮品红color13#fdfae1rgb(253 250 225)hsl(54 88% 94%)oklch(98.1% 0.033 101.4)18.16 AAA
亮青color14#f4bfb0rgb(244 191 176)hsl(13 76% 82%)oklch(84.8% 0.065 36.4)11.77 AAA
亮白color15#dacccdrgb(218 204 205)hsl(356 16% 83%)oklch(85.7% 0.016 12.5)12.29 AAA

关于 Scorch Contrast

Scorch Contrast 采用暖色调的深色背景(#160d0e),默认前景色为 #baa0a2。正文的 WCAG 对比度为 7.87:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.15:1,最低 2.91:1。

色板整体色彩饱和度适中,其中红色为 #ba0e2e、绿色为 #d39452、蓝色为 #cf9e51、品红为 #f6ea82。

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

与 Scorch Contrast 相似的配色

数据来源:Rainglow (MIT)