跳到主要內容

Retro Legends

Retro Legends 是一套深色終端機配色(純黑、鮮豔),背景色 #0d0d0d,文字色 #45eb45,對比度 12.2:1

取得設定檔
背景色
#0d0d0d
前景色
#45eb45
文字對比度
12.24:1AAA
強調色對比度
9.22:1最低 4.07
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
❯

Retro Legends 的設定檔

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

Retro Legends

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

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

palette = 0=#262626
palette = 1=#de5454
palette = 2=#45eb45
palette = 3=#f7bf2b
palette = 4=#4066f2
palette = 5=#bf4df2
palette = 6=#40d9e6
palette = 7=#bfe6bf
palette = 8=#4d594d
palette = 9=#ff6666
palette = 10=#59ff59
palette = 11=#ffd933
palette = 12=#4d80ff
palette = 13=#e666ff
palette = 14=#59e6ff
palette = 15=#f2fff2
background = #0d0d0d
foreground = #45eb45
cursor-color = #45eb45
cursor-text = #0d0d0d
selection-background = #336633
selection-foreground = #f2fff2

Retro Legends 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0d0d0drgb(13 13 13)hsl(0 0% 5%)oklch(15.9% 0.000 0)—
前景色foreground#45eb45rgb(69 235 69)hsl(120 81% 60%)oklch(82.5% 0.245 142.9)12.24 AAA
游標cursor#45eb45rgb(69 235 69)hsl(120 81% 60%)oklch(82.5% 0.245 142.9)12.24 AAA
游標文字cursorText#0d0d0drgb(13 13 13)hsl(0 0% 5%)oklch(15.9% 0.000 0)1.00 低於 AA
選取範圍selection#336633rgb(51 102 51)hsl(120 33% 30%)oklch(46.1% 0.097 143.8)2.86 低於 AA
選取文字selectionText#f2fff2rgb(242 255 242)hsl(120 100% 97%)oklch(98.7% 0.022 145.4)18.84 AAA
黑color0#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.28 低於 AA
紅color1#de5454rgb(222 84 84)hsl(0 68% 60%)oklch(62.9% 0.173 23.5)5.09 AA
綠color2#45eb45rgb(69 235 69)hsl(120 81% 60%)oklch(82.5% 0.245 142.9)12.24 AAA
黃color3#f7bf2brgb(247 191 43)hsl(44 93% 57%)oklch(83.3% 0.161 85.6)11.52 AAA
藍color4#4066f2rgb(64 102 242)hsl(227 87% 60%)oklch(56.7% 0.214 267.4)4.07 AA 大字級
洋紅color5#bf4df2rgb(191 77 242)hsl(281 86% 63%)oklch(64.2% 0.244 313.4)5.14 AA
青color6#40d9e6rgb(64 217 230)hsl(185 77% 58%)oklch(81.3% 0.124 203.5)11.37 AAA
白color7#bfe6bfrgb(191 230 191)hsl(120 44% 83%)oklch(88.7% 0.067 145.0)14.15 AAA
亮黑color8#4d594drgb(77 89 77)hsl(120 7% 33%)oklch(45.0% 0.024 145.2)2.64 低於 AA
亮紅color9#ff6666rgb(255 102 102)hsl(0 100% 70%)oklch(70.4% 0.187 23.2)6.80 AA
亮綠color10#59ff59rgb(89 255 89)hsl(120 100% 67%)oklch(88.2% 0.248 143.1)14.69 AAA
亮黃color11#ffd933rgb(255 217 51)hsl(49 100% 60%)oklch(89.2% 0.171 95.0)14.09 AAA
亮藍color12#4d80ffrgb(77 128 255)hsl(223 100% 65%)oklch(63.2% 0.197 264.8)5.41 AA
亮洋紅color13#e666ffrgb(230 102 255)hsl(290 100% 70%)oklch(72.5% 0.239 320.8)7.13 AAA
亮青color14#59e6ffrgb(89 230 255)hsl(189 100% 67%)oklch(85.9% 0.124 211.5)13.13 AAA
亮白color15#f2fff2rgb(242 255 242)hsl(120 100% 97%)oklch(98.7% 0.022 145.4)18.84 AAA

關於 Retro Legends

Retro Legends 採用中性色調的深色背景(#0d0d0d),預設前景色為 #45eb45。內文的 WCAG 對比度為 12.24:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.22:1,最低 4.07:1。

色票整體色彩彩度較高,其中紅色為 #de5454、綠色為 #45eb45、藍色為 #4066f2、洋紅為 #bf4df2。

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

與 Retro Legends 相似的配色

資料來源:iTerm2 Color Schemes (MIT)