跳到主要內容

Darkmatrix

Darkmatrix 是一套深色終端機配色(純黑、柔和),背景色 #070c0e,文字色 #3e5715,對比度 2.4:1

取得設定檔
背景色
#070c0e
前景色
#3e5715
文字對比度
2.41:1低於 AA
強調色對比度
5.64:1最低 1.64
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
❯

Darkmatrix 的設定檔

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

Darkmatrix

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

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

palette = 0=#091013
palette = 1=#006536
palette = 2=#6fa64c
palette = 3=#7e8000
palette = 4=#2c9a84
palette = 5=#452d53
palette = 6=#114d53
palette = 7=#006536
palette = 8=#333333
palette = 9=#00733d
palette = 10=#90d762
palette = 11=#e2e500
palette = 12=#46d8b8
palette = 13=#4a3059
palette = 14=#12545a
palette = 15=#006536
background = #070c0e
foreground = #3e5715
cursor-color = #9fa86e
cursor-text = #00ff87
selection-background = #0f191c
selection-foreground = #00ff87

Darkmatrix 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#070c0ergb(7 12 14)hsl(197 33% 4%)oklch(15.0% 0.010 222.9)—
前景色foreground#3e5715rgb(62 87 21)hsl(83 61% 21%)oklch(42.2% 0.096 128.1)2.41 低於 AA
游標cursor#9fa86ergb(159 168 110)hsl(69 25% 55%)oklch(71.0% 0.079 115.6)7.77 AAA
游標文字cursorText#00ff87rgb(0 255 135)hsl(152 100% 50%)oklch(87.6% 0.229 152.4)14.66 AAA
選取範圍selection#0f191crgb(15 25 28)hsl(194 30% 8%)oklch(20.5% 0.016 218.3)1.10 低於 AA
選取文字selectionText#00ff87rgb(0 255 135)hsl(152 100% 50%)oklch(87.6% 0.229 152.4)14.66 AAA
黑color0#091013rgb(9 16 19)hsl(198 36% 5%)oklch(16.7% 0.013 226.1)1.03 低於 AA
紅color1#006536rgb(0 101 54)hsl(152 100% 20%)oklch(44.5% 0.112 154.3)2.73 低於 AA
綠color2#6fa64crgb(111 166 76)hsl(97 37% 47%)oklch(66.6% 0.135 134.7)6.77 AA
黃color3#7e8000rgb(126 128 0)hsl(61 100% 25%)oklch(57.9% 0.127 110.9)4.66 AA
藍color4#2c9a84rgb(44 154 132)hsl(168 56% 39%)oklch(62.0% 0.103 176.3)5.68 AA
洋紅color5#452d53rgb(69 45 83)hsl(278 30% 25%)oklch(34.3% 0.071 312.2)1.64 低於 AA
青color6#114d53rgb(17 77 83)hsl(185 66% 20%)oklch(38.6% 0.059 204.9)2.07 低於 AA
白color7#006536rgb(0 101 54)hsl(152 100% 20%)oklch(44.5% 0.112 154.3)2.73 低於 AA
亮黑color8#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)1.56 低於 AA
亮紅color9#00733drgb(0 115 61)hsl(152 100% 23%)oklch(48.7% 0.124 153.7)3.30 AA 大字級
亮綠color10#90d762rgb(144 215 98)hsl(96 59% 61%)oklch(80.7% 0.167 134.6)11.31 AAA
亮黃color11#e2e500rgb(226 229 0)hsl(61 100% 45%)oklch(89.0% 0.195 110.7)14.46 AAA
亮藍color12#46d8b8rgb(70 216 184)hsl(167 65% 56%)oklch(79.7% 0.131 175.0)11.03 AAA
亮洋紅color13#4a3059rgb(74 48 89)hsl(278 30% 27%)oklch(35.8% 0.075 312.3)1.74 低於 AA
亮青color14#12545argb(18 84 90)hsl(185 67% 21%)oklch(40.9% 0.063 204.1)2.29 低於 AA
亮白color15#006536rgb(0 101 54)hsl(152 100% 20%)oklch(44.5% 0.112 154.3)2.73 低於 AA

關於 Darkmatrix

Darkmatrix 採用中性色調的深色背景(#070c0e),預設前景色為 #3e5715。內文的 WCAG 對比度為 2.41:1(低於 AA),12 種 ANSI 彩色槽位平均對比度 5.64:1,最低 1.64:1。

色票整體色彩彩度適中,其中紅色為 #006536、綠色為 #6fa64c、藍色為 #2c9a84、洋紅為 #452d53。

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

與 Darkmatrix 相似的配色

資料來源:iTerm2 Color Schemes (MIT)