跳到主要內容

Ayu

Ayu 是一套深色終端機配色(冷色),背景色 #0b0e14,文字色 #bfbdb6,對比度 10.3:1

取得設定檔
背景色
#0b0e14
前景色
#bfbdb6
文字對比度
10.27:1AAA
強調色對比度
10.10:1最低 6.34
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 的設定檔

16 種格式,都從同一份色板產生

Ayu

存到 ~/.config/ghostty/themes/Ayu,再在 config 或 config.ghostty 裏寫 theme = Ayu

更多 Ghostty 配色
原始檔案
# Theme: Ayu (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/ayu?format=ghostty

palette = 0=#11151c
palette = 1=#ea6c73
palette = 2=#7fd962
palette = 3=#f9af4f
palette = 4=#53bdfa
palette = 5=#cda1fa
palette = 6=#90e1c6
palette = 7=#c7c7c7
palette = 8=#686868
palette = 9=#f07178
palette = 10=#aad94c
palette = 11=#ffb454
palette = 12=#59c2ff
palette = 13=#d2a6ff
palette = 14=#95e6cb
palette = 15=#ffffff
background = #0b0e14
foreground = #bfbdb6
cursor-color = #e6b450
cursor-text = #0b0e14
selection-background = #409fff
selection-foreground = #0b0e14

Ayu 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0b0e14rgb(11 14 20)hsl(220 29% 6%)oklch(16.3% 0.014 264.1)—
前景色foreground#bfbdb6rgb(191 189 182)hsl(47 7% 73%)oklch(79.8% 0.010 93.6)10.27 AAA
光標cursor#e6b450rgb(230 180 80)hsl(40 75% 61%)oklch(79.7% 0.130 82.2)10.13 AAA
光標文字cursorText#0b0e14rgb(11 14 20)hsl(220 29% 6%)oklch(16.3% 0.014 264.1)1.00 低於 AA
選取範圍selection#409fffrgb(64 159 255)hsl(210 100% 63%)oklch(69.2% 0.167 251.8)7.01 AAA
選取文字selectionText#0b0e14rgb(11 14 20)hsl(220 29% 6%)oklch(16.3% 0.014 264.1)1.00 低於 AA
黑color0#11151crgb(17 21 28)hsl(218 24% 9%)oklch(19.5% 0.016 261.6)1.06 低於 AA
紅color1#ea6c73rgb(234 108 115)hsl(357 75% 67%)oklch(68.4% 0.156 18.7)6.34 AA
綠color2#7fd962rgb(127 217 98)hsl(105 61% 62%)oklch(80.3% 0.178 138.7)11.04 AAA
黃color3#f9af4frgb(249 175 79)hsl(34 93% 64%)oklch(80.8% 0.140 70.3)10.37 AAA
藍color4#53bdfargb(83 189 250)hsl(202 94% 65%)oklch(76.2% 0.131 237.3)9.22 AAA
洋紅color5#cda1fargb(205 161 250)hsl(270 90% 81%)oklch(78.1% 0.131 306.3)9.27 AAA
青color6#90e1c6rgb(144 225 198)hsl(160 57% 72%)oklch(85.0% 0.089 171.0)12.67 AAA
白color7#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)11.43 AAA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)3.47 AA 大字體
亮紅color9#f07178rgb(240 113 120)hsl(357 81% 69%)oklch(70.1% 0.157 18.6)6.75 AA
亮綠color10#aad94crgb(170 217 76)hsl(80 65% 57%)oklch(82.5% 0.175 125.8)11.72 AAA
亮黃color11#ffb454rgb(255 180 84)hsl(34 100% 66%)oklch(82.4% 0.141 70.2)10.95 AAA
亮藍color12#59c2ffrgb(89 194 255)hsl(202 100% 67%)oklch(77.7% 0.130 237.3)9.74 AAA
亮洋紅color13#d2a6ffrgb(210 166 255)hsl(270 100% 83%)oklch(79.7% 0.131 306.3)9.79 AAA
亮青color14#95e6cbrgb(149 230 203)hsl(160 62% 74%)oklch(86.5% 0.088 171.1)13.30 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.32 AAA

關於 Ayu

Ayu 採用冷色調的深色背景(#0b0e14),預設前景色為 #bfbdb6。正文的 WCAG 對比度為 10.27:1(AAA),12 種 ANSI 彩色槽位平均對比度 10.10:1,最低 6.34:1。

色板整體色彩飽和度適中,其中紅色為 #ea6c73、綠色為 #7fd962、藍色為 #53bdfa、洋紅為 #cda1fa。該配色歸屬 Ayu 主題系列。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合終端機、CSS 變數、Tailwind CSS 及 JSON 色板格式。

與 Ayu 相似的配色

資料來源:iTerm2 Color Schemes (MIT)