跳到主要內容

Monokai Dark

Monokai Dark 是一套深色終端機配色,背景色 #272822,文字色 #f8f8f2,對比度 13.9:1

取得設定檔
背景色
#272822
前景色
#f8f8f2
文字對比度
13.94:1AAA
強調色對比度
6.89:1最低 3.93
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
❯

Monokai Dark 的設定檔

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

Monokai Dark

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

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

palette = 0=#272822
palette = 1=#f92672
palette = 2=#a6e22e
palette = 3=#f4bf75
palette = 4=#66d9ef
palette = 5=#ae81ff
palette = 6=#2aa198
palette = 7=#f9f8f5
palette = 8=#75715e
palette = 9=#f92672
palette = 10=#a6e22e
palette = 11=#f4bf75
palette = 12=#66d9ef
palette = 13=#ae81ff
palette = 14=#2aa198
palette = 15=#f8f8f2
background = #272822
foreground = #f8f8f2
cursor-color = #f8f8f2
cursor-text = #272822
selection-background = #555650
selection-foreground = #f8f8f2

Monokai Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#272822rgb(39 40 34)hsl(70 8% 15%)oklch(27.4% 0.011 114.8)—
前景色foreground#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)13.94 AAA
游標cursor#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)13.94 AAA
游標文字cursorText#272822rgb(39 40 34)hsl(70 8% 15%)oklch(27.4% 0.011 114.8)1.00 低於 AA
選取範圍selection#555650rgb(85 86 80)hsl(70 4% 33%)oklch(45.0% 0.010 114.5)2.01 低於 AA
選取文字selectionText#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)13.94 AAA
黑color0#272822rgb(39 40 34)hsl(70 8% 15%)oklch(27.4% 0.011 114.8)1.00 低於 AA
紅color1#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)3.93 AA 大字級
綠color2#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)9.58 AAA
黃color3#f4bf75rgb(244 191 117)hsl(35 85% 71%)oklch(83.7% 0.110 74.6)8.89 AAA
藍color4#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)9.01 AAA
洋紅color5#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)5.23 AA
青color6#2aa198rgb(42 161 152)hsl(175 59% 40%)oklch(64.4% 0.102 187.4)4.71 AA
白color7#f9f8f5rgb(249 248 245)hsl(45 25% 97%)oklch(97.9% 0.004 91.4)14.00 AAA
亮黑color8#75715ergb(117 113 94)hsl(50 11% 41%)oklch(54.7% 0.029 97.4)3.03 AA 大字級
亮紅color9#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)3.93 AA 大字級
亮綠color10#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)9.58 AAA
亮黃color11#f4bf75rgb(244 191 117)hsl(35 85% 71%)oklch(83.7% 0.110 74.6)8.89 AAA
亮藍color12#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)9.01 AAA
亮洋紅color13#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)5.23 AA
亮青color14#2aa198rgb(42 161 152)hsl(175 59% 40%)oklch(64.4% 0.102 187.4)4.71 AA
亮白color15#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)13.94 AAA

關於 Monokai Dark

Monokai Dark 採用中性色調的深色背景(#272822),預設前景色為 #f8f8f2。內文的 WCAG 對比度為 13.94:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.89:1,最低 3.93:1。

色票整體色彩彩度適中,其中紅色為 #f92672、綠色為 #a6e22e、藍色為 #66d9ef、洋紅為 #ae81ff。此配色歸屬 Monokai 主題系列。

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

與 Monokai Dark 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)