跳到主要內容

Ayu Dark

Ayu Dark 是一套深色終端機配色(冷色),背景色 #0a0e14,文字色 #b3b1ad,對比度 9.0:1

取得設定檔
背景色
#0a0e14
前景色
#b3b1ad
文字對比度
9.03:1AAA
強調色對比度
10.95:1最低 5.32
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 Dark 的設定檔

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

Ayu Dark

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

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

palette = 0=#0a0e14
palette = 1=#ff3333
palette = 2=#c2d94c
palette = 3=#ff8f40
palette = 4=#59c2ff
palette = 5=#ffee99
palette = 6=#95e6cb
palette = 7=#b3b1ad
palette = 8=#4d5566
palette = 9=#ff3333
palette = 10=#c2d94c
palette = 11=#ff8f40
palette = 12=#59c2ff
palette = 13=#ffee99
palette = 14=#95e6cb
palette = 15=#b3b1ad
background = #0a0e14
foreground = #b3b1ad
cursor-color = #e6b450
cursor-text = #0a0e14
selection-background = #2e3136
selection-foreground = #b3b1ad

Ayu Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)—
前景色foreground#b3b1adrgb(179 177 173)hsl(40 4% 69%)oklch(76.1% 0.006 84.6)9.03 AAA
游標cursor#e6b450rgb(230 180 80)hsl(40 75% 61%)oklch(79.7% 0.130 82.2)10.14 AAA
游標文字cursorText#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)1.00 低於 AA
選取範圍selection#2e3136rgb(46 49 54)hsl(217 8% 20%)oklch(31.2% 0.010 260.7)1.48 低於 AA
選取文字selectionText#b3b1adrgb(179 177 173)hsl(40 4% 69%)oklch(76.1% 0.006 84.6)9.03 AAA
黑color0#0a0e14rgb(10 14 20)hsl(216 33% 6%)oklch(16.2% 0.014 258.4)1.00 低於 AA
紅color1#ff3333rgb(255 51 51)hsl(0 100% 60%)oklch(64.9% 0.237 27.0)5.32 AA
綠color2#c2d94crgb(194 217 76)hsl(70 65% 57%)oklch(84.2% 0.165 118.0)12.27 AAA
黃color3#ff8f40rgb(255 143 64)hsl(25 100% 63%)oklch(75.8% 0.163 52.4)8.52 AAA
藍color4#59c2ffrgb(89 194 255)hsl(202 100% 67%)oklch(77.7% 0.130 237.3)9.75 AAA
洋紅color5#ffee99rgb(255 238 153)hsl(50 100% 80%)oklch(94.4% 0.107 98.3)16.52 AAA
青color6#95e6cbrgb(149 230 203)hsl(160 62% 74%)oklch(86.5% 0.088 171.1)13.32 AAA
白color7#b3b1adrgb(179 177 173)hsl(40 4% 69%)oklch(76.1% 0.006 84.6)9.03 AAA
亮黑color8#4d5566rgb(77 85 102)hsl(221 14% 35%)oklch(44.9% 0.030 265.3)2.58 低於 AA
亮紅color9#ff3333rgb(255 51 51)hsl(0 100% 60%)oklch(64.9% 0.237 27.0)5.32 AA
亮綠color10#c2d94crgb(194 217 76)hsl(70 65% 57%)oklch(84.2% 0.165 118.0)12.27 AAA
亮黃color11#ff8f40rgb(255 143 64)hsl(25 100% 63%)oklch(75.8% 0.163 52.4)8.52 AAA
亮藍color12#59c2ffrgb(89 194 255)hsl(202 100% 67%)oklch(77.7% 0.130 237.3)9.75 AAA
亮洋紅color13#ffee99rgb(255 238 153)hsl(50 100% 80%)oklch(94.4% 0.107 98.3)16.52 AAA
亮青color14#95e6cbrgb(149 230 203)hsl(160 62% 74%)oklch(86.5% 0.088 171.1)13.32 AAA
亮白color15#b3b1adrgb(179 177 173)hsl(40 4% 69%)oklch(76.1% 0.006 84.6)9.03 AAA

關於 Ayu Dark

Ayu Dark 採用冷色調的深色背景(#0a0e14),預設前景色為 #b3b1ad。內文的 WCAG 對比度為 9.03:1(AAA),12 種 ANSI 彩色槽位平均對比度 10.95:1,最低 5.32:1。

色票整體色彩彩度適中,其中紅色為 #ff3333、綠色為 #c2d94c、藍色為 #59c2ff、洋紅為 #ffee99。此配色歸屬 Ayu 主題系列。

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

與 Ayu Dark 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)