跳到主要內容

Red Alert

Red Alert 是一套深色終端機配色(暖色),背景色 #762423,文字色 #ffffff,對比度 10.3:1

取得設定檔
背景色
#762423
前景色
#ffffff
文字對比度
10.26:1AAA
強調色對比度
4.86:1最低 2.13
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
❯

Red Alert 的設定檔

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

Red Alert

存到 ~/.config/ghostty/themes/Red Alert,再在 config 或 config.ghostty 裡寫 theme = Red Alert

更多 Ghostty 配色
原始檔
# Theme: Red Alert (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/red-alert?format=ghostty

palette = 0=#000000
palette = 1=#d62e4e
palette = 2=#71be6b
palette = 3=#beb86b
palette = 4=#489bee
palette = 5=#e979d7
palette = 6=#6bbeb8
palette = 7=#d6d6d6
palette = 8=#262626
palette = 9=#e02553
palette = 10=#aff08c
palette = 11=#dfddb7
palette = 12=#65aaf1
palette = 13=#ddb7df
palette = 14=#b7dfdd
palette = 15=#ffffff
background = #762423
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #762423
selection-background = #073642
selection-foreground = #ffffff

Red Alert 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#762423rgb(118 36 35)hsl(1 54% 30%)oklch(38.8% 0.115 24.9)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)10.26 AAA
游標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)10.26 AAA
游標文字cursorText#762423rgb(118 36 35)hsl(1 54% 30%)oklch(38.8% 0.115 24.9)1.00 低於 AA
選取範圍selection#073642rgb(7 54 66)hsl(192 81% 14%)oklch(30.9% 0.052 219.7)1.27 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)10.26 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)2.05 低於 AA
紅color1#d62e4ergb(214 46 78)hsl(349 67% 51%)oklch(57.7% 0.202 16.4)2.13 低於 AA
綠color2#71be6brgb(113 190 107)hsl(116 39% 58%)oklch(73.1% 0.139 142.5)4.53 AA
黃color3#beb86brgb(190 184 107)hsl(56 39% 58%)oklch(77.0% 0.099 104.6)5.01 AA
藍color4#489beergb(72 155 238)hsl(210 83% 61%)oklch(67.6% 0.147 250.9)3.52 AA 大字級
洋紅color5#e979d7rgb(233 121 215)hsl(310 72% 69%)oklch(73.3% 0.178 333.6)4.00 AA 大字級
青color6#6bbeb8rgb(107 190 184)hsl(176 39% 58%)oklch(74.7% 0.082 189.5)4.73 AA
白color7#d6d6d6rgb(214 214 214)hsl(0 0% 84%)oklch(87.6% 0.000 0)7.06 AAA
亮黑color8#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.48 低於 AA
亮紅color9#e02553rgb(224 37 83)hsl(345 75% 51%)oklch(59.0% 0.217 14.6)2.23 低於 AA
亮綠color10#aff08crgb(175 240 140)hsl(99 77% 75%)oklch(88.9% 0.146 135.4)7.65 AAA
亮黃color11#dfddb7rgb(223 221 183)hsl(57 38% 80%)oklch(88.9% 0.050 104.9)7.41 AAA
亮藍color12#65aaf1rgb(101 170 241)hsl(210 83% 67%)oklch(72.2% 0.126 250.6)4.19 AA 大字級
亮洋紅color13#ddb7dfrgb(221 183 223)hsl(297 38% 80%)oklch(82.5% 0.069 324.6)5.82 AA
亮青color14#b7dfddrgb(183 223 221)hsl(177 38% 80%)oklch(87.5% 0.042 192.7)7.14 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)10.26 AAA

關於 Red Alert

Red Alert 採用暖色調的深色背景(#762423),預設前景色為 #ffffff。內文的 WCAG 對比度為 10.26:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.86:1,最低 2.13:1。

色票整體色彩彩度適中,其中紅色為 #d62e4e、綠色為 #71be6b、藍色為 #489bee、洋紅為 #e979d7。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 Red Alert 相似的配色

資料來源:iTerm2 Color Schemes (MIT)