跳到主要內容

Ayu Mirage

Ayu Mirage 是一套深色終端機配色(粉彩、冷色),背景色 #1f2430,文字色 #cccac2,對比度 9.4:1

取得設定檔
背景色
#1f2430
前景色
#cccac2
文字對比度
9.45:1AAA
強調色對比度
9.43:1最低 5.95
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 Mirage 的設定檔

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

Ayu Mirage

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

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

palette = 0=#171b24
palette = 1=#ed8274
palette = 2=#87d96c
palette = 3=#facc6e
palette = 4=#6dcbfa
palette = 5=#dabafa
palette = 6=#90e1c6
palette = 7=#c7c7c7
palette = 8=#686868
palette = 9=#f28779
palette = 10=#d5ff80
palette = 11=#ffd173
palette = 12=#73d0ff
palette = 13=#dfbfff
palette = 14=#95e6cb
palette = 15=#ffffff
background = #1f2430
foreground = #cccac2
cursor-color = #ffcc66
cursor-text = #1f2430
selection-background = #409fff
selection-foreground = #1f2430

Ayu Mirage 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1f2430rgb(31 36 48)hsl(222 22% 15%)oklch(26.1% 0.024 267.1)—
前景色foreground#cccac2rgb(204 202 194)hsl(48 9% 78%)oklch(83.8% 0.011 95.2)9.45 AAA
游標cursor#ffcc66rgb(255 204 102)hsl(40 100% 70%)oklch(87.1% 0.133 82.7)10.41 AAA
游標文字cursorText#1f2430rgb(31 36 48)hsl(222 22% 15%)oklch(26.1% 0.024 267.1)1.00 低於 AA
選取範圍selection#409fffrgb(64 159 255)hsl(210 100% 63%)oklch(69.2% 0.167 251.8)5.63 AA
選取文字selectionText#1f2430rgb(31 36 48)hsl(222 22% 15%)oklch(26.1% 0.024 267.1)1.00 低於 AA
黑color0#171b24rgb(23 27 36)hsl(222 22% 12%)oklch(22.2% 0.019 266.1)1.11 低於 AA
紅color1#ed8274rgb(237 130 116)hsl(7 77% 69%)oklch(72.1% 0.134 28.6)5.95 AA
綠color2#87d96crgb(135 217 108)hsl(105 59% 64%)oklch(80.8% 0.165 138.4)8.99 AAA
黃color3#facc6ergb(250 204 110)hsl(40 93% 71%)oklch(86.7% 0.124 83.6)10.29 AAA
藍color4#6dcbfargb(109 203 250)hsl(200 93% 70%)oklch(80.2% 0.111 232.2)8.55 AAA
洋紅color5#dabafargb(218 186 250)hsl(270 86% 85%)oklch(83.8% 0.094 307.2)9.15 AAA
青color6#90e1c6rgb(144 225 198)hsl(160 57% 72%)oklch(85.0% 0.089 171.0)10.18 AAA
白color7#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)9.18 AAA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)2.78 低於 AA
亮紅color9#f28779rgb(242 135 121)hsl(7 82% 71%)oklch(73.7% 0.133 28.5)6.29 AA
亮綠color10#d5ff80rgb(213 255 128)hsl(80 100% 75%)oklch(94.4% 0.161 124.5)13.63 AAA
亮黃color11#ffd173rgb(255 209 115)hsl(40 100% 73%)oklch(88.2% 0.124 83.7)10.80 AAA
亮藍color12#73d0ffrgb(115 208 255)hsl(200 100% 73%)oklch(81.8% 0.111 232.3)9.01 AAA
亮洋紅color13#dfbfffrgb(223 191 255)hsl(270 100% 87%)oklch(85.3% 0.093 307.2)9.63 AAA
亮青color14#95e6cbrgb(149 230 203)hsl(160 62% 74%)oklch(86.5% 0.088 171.1)10.68 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.52 AAA

關於 Ayu Mirage

Ayu Mirage 採用冷色調的深色背景(#1f2430),預設前景色為 #cccac2。內文的 WCAG 對比度為 9.45:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.43:1,最低 5.95:1。

色票整體色彩彩度適中,其中紅色為 #ed8274、綠色為 #87d96c、藍色為 #6dcbfa、洋紅為 #dabafa。此配色歸屬 Ayu 主題系列。

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

與 Ayu Mirage 相似的配色

資料來源:iTerm2 Color Schemes (MIT)