跳到主要內容

Rebellion

Rebellion 是一套深色終端機配色(暖色),背景色 #23231a,文字色 #d6c7ab,對比度 9.5:1

取得設定檔
背景色
#23231a
前景色
#d6c7ab
文字對比度
9.51:1AAA
強調色對比度
5.83:1最低 2.40
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
❯

Rebellion 的設定檔

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

Rebellion

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

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

palette = 0=#323225
palette = 1=#ba0e2e
palette = 2=#fe5f00
palette = 3=#988f2a
palette = 4=#8e7547
palette = 5=#fe5f00
palette = 6=#988f2a
palette = 7=#ded2bc
palette = 8=#4f4f3b
palette = 9=#e61f44
palette = 10=#ff9f65
palette = 11=#d1c757
palette = 12=#bea77d
palette = 13=#ff9f65
palette = 14=#d1c757
palette = 15=#efe9de
background = #23231a
foreground = #d6c7ab
cursor-color = #f8f8f0
cursor-text = #d6c7ab
selection-background = #fe5f00
selection-foreground = #ffffff

Rebellion 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#23231argb(35 35 26)hsl(60 15% 12%)oklch(25.3% 0.016 107.5)—
前景色foreground#d6c7abrgb(214 199 171)hsl(39 34% 75%)oklch(83.5% 0.041 83.1)9.51 AAA
游標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)14.83 AAA
游標文字cursorText#d6c7abrgb(214 199 171)hsl(39 34% 75%)oklch(83.5% 0.041 83.1)9.51 AAA
選取範圍selection#fe5f00rgb(254 95 0)hsl(22 100% 50%)oklch(68.6% 0.209 41.5)5.16 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.83 AAA
黑color0#323225rgb(50 50 37)hsl(60 15% 17%)oklch(31.3% 0.022 107.6)1.22 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.40 低於 AA
綠color2#fe5f00rgb(254 95 0)hsl(22 100% 50%)oklch(68.6% 0.209 41.5)5.16 AA
黃color3#988f2argb(152 143 42)hsl(55 57% 38%)oklch(63.9% 0.119 104.2)4.75 AA
藍color4#8e7547rgb(142 117 71)hsl(39 33% 42%)oklch(57.5% 0.071 81.8)3.61 AA 大字級
洋紅color5#fe5f00rgb(254 95 0)hsl(22 100% 50%)oklch(68.6% 0.209 41.5)5.16 AA
青color6#988f2argb(152 143 42)hsl(55 57% 38%)oklch(63.9% 0.119 104.2)4.75 AA
白color7#ded2bcrgb(222 210 188)hsl(39 34% 80%)oklch(86.8% 0.032 82.8)10.59 AAA
亮黑color8#4f4f3brgb(79 79 59)hsl(60 14% 27%)oklch(42.2% 0.032 107.7)1.89 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.50 AA 大字級
亮綠color10#ff9f65rgb(255 159 101)hsl(23 100% 70%)oklch(78.9% 0.136 50.8)7.84 AAA
亮黃color11#d1c757rgb(209 199 87)hsl(55 57% 58%)oklch(81.6% 0.133 104.2)9.06 AAA
亮藍color12#bea77drgb(190 167 125)hsl(39 33% 62%)oklch(73.8% 0.063 82.3)6.79 AA
亮洋紅color13#ff9f65rgb(255 159 101)hsl(23 100% 70%)oklch(78.9% 0.136 50.8)7.84 AAA
亮青color14#d1c757rgb(209 199 87)hsl(55 57% 58%)oklch(81.6% 0.133 104.2)9.06 AAA
亮白color15#efe9dergb(239 233 222)hsl(39 35% 90%)oklch(93.6% 0.016 82.8)13.10 AAA

關於 Rebellion

Rebellion 採用暖色調的深色背景(#23231a),預設前景色為 #d6c7ab。內文的 WCAG 對比度為 9.51:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.83:1,最低 2.40:1。

色票整體色彩彩度適中,其中紅色為 #ba0e2e、綠色為 #fe5f00、藍色為 #8e7547、洋紅為 #fe5f00。

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

與 Rebellion 相似的配色

資料來源:Rainglow (MIT)