跳到主要內容

Avirage

Avirage 是一套深色終端機配色(冷色),背景色 #12091b,文字色 #cbd5e1,對比度 13.1:1

取得設定檔
背景色
#12091b
前景色
#cbd5e1
文字對比度
13.09:1AAA
強調色對比度
8.82:1最低 3.22
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
❯

Avirage 的設定檔

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

Avirage

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

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

palette = 0=#18181b
palette = 1=#be185d
palette = 2=#22c55e
palette = 3=#facc15
palette = 4=#0284c7
palette = 5=#db2777
palette = 6=#2dd4bf
palette = 7=#e4e4e7
palette = 8=#475569
palette = 9=#db2777
palette = 10=#4ade80
palette = 11=#fde047
palette = 12=#38bdf8
palette = 13=#f472b6
palette = 14=#99f6e4
palette = 15=#f4f4f5
background = #12091b
foreground = #cbd5e1
cursor-color = #312e81
cursor-text = #12091b
selection-background = #3a3447
selection-foreground = #cbd5e1

Avirage 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#12091brgb(18 9 27)hsl(270 50% 7%)oklch(16.3% 0.039 305.7)—
前景色foreground#cbd5e1rgb(203 213 225)hsl(213 27% 84%)oklch(86.9% 0.020 252.9)13.09 AAA
光標cursor#312e81rgb(49 46 129)hsl(242 47% 34%)oklch(35.9% 0.135 278.7)1.70 低於 AA
光標文字cursorText#12091brgb(18 9 27)hsl(270 50% 7%)oklch(16.3% 0.039 305.7)1.00 低於 AA
選取範圍selection#3a3447rgb(58 52 71)hsl(259 15% 24%)oklch(33.9% 0.034 299.1)1.63 低於 AA
選取文字selectionText#cbd5e1rgb(203 213 225)hsl(213 27% 84%)oklch(86.9% 0.020 252.9)13.09 AAA
黑color0#18181brgb(24 24 27)hsl(240 6% 10%)oklch(21.0% 0.006 285.9)1.10 低於 AA
紅color1#be185drgb(190 24 93)hsl(335 78% 42%)oklch(52.5% 0.199 4.0)3.22 AA 大字體
綠color2#22c55ergb(34 197 94)hsl(142 71% 45%)oklch(72.3% 0.192 149.6)8.53 AAA
黃color3#facc15rgb(250 204 21)hsl(48 96% 53%)oklch(86.1% 0.173 91.9)12.69 AAA
藍color4#0284c7rgb(2 132 199)hsl(200 98% 39%)oklch(58.8% 0.139 242.0)4.75 AA
洋紅color5#db2777rgb(219 39 119)hsl(333 71% 51%)oklch(59.2% 0.218 0.6)4.23 AA 大字體
青color6#2dd4bfrgb(45 212 191)hsl(172 66% 50%)oklch(78.5% 0.133 181.9)10.44 AAA
白color7#e4e4e7rgb(228 228 231)hsl(240 6% 90%)oklch(92.0% 0.004 286.3)15.32 AAA
亮黑color8#475569rgb(71 85 105)hsl(215 19% 35%)oklch(44.6% 0.037 257.3)2.56 低於 AA
亮紅color9#db2777rgb(219 39 119)hsl(333 71% 51%)oklch(59.2% 0.218 0.6)4.23 AA 大字體
亮綠color10#4ade80rgb(74 222 128)hsl(142 69% 58%)oklch(80.0% 0.182 151.7)11.15 AAA
亮黃color11#fde047rgb(253 224 71)hsl(50 98% 64%)oklch(90.5% 0.166 98.1)14.74 AAA
亮藍color12#38bdf8rgb(56 189 248)hsl(198 93% 60%)oklch(75.4% 0.139 232.7)9.07 AAA
亮洋紅color13#f472b6rgb(244 114 182)hsl(329 86% 70%)oklch(72.5% 0.175 349.8)7.34 AAA
亮青color14#99f6e4rgb(153 246 228)hsl(168 84% 78%)oklch(91.0% 0.093 180.4)15.41 AAA
亮白color15#f4f4f5rgb(244 244 245)hsl(240 5% 96%)oklch(96.7% 0.001 286.4)17.68 AAA

關於 Avirage

Avirage 採用冷色調的深色背景(#12091b),預設前景色為 #cbd5e1。正文的 WCAG 對比度為 13.09:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.82:1,最低 3.22:1。

色板整體色彩飽和度適中,其中紅色為 #be185d、綠色為 #22c55e、藍色為 #0284c7、洋紅為 #db2777。

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

與 Avirage 相似的配色

資料來源:Warp Themes (Apache-2.0)