跳到正文

Retro

Retro 是一套深色终端配色(纯黑、柔和),背景色 #000000,文字色 #13a10e,对比度 6.1:1

获取配置
背景色
#000000
前景色
#13a10e
文字对比度
6.13:1AA
强调色对比度
7.10:1最低 6.13
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 的配置文件

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

Retro

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

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

palette = 0=#13a10e
palette = 1=#13a10e
palette = 2=#13a10e
palette = 3=#13a10e
palette = 4=#13a10e
palette = 5=#13a10e
palette = 6=#13a10e
palette = 7=#13a10e
palette = 8=#16ba10
palette = 9=#16ba10
palette = 10=#16ba10
palette = 11=#16ba10
palette = 12=#16ba10
palette = 13=#16ba10
palette = 14=#16ba10
palette = 15=#16ba10
background = #000000
foreground = #13a10e
cursor-color = #13a10e
cursor-text = #000000
selection-background = #ffffff
selection-foreground = #000000

Retro 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
光标cursor#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
光标文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
选区selection#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
选区文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
黑color0#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
红color1#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
绿color2#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
黄color3#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
蓝color4#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
品红color5#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
青color6#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
白color7#13a10ergb(19 161 14)hsl(118 84% 34%)oklch(61.6% 0.204 142.4)6.13 AA
亮黑color8#16ba10rgb(22 186 16)hsl(118 84% 40%)oklch(68.5% 0.228 142.4)8.07 AAA
亮红color9#16ba10rgb(22 186 16)hsl(118 84% 40%)oklch(68.5% 0.228 142.4)8.07 AAA
亮绿color10#16ba10rgb(22 186 16)hsl(118 84% 40%)oklch(68.5% 0.228 142.4)8.07 AAA
亮黄color11#16ba10rgb(22 186 16)hsl(118 84% 40%)oklch(68.5% 0.228 142.4)8.07 AAA
亮蓝color12#16ba10rgb(22 186 16)hsl(118 84% 40%)oklch(68.5% 0.228 142.4)8.07 AAA
亮品红color13#16ba10rgb(22 186 16)hsl(118 84% 40%)oklch(68.5% 0.228 142.4)8.07 AAA
亮青color14#16ba10rgb(22 186 16)hsl(118 84% 40%)oklch(68.5% 0.228 142.4)8.07 AAA
亮白color15#16ba10rgb(22 186 16)hsl(118 84% 40%)oklch(68.5% 0.228 142.4)8.07 AAA

关于 Retro

Retro 采用中性色调的深色背景(#000000),默认前景色为 #13a10e。正文的 WCAG 对比度为 6.13:1(AA),12 种 ANSI 彩色槽位平均对比度 7.10:1,最低 6.13:1。

色板整体色彩饱和度较高,其中红色为 #13a10e、绿色为 #13a10e、蓝色为 #13a10e、品红为 #13a10e。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Retro 相似的配色

数据来源:iTerm2 Color Schemes (MIT)