跳到主要內容

Azure

Azure 是一套深色終端機配色(低彩度、冷色),背景色 #181d26,文字色 #ffffff,對比度 16.9:1

取得設定檔
背景色
#181d26
前景色
#ffffff
文字對比度
16.90:1AAA
強調色對比度
6.28:1最低 2.57
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
❯

Azure 的設定檔

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

Azure

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

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

palette = 0=#222936
palette = 1=#ba0e2e
palette = 2=#6ab0a3
palette = 3=#52708b
palette = 4=#508aaa
palette = 5=#508aaa
palette = 6=#6ab0a3
palette = 7=#ffffff
palette = 8=#364155
palette = 9=#e61f44
palette = 10=#add3cc
palette = 11=#89a3ba
palette = 12=#94b8cc
palette = 13=#94b8cc
palette = 14=#add3cc
palette = 15=#ffffff
background = #181d26
foreground = #ffffff
cursor-color = #f8f8f0
cursor-text = #ffffff
selection-background = #47959a
selection-foreground = #ffffff

Azure 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#181d26rgb(24 29 38)hsl(219 23% 12%)oklch(23.0% 0.019 262.1)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.90 AAA
游標cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)15.84 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.90 AAA
選取範圍selection#47959argb(71 149 154)hsl(184 37% 44%)oklch(62.3% 0.077 201.0)4.86 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.90 AAA
黑color0#222936rgb(34 41 54)hsl(219 23% 17%)oklch(28.0% 0.026 262.7)1.16 低於 AA
紅color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.57 低於 AA
綠color2#6ab0a3rgb(106 176 163)hsl(169 31% 55%)oklch(70.7% 0.074 180.9)6.72 AA
黃color3#52708brgb(82 112 139)hsl(208 26% 43%)oklch(53.3% 0.055 246.2)3.26 AA 大字級
藍color4#508aaargb(80 138 170)hsl(201 36% 49%)oklch(60.7% 0.078 234.2)4.47 AA 大字級
洋紅color5#508aaargb(80 138 170)hsl(201 36% 49%)oklch(60.7% 0.078 234.2)4.47 AA 大字級
青color6#6ab0a3rgb(106 176 163)hsl(169 31% 55%)oklch(70.7% 0.074 180.9)6.72 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.90 AAA
亮黑color8#364155rgb(54 65 85)hsl(219 22% 27%)oklch(37.4% 0.037 262.2)1.65 低於 AA
亮紅color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.74 AA 大字級
亮綠color10#add3ccrgb(173 211 204)hsl(169 30% 75%)oklch(83.7% 0.041 182.9)10.44 AAA
亮黃color11#89a3bargb(137 163 186)hsl(208 26% 63%)oklch(70.4% 0.045 245.2)6.45 AA
亮藍color12#94b8ccrgb(148 184 204)hsl(201 35% 69%)oklch(76.3% 0.048 232.5)8.04 AAA
亮洋紅color13#94b8ccrgb(148 184 204)hsl(201 35% 69%)oklch(76.3% 0.048 232.5)8.04 AAA
亮青color14#add3ccrgb(173 211 204)hsl(169 30% 75%)oklch(83.7% 0.041 182.9)10.44 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.90 AAA

關於 Azure

Azure 採用冷色調的深色背景(#181d26),預設前景色為 #ffffff。內文的 WCAG 對比度為 16.90:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.28:1,最低 2.57:1。

色票整體色彩彩度偏低,其中紅色為 #ba0e2e、綠色為 #6ab0a3、藍色為 #508aaa、洋紅為 #508aaa。

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

與 Azure 相似的配色

資料來源:Rainglow (MIT)