跳到正文

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/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)