跳到正文

Medailion

Medailion 是一套深色终端配色(暖色),背景色 #1d1808,文字色 #aea578,对比度 7.1:1

获取配置
背景色
#1d1808
前景色
#aea578
文字对比度
7.12:1AAA
强调色对比度
7.39:1最低 3.31
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
❯

Medailion 的配置文件

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

Medailion

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

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

palette = 0=#000000
palette = 1=#b54c00
palette = 2=#7c8a16
palette = 3=#abb8ff
palette = 4=#606baf
palette = 5=#8b5990
palette = 6=#906b25
palette = 7=#c9c199
palette = 8=#5e5118
palette = 9=#ff9148
palette = 10=#b1c93a
palette = 11=#ffe449
palette = 12=#abb8ff
palette = 13=#fe9fff
palette = 14=#ffbb51
palette = 15=#fed597
background = #1d1808
foreground = #aea578
cursor-color = #aea578
cursor-text = #1d1808
selection-background = #3d3721
selection-foreground = #aea578

Medailion 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1d1808rgb(29 24 8)hsl(46 57% 7%)oklch(21.0% 0.029 92.6)—
前景色foreground#aea578rgb(174 165 120)hsl(50 25% 58%)oklch(71.8% 0.062 98.2)7.12 AAA
光标cursor#aea578rgb(174 165 120)hsl(50 25% 58%)oklch(71.8% 0.062 98.2)7.12 AAA
光标文字cursorText#1d1808rgb(29 24 8)hsl(46 57% 7%)oklch(21.0% 0.029 92.6)1.00 低于 AA
选区selection#3d3721rgb(61 55 33)hsl(47 30% 18%)oklch(33.7% 0.036 94.7)1.49 低于 AA
选区文字selectionText#aea578rgb(174 165 120)hsl(50 25% 58%)oklch(71.8% 0.062 98.2)7.12 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.19 低于 AA
红color1#b54c00rgb(181 76 0)hsl(25 100% 35%)oklch(54.6% 0.153 46.2)3.37 AA 大字号
绿color2#7c8a16rgb(124 138 22)hsl(67 72% 31%)oklch(60.2% 0.132 116.9)4.64 AA
黄color3#abb8ffrgb(171 184 255)hsl(231 100% 84%)oklch(79.9% 0.102 275.9)9.30 AAA
蓝color4#606bafrgb(96 107 175)hsl(232 33% 53%)oklch(54.9% 0.107 275.4)3.56 AA 大字号
品红color5#8b5990rgb(139 89 144)hsl(295 24% 46%)oklch(53.9% 0.102 323.6)3.31 AA 大字号
青color6#906b25rgb(144 107 37)hsl(39 59% 35%)oklch(55.2% 0.097 79.8)3.64 AA 大字号
白color7#c9c199rgb(201 193 153)hsl(50 31% 69%)oklch(80.7% 0.054 98.0)9.75 AAA
亮黑color8#5e5118rgb(94 81 24)hsl(49 59% 23%)oklch(43.6% 0.077 96.1)2.25 低于 AA
亮红color9#ff9148rgb(255 145 72)hsl(24 100% 64%)oklch(76.2% 0.158 51.6)7.92 AAA
亮绿color10#b1c93argb(177 201 58)hsl(70 57% 51%)oklch(79.2% 0.165 118.7)9.51 AAA
亮黄color11#ffe449rgb(255 228 73)hsl(51 100% 64%)oklch(91.5% 0.167 99.1)13.86 AAA
亮蓝color12#abb8ffrgb(171 184 255)hsl(231 100% 84%)oklch(79.9% 0.102 275.9)9.30 AAA
亮品红color13#fe9fffrgb(254 159 255)hsl(299 100% 81%)oklch(83.0% 0.164 326.6)9.79 AAA
亮青color14#ffbb51rgb(255 187 81)hsl(37 100% 66%)oklch(83.6% 0.143 75.4)10.52 AAA
亮白color15#fed597rgb(254 213 151)hsl(36 98% 79%)oklch(89.4% 0.091 77.5)12.79 AAA

关于 Medailion

Medailion 采用暖色调的深色背景(#1d1808),默认前景色为 #aea578。正文的 WCAG 对比度为 7.12:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.39:1,最低 3.31:1。

色板整体色彩饱和度适中,其中红色为 #b54c00、绿色为 #7c8a16、蓝色为 #606baf、品红为 #8b5990。

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

与 Medailion 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)