跳到主要內容

Dimmed Monokai

Dimmed Monokai 是一套深色終端機配色,背景色 #1f1f1f,文字色 #b9bcba,對比度 8.6:1

取得設定檔
背景色
#1f1f1f
前景色
#b9bcba
文字對比度
8.61:1AAA
強調色對比度
4.02:1最低 2.72
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
❯

Dimmed Monokai 的設定檔

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

Dimmed Monokai

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

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

palette = 0=#3a3d43
palette = 1=#be3f48
palette = 2=#879a3b
palette = 3=#c5a635
palette = 4=#4f76a1
palette = 5=#855c8d
palette = 6=#578fa4
palette = 7=#b9bcba
palette = 8=#888987
palette = 9=#fb001f
palette = 10=#0f722f
palette = 11=#c47033
palette = 12=#186de3
palette = 13=#fb0067
palette = 14=#2e706d
palette = 15=#fdffb9
background = #1f1f1f
foreground = #b9bcba
cursor-color = #f83e19
cursor-text = #171717
selection-background = #2a2d32
selection-foreground = #b9bcba

Dimmed Monokai 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1f1f1frgb(31 31 31)hsl(0 0% 12%)oklch(23.9% 0.000 0)—
前景色foreground#b9bcbargb(185 188 186)hsl(140 2% 73%)oklch(79.2% 0.004 157.2)8.61 AAA
游標cursor#f83e19rgb(248 62 25)hsl(10 94% 54%)oklch(64.3% 0.226 32.7)4.47 AA 大字級
游標文字cursorText#171717rgb(23 23 23)hsl(0 0% 9%)oklch(20.5% 0.000 0)1.09 低於 AA
選取範圍selection#2a2d32rgb(42 45 50)hsl(217 9% 18%)oklch(29.6% 0.010 260.7)1.19 低於 AA
選取文字selectionText#b9bcbargb(185 188 186)hsl(140 2% 73%)oklch(79.2% 0.004 157.2)8.61 AAA
黑color0#3a3d43rgb(58 61 67)hsl(220 7% 25%)oklch(35.9% 0.011 264.4)1.51 低於 AA
紅color1#be3f48rgb(190 63 72)hsl(356 50% 50%)oklch(55.1% 0.162 20.3)3.13 AA 大字級
綠color2#879a3brgb(135 154 59)hsl(72 45% 42%)oklch(65.2% 0.122 119.5)5.27 AA
黃color3#c5a635rgb(197 166 53)hsl(47 58% 49%)oklch(73.3% 0.132 93.1)6.97 AA
藍color4#4f76a1rgb(79 118 161)hsl(211 34% 47%)oklch(55.5% 0.081 251.7)3.48 AA 大字級
洋紅color5#855c8drgb(133 92 141)hsl(290 21% 46%)oklch(53.6% 0.089 320.9)3.07 AA 大字級
青color6#578fa4rgb(87 143 164)hsl(196 31% 49%)oklch(61.9% 0.067 224.0)4.61 AA
白color7#b9bcbargb(185 188 186)hsl(140 2% 73%)oklch(79.2% 0.004 157.2)8.61 AAA
亮黑color8#888987rgb(136 137 135)hsl(90 1% 53%)oklch(62.9% 0.003 128.5)4.69 AA
亮紅color9#fb001frgb(251 0 31)hsl(353 100% 49%)oklch(62.2% 0.253 26.7)4.02 AA 大字級
亮綠color10#0f722frgb(15 114 47)hsl(139 77% 25%)oklch(48.4% 0.133 148.2)2.72 低於 AA
亮黃color11#c47033rgb(196 112 51)hsl(25 59% 48%)oklch(62.8% 0.130 53.6)4.48 AA 大字級
亮藍color12#186de3rgb(24 109 227)hsl(215 81% 49%)oklch(55.7% 0.196 258.6)3.40 AA 大字級
亮洋紅color13#fb0067rgb(251 0 103)hsl(335 100% 49%)oklch(63.2% 0.253 9.7)4.16 AA 大字級
亮青color14#2e706drgb(46 112 109)hsl(177 42% 31%)oklch(50.2% 0.067 191.2)2.87 低於 AA
亮白color15#fdffb9rgb(253 255 185)hsl(62 100% 86%)oklch(98.2% 0.089 109.3)15.84 AAA

關於 Dimmed Monokai

Dimmed Monokai 採用中性色調的深色背景(#1f1f1f),預設前景色為 #b9bcba。內文的 WCAG 對比度為 8.61:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.02:1,最低 2.72:1。

色票整體色彩彩度適中,其中紅色為 #be3f48、綠色為 #879a3b、藍色為 #4f76a1、洋紅為 #855c8d。此配色歸屬 Monokai 主題系列。

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

與 Dimmed Monokai 相似的配色

資料來源:iTerm2 Color Schemes (MIT)