跳到正文

Ayu Light

Ayu Light 是一套浅色终端配色(柔和),背景色 #f8f9fa,文字色 #5c6166,对比度 5.9:1

获取配置
背景色
#f8f9fa
前景色
#5c6166
文字对比度
5.93:1AA
强调色对比度
2.56:1最低 1.82
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
❯

Ayu Light 的配置文件

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

Ayu Light

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

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

palette = 0=#000000
palette = 1=#ea6c6d
palette = 2=#6cbf43
palette = 3=#eca944
palette = 4=#3199e1
palette = 5=#9e75c7
palette = 6=#46ba94
palette = 7=#bababa
palette = 8=#686868
palette = 9=#f07171
palette = 10=#86b300
palette = 11=#f2ae49
palette = 12=#399ee6
palette = 13=#a37acc
palette = 14=#4cbf99
palette = 15=#d1d1d1
background = #f8f9fa
foreground = #5c6166
cursor-color = #ffaa33
cursor-text = #f8f9fa
selection-background = #035bd6
selection-foreground = #f8f9fa

Ayu Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f8f9fargb(248 249 250)hsl(210 17% 98%)oklch(98.2% 0.002 247.8)—
前景色foreground#5c6166rgb(92 97 102)hsl(210 5% 38%)oklch(49.0% 0.010 248.0)5.93 AA
光标cursor#ffaa33rgb(255 170 51)hsl(35 100% 60%)oklch(80.3% 0.159 69.8)1.80 低于 AA
光标文字cursorText#f8f9fargb(248 249 250)hsl(210 17% 98%)oklch(98.2% 0.002 247.8)1.00 低于 AA
选区selection#035bd6rgb(3 91 214)hsl(215 97% 43%)oklch(50.7% 0.203 259.8)5.74 AA
选区文字selectionText#f8f9fargb(248 249 250)hsl(210 17% 98%)oklch(98.2% 0.002 247.8)1.00 低于 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)19.92 AAA
红color1#ea6c6drgb(234 108 109)hsl(360 75% 67%)oklch(68.3% 0.157 21.6)2.90 低于 AA
绿color2#6cbf43rgb(108 191 67)hsl(100 49% 51%)oklch(72.6% 0.179 136.9)2.17 低于 AA
黄color3#eca944rgb(236 169 68)hsl(36 82% 60%)oklch(78.1% 0.139 74.0)1.93 低于 AA
蓝color4#3199e1rgb(49 153 225)hsl(205 75% 54%)oklch(65.8% 0.142 243.9)2.94 低于 AA
品红color5#9e75c7rgb(158 117 199)hsl(270 42% 62%)oklch(63.5% 0.127 306.1)3.42 AA 大字号
青color6#46ba94rgb(70 186 148)hsl(160 46% 50%)oklch(71.3% 0.119 167.9)2.29 低于 AA
白color7#bababargb(186 186 186)hsl(0 0% 73%)oklch(78.9% 0.000 0)1.84 低于 AA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)5.29 AA
亮红color9#f07171rgb(240 113 113)hsl(0 81% 69%)oklch(69.9% 0.157 22.0)2.73 低于 AA
亮绿color10#86b300rgb(134 179 0)hsl(75 100% 35%)oklch(70.8% 0.179 125.6)2.35 低于 AA
亮黄color11#f2ae49rgb(242 174 73)hsl(36 87% 62%)oklch(79.7% 0.139 73.8)1.82 低于 AA
亮蓝color12#399ee6rgb(57 158 230)hsl(205 78% 56%)oklch(67.4% 0.141 244.0)2.76 低于 AA
亮品红color13#a37accrgb(163 122 204)hsl(270 45% 64%)oklch(65.2% 0.126 306.2)3.21 AA 大字号
亮青color14#4cbf99rgb(76 191 153)hsl(160 47% 52%)oklch(72.9% 0.119 168.0)2.16 低于 AA
亮白color15#d1d1d1rgb(209 209 209)hsl(0 0% 82%)oklch(86.1% 0.000 0)1.45 低于 AA

关于 Ayu Light

Ayu Light 采用中性色调的浅色背景(#f8f9fa),默认前景色为 #5c6166。正文的 WCAG 对比度为 5.93:1(AA),12 种 ANSI 彩色槽位平均对比度 2.56:1,最低 1.82:1。

色板整体色彩饱和度适中,其中红色为 #ea6c6d、绿色为 #6cbf43、蓝色为 #3199e1、品红为 #9e75c7。该配色归属 Ayu 主题系列。

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

与 Ayu Light 相似的配色

数据来源:iTerm2 Color Schemes (MIT)