跳到主要內容

Digerati

Digerati 是一套深色終端機配色(純黑),背景色 #000000,文字色 #ffffff,對比度 21.0:1

取得設定檔
背景色
#000000
前景色
#ffffff
文字對比度
21.00:1AAA
強調色對比度
7.79:1最低 3.02
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
❯

Digerati 的設定檔

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

Digerati

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

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

palette = 0=#303030
palette = 1=#c03000
palette = 2=#b1d631
palette = 3=#fecf35
palette = 4=#426870
palette = 5=#6d506d
palette = 6=#4bb5c1
palette = 7=#e2e2e5
palette = 8=#5f5f5f
palette = 9=#ff3a78
palette = 10=#a6cd07
palette = 11=#b5c865
palette = 12=#4a7781
palette = 13=#ff3b77
palette = 14=#4bb5c1
palette = 15=#e2e2e5
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

Digerati 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#303030rgb(48 48 48)hsl(0 0% 19%)oklch(30.9% 0.000 0)1.59 低於 AA
紅color1#c03000rgb(192 48 0)hsl(15 100% 38%)oklch(53.2% 0.186 35.0)3.66 AA 大字體
綠color2#b1d631rgb(177 214 49)hsl(73 67% 52%)oklch(82.1% 0.184 122.0)12.53 AAA
黃color3#fecf35rgb(254 207 53)hsl(46 99% 60%)oklch(87.2% 0.165 90.5)14.19 AAA
藍color4#426870rgb(66 104 112)hsl(190 26% 35%)oklch(49.2% 0.045 212.4)3.45 AA 大字體
洋紅color5#6d506drgb(109 80 109)hsl(300 15% 37%)oklch(47.2% 0.058 326.5)3.02 AA 大字體
青color6#4bb5c1rgb(75 181 193)hsl(186 49% 53%)oklch(71.7% 0.098 205.5)8.68 AAA
白color7#e2e2e5rgb(226 226 229)hsl(240 5% 89%)oklch(91.4% 0.004 286.3)16.24 AAA
亮黑color8#5f5f5frgb(95 95 95)hsl(0 0% 37%)oklch(48.5% 0.000 0)3.29 AA 大字體
亮紅color9#ff3a78rgb(255 58 120)hsl(341 100% 61%)oklch(66.5% 0.232 8.1)6.13 AA
亮綠color10#a6cd07rgb(166 205 7)hsl(72 93% 42%)oklch(79.1% 0.192 122.4)11.36 AAA
亮黃color11#b5c865rgb(181 200 101)hsl(72 47% 59%)oklch(79.7% 0.127 118.3)11.41 AAA
亮藍color12#4a7781rgb(74 119 129)hsl(191 27% 40%)oklch(54.1% 0.052 213.3)4.25 AA 大字體
亮洋紅color13#ff3b77rgb(255 59 119)hsl(342 100% 62%)oklch(66.6% 0.231 8.6)6.14 AA
亮青color14#4bb5c1rgb(75 181 193)hsl(186 49% 53%)oklch(71.7% 0.098 205.5)8.68 AAA
亮白color15#e2e2e5rgb(226 226 229)hsl(240 5% 89%)oklch(91.4% 0.004 286.3)16.24 AAA

關於 Digerati

Digerati 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.79:1,最低 3.02:1。

色板整體色彩飽和度適中,其中紅色為 #c03000、綠色為 #b1d631、藍色為 #426870、洋紅為 #6d506d。

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

與 Digerati 相似的配色

資料來源:terminal.sexy (MIT)