跳到主要內容

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