跳到正文

Rebellion Light

Rebellion Light 是一套浅色终端配色(柔和、暖色),背景色 #ede8de,文字色 #443a27,对比度 9.2:1

获取配置
背景色
#ede8de
前景色
#443a27
文字对比度
9.15:1AAA
强调色对比度
2.60:1最低 1.43
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 Light 的配置文件

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

Rebellion Light

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

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

palette = 0=#f6f3ef
palette = 1=#ba0e2e
palette = 2=#fe5f00
palette = 3=#988f2a
palette = 4=#8e7547
palette = 5=#fe5f00
palette = 6=#988f2a
palette = 7=#544830
palette = 8=#ffffff
palette = 9=#e61f44
palette = 10=#ff9f65
palette = 11=#d1c757
palette = 12=#bea77d
palette = 13=#ff9f65
palette = 14=#d1c757
palette = 15=#756343
background = #ede8de
foreground = #443a27
cursor-color = #222222
cursor-text = #443a27
selection-background = #fe5f00
selection-foreground = #ffffff

Rebellion Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#ede8dergb(237 232 222)hsl(40 29% 90%)oklch(93.2% 0.014 84.6)—
前景色foreground#443a27rgb(68 58 39)hsl(39 27% 21%)oklch(35.4% 0.034 83.1)9.15 AAA
光标cursor#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)13.03 AAA
光标文字cursorText#443a27rgb(68 58 39)hsl(39 27% 21%)oklch(35.4% 0.034 83.1)9.15 AAA
选区selection#fe5f00rgb(254 95 0)hsl(22 100% 50%)oklch(68.6% 0.209 41.5)2.51 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.22 低于 AA
黑color0#f6f3efrgb(246 243 239)hsl(34 28% 95%)oklch(96.5% 0.006 75.4)1.10 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)5.39 AA
绿color2#fe5f00rgb(254 95 0)hsl(22 100% 50%)oklch(68.6% 0.209 41.5)2.51 低于 AA
黄color3#988f2argb(152 143 42)hsl(55 57% 38%)oklch(63.9% 0.119 104.2)2.73 低于 AA
蓝color4#8e7547rgb(142 117 71)hsl(39 33% 42%)oklch(57.5% 0.071 81.8)3.59 AA 大字号
品红color5#fe5f00rgb(254 95 0)hsl(22 100% 50%)oklch(68.6% 0.209 41.5)2.51 低于 AA
青color6#988f2argb(152 143 42)hsl(55 57% 38%)oklch(63.9% 0.119 104.2)2.73 低于 AA
白color7#544830rgb(84 72 48)hsl(40 27% 26%)oklch(40.7% 0.040 84.2)7.33 AAA
亮黑color8#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.22 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.70 AA 大字号
亮绿color10#ff9f65rgb(255 159 101)hsl(23 100% 70%)oklch(78.9% 0.136 50.8)1.65 低于 AA
亮黄color11#d1c757rgb(209 199 87)hsl(55 57% 58%)oklch(81.6% 0.133 104.2)1.43 低于 AA
亮蓝color12#bea77drgb(190 167 125)hsl(39 33% 62%)oklch(73.8% 0.063 82.3)1.91 低于 AA
亮品红color13#ff9f65rgb(255 159 101)hsl(23 100% 70%)oklch(78.9% 0.136 50.8)1.65 低于 AA
亮青color14#d1c757rgb(209 199 87)hsl(55 57% 58%)oklch(81.6% 0.133 104.2)1.43 低于 AA
亮白color15#756343rgb(117 99 67)hsl(38 27% 36%)oklch(50.9% 0.052 81.5)4.75 AA

关于 Rebellion Light

Rebellion Light 采用暖色调的浅色背景(#ede8de),默认前景色为 #443a27。正文的 WCAG 对比度为 9.15:1(AAA),12 种 ANSI 彩色槽位平均对比度 2.60:1,最低 1.43: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 Light 相似的配色

数据来源:Rainglow (MIT)