跳到正文

Yngwie's Strat

Yngwie's Strat 是一套浅色终端配色(暖色),背景色 #fbe68b,文字色 #25231f,对比度 12.5:1

获取配置
背景色
#fbe68b
前景色
#25231f
文字对比度
12.54:1AAA
强调色对比度
5.46:1最低 4.65
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
❯

Yngwie's Strat 的配置文件

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

Yngwie's Strat

存到 ~/.config/ghostty/themes/Yngwie's Strat,再在 config 或 config.ghostty 里写 theme = Yngwie's Strat

更多 Ghostty 配色
原始文件
# Theme: Yngwie's Strat (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/yngwie-s-strat?format=ghostty

palette = 0=#342d27
palette = 1=#9c2922
palette = 2=#37663e
palette = 3=#785015
palette = 4=#244f85
palette = 5=#67416c
palette = 6=#17616b
palette = 7=#3e3730
palette = 8=#51463b
palette = 9=#b0392b
palette = 10=#3b6d45
palette = 11=#845b16
palette = 12=#315e9c
palette = 13=#795080
palette = 14=#206f79
palette = 15=#272522
background = #fbe68b
foreground = #25231f
cursor-color = #9c2922
cursor-text = #fff2bd
selection-background = #b6a251
selection-foreground = #211e19

Yngwie's Strat 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#fbe68brgb(251 230 139)hsl(49 93% 76%)oklch(92.3% 0.114 96.7)—
前景色foreground#25231frgb(37 35 31)hsl(40 9% 13%)oklch(25.7% 0.008 84.6)12.54 AAA
光标cursor#9c2922rgb(156 41 34)hsl(3 64% 37%)oklch(46.2% 0.152 28.2)6.10 AA
光标文字cursorText#fff2bdrgb(255 242 189)hsl(48 100% 87%)oklch(95.9% 0.069 95.9)1.11 低于 AA
选区selection#b6a251rgb(182 162 81)hsl(48 41% 52%)oklch(71.3% 0.104 95.7)2.03 低于 AA
选区文字selectionText#211e19rgb(33 30 25)hsl(37 14% 11%)oklch(23.7% 0.010 80.6)13.28 AAA
黑color0#342d27rgb(52 45 39)hsl(28 14% 18%)oklch(30.3% 0.015 62.8)10.83 AAA
红color1#9c2922rgb(156 41 34)hsl(3 64% 37%)oklch(46.2% 0.152 28.2)6.10 AA
绿color2#37663ergb(55 102 62)hsl(129 30% 31%)oklch(46.5% 0.082 147.5)5.36 AA
黄color3#785015rgb(120 80 21)hsl(36 70% 28%)oklch(46.5% 0.089 71.8)5.68 AA
蓝color4#244f85rgb(36 79 133)hsl(213 57% 33%)oklch(42.6% 0.102 255.4)6.63 AA
品红color5#67416crgb(103 65 108)hsl(293 25% 34%)oklch(43.6% 0.083 322.7)6.59 AA
青color6#17616brgb(23 97 107)hsl(187 65% 25%)oklch(45.4% 0.070 208.4)5.68 AA
白color7#3e3730rgb(62 55 48)hsl(30 13% 22%)oklch(34.2% 0.015 67.3)9.36 AAA
亮黑color8#51463brgb(81 70 59)hsl(30 16% 27%)oklch(40.2% 0.023 67.1)7.34 AAA
亮红color9#b0392brgb(176 57 43)hsl(6 61% 43%)oklch(51.6% 0.157 30.0)4.84 AA
亮绿color10#3b6d45rgb(59 109 69)hsl(132 30% 33%)oklch(48.8% 0.084 149.0)4.85 AA
亮黄color11#845b16rgb(132 91 22)hsl(38 71% 30%)oklch(50.3% 0.097 75.1)4.81 AA
亮蓝color12#315e9crgb(49 94 156)hsl(215 52% 40%)oklch(48.1% 0.112 256.9)5.23 AA
亮品红color13#795080rgb(121 80 128)hsl(291 23% 41%)oklch(49.5% 0.089 321.6)5.13 AA
亮青color14#206f79rgb(32 111 121)hsl(187 58% 30%)oklch(50.0% 0.075 207.3)4.65 AA
亮白color15#272522rgb(39 37 34)hsl(36 7% 14%)oklch(26.6% 0.006 78.2)12.22 AAA

关于 Yngwie's Strat

Yngwie's Strat 采用暖色调的浅色背景(#fbe68b),默认前景色为 #25231f。正文的 WCAG 对比度为 12.54:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.46:1,最低 4.65:1。

色板整体色彩饱和度适中,其中红色为 #9c2922、绿色为 #37663e、蓝色为 #244f85、品红为 #67416c。

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

与 Yngwie's Strat 相似的配色

数据来源:iTerm2 Color Schemes (MIT)