跳到主要內容

Scorch

Scorch 是一套深色終端機配色(柔和、暖色),背景色 #392123,文字色 #baa0a2,對比度 6.1:1

取得設定檔
背景色
#392123
前景色
#baa0a2
文字對比度
6.10:1AA
強調色對比度
7.10:1最低 2.25
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 的設定檔

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

Scorch

存到 ~/.config/ghostty/themes/Scorch,再在 config 或 config.ghostty 裏寫 theme = Scorch

更多 Ghostty 配色
原始檔案
# Theme: Scorch (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/scorch?format=ghostty

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

Scorch 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#392123rgb(57 33 35)hsl(355 27% 18%)oklch(28.0% 0.037 14.3)—
前景色foreground#baa0a2rgb(186 160 162)hsl(355 16% 68%)oklch(72.9% 0.031 12.6)6.10 AA
光標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)13.90 AAA
光標文字cursorText#baa0a2rgb(186 160 162)hsl(355 16% 68%)oklch(72.9% 0.031 12.6)6.10 AA
選取範圍selection#bd4549rgb(189 69 73)hsl(358 48% 51%)oklch(55.7% 0.155 21.7)2.90 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.83 AAA
黑color0#492a2drgb(73 42 45)hsl(354 27% 23%)oklch(32.5% 0.046 13.7)1.17 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.25 低於 AA
綠color2#d39452rgb(211 148 82)hsl(31 59% 57%)oklch(71.5% 0.112 65.6)5.74 AA
黃color3#bd4549rgb(189 69 73)hsl(358 48% 51%)oklch(55.7% 0.155 21.7)2.90 低於 AA
藍color4#cf9e51rgb(207 158 81)hsl(37 57% 56%)oklch(73.0% 0.111 76.8)6.12 AA
洋紅color5#f6ea82rgb(246 234 130)hsl(54 87% 74%)oklch(92.5% 0.126 102.7)12.01 AAA
青color6#e77757rgb(231 119 87)hsl(13 75% 62%)oklch(69.1% 0.147 36.8)5.07 AA
白color7#c5afb0rgb(197 175 176)hsl(357 16% 73%)oklch(77.3% 0.025 14.6)7.16 AAA
亮黑color8#693d41rgb(105 61 65)hsl(355 27% 33%)oklch(41.4% 0.062 14.3)1.66 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.28 AA 大字體
亮綠color10#e8c6a3rgb(232 198 163)hsl(30 60% 77%)oklch(84.7% 0.061 67.7)9.21 AAA
亮黃color11#d89093rgb(216 144 147)hsl(358 48% 71%)oklch(72.6% 0.088 16.7)5.88 AA
亮藍color12#e5cba1rgb(229 203 161)hsl(37 57% 76%)oklch(85.4% 0.063 79.6)9.46 AAA
亮洋紅color13#fdfae1rgb(253 250 225)hsl(54 88% 94%)oklch(98.1% 0.033 101.4)14.08 AAA
亮青color14#f4bfb0rgb(244 191 176)hsl(13 76% 82%)oklch(84.8% 0.065 36.4)9.13 AAA
亮白color15#dacccdrgb(218 204 205)hsl(356 16% 83%)oklch(85.7% 0.016 12.5)9.54 AAA

關於 Scorch

Scorch 採用暖色調的深色背景(#392123),預設前景色為 #baa0a2。正文的 WCAG 對比度為 6.10:1(AA),12 種 ANSI 彩色槽位平均對比度 7.10:1,最低 2.25: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 相似的配色

資料來源:Rainglow (MIT)