跳到主要內容

Rebecca

Rebecca 是一套深色終端機配色(粉彩、冷色),背景色 #292a44,文字色 #e8e6ed,對比度 11.3:1

取得設定檔
背景色
#292a44
前景色
#e8e6ed
文字對比度
11.25:1AAA
強調色對比度
7.95:1最低 4.54
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
❯

Rebecca 的設定檔

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

Rebecca

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

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

palette = 0=#12131e
palette = 1=#dd7755
palette = 2=#04dbb5
palette = 3=#f2e7b7
palette = 4=#7aa5ff
palette = 5=#bf9cf9
palette = 6=#56d3c2
palette = 7=#e4e3e9
palette = 8=#666699
palette = 9=#ff92cd
palette = 10=#01eac0
palette = 11=#fffca8
palette = 12=#69c0fa
palette = 13=#c17ff8
palette = 14=#8bfde1
palette = 15=#f4f2f9
background = #292a44
foreground = #e8e6ed
cursor-color = #b89bf9
cursor-text = #292a44
selection-background = #663399
selection-foreground = #f4f2f9

Rebecca 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#292a44rgb(41 42 68)hsl(238 25% 21%)oklch(29.7% 0.047 281.4)—
前景色foreground#e8e6edrgb(232 230 237)hsl(257 16% 92%)oklch(92.9% 0.010 299.2)11.25 AAA
游標cursor#b89bf9rgb(184 155 249)hsl(259 89% 79%)oklch(75.2% 0.135 297.2)6.03 AA
游標文字cursorText#292a44rgb(41 42 68)hsl(238 25% 21%)oklch(29.7% 0.047 281.4)1.00 低於 AA
選取範圍selection#663399rgb(102 51 153)hsl(270 50% 40%)oklch(44.0% 0.160 303.4)1.66 低於 AA
選取文字selectionText#f4f2f9rgb(244 242 249)hsl(257 37% 96%)oklch(96.5% 0.010 299.2)12.54 AAA
黑color0#12131ergb(18 19 30)hsl(235 25% 9%)oklch(19.1% 0.022 280.0)1.33 低於 AA
紅color1#dd7755rgb(221 119 85)hsl(15 67% 60%)oklch(67.7% 0.136 39.0)4.54 AA
綠color2#04dbb5rgb(4 219 181)hsl(169 96% 44%)oklch(79.5% 0.151 174.1)7.82 AAA
黃color3#f2e7b7rgb(242 231 183)hsl(49 69% 83%)oklch(92.5% 0.063 96.7)11.19 AAA
藍color4#7aa5ffrgb(122 165 255)hsl(221 100% 74%)oklch(72.9% 0.140 263.9)5.73 AA
洋紅color5#bf9cf9rgb(191 156 249)hsl(263 89% 79%)oklch(76.0% 0.135 300.6)6.19 AA
青color6#56d3c2rgb(86 211 194)hsl(172 59% 58%)oklch(79.2% 0.113 183.0)7.62 AAA
白color7#e4e3e9rgb(228 227 233)hsl(250 12% 90%)oklch(91.8% 0.008 293.9)10.91 AAA
亮黑color8#666699rgb(102 102 153)hsl(240 20% 50%)oklch(53.2% 0.079 283.4)2.60 低於 AA
亮紅color9#ff92cdrgb(255 146 205)hsl(328 100% 79%)oklch(79.2% 0.147 347.3)6.79 AA
亮綠color10#01eac0rgb(1 234 192)hsl(169 99% 46%)oklch(83.6% 0.160 173.4)8.97 AAA
亮黃color11#fffca8rgb(255 252 168)hsl(58 100% 83%)oklch(97.5% 0.105 106.4)13.08 AAA
亮藍color12#69c0fargb(105 192 250)hsl(204 94% 70%)oklch(77.6% 0.118 239.9)6.97 AA
亮洋紅color13#c17ff8rgb(193 127 248)hsl(273 90% 74%)oklch(71.3% 0.180 307.6)5.08 AA
亮青color14#8bfde1rgb(139 253 225)hsl(165 97% 77%)oklch(91.9% 0.113 175.8)11.42 AAA
亮白color15#f4f2f9rgb(244 242 249)hsl(257 37% 96%)oklch(96.5% 0.010 299.2)12.54 AAA

關於 Rebecca

Rebecca 採用冷色調的深色背景(#292a44),預設前景色為 #e8e6ed。內文的 WCAG 對比度為 11.25:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.95:1,最低 4.54:1。

色票整體色彩彩度適中,其中紅色為 #dd7755、綠色為 #04dbb5、藍色為 #7aa5ff、洋紅為 #bf9cf9。

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

與 Rebecca 相似的配色

資料來源:iTerm2 Color Schemes (MIT)