跳到主要內容

Monokai Vivid

Monokai Vivid 是一套深色終端機配色(鮮艷),背景色 #121212,文字色 #f9f9f9,對比度 17.8:1

取得設定檔
背景色
#121212
前景色
#f9f9f9
文字對比度
17.79:1AAA
強調色對比度
8.57:1最低 2.90
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 Vivid 的設定檔

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

Monokai Vivid

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

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

palette = 0=#121212
palette = 1=#fa2934
palette = 2=#98e123
palette = 3=#fff30a
palette = 4=#0443ff
palette = 5=#f800f8
palette = 6=#01b6ed
palette = 7=#ffffff
palette = 8=#838383
palette = 9=#f6669d
palette = 10=#b1e05f
palette = 11=#fff26d
palette = 12=#0443ff
palette = 13=#f200f6
palette = 14=#51ceff
palette = 15=#ffffff
background = #121212
foreground = #f9f9f9
cursor-color = #fb0007
cursor-text = #ea0009
selection-background = #ffffff
selection-foreground = #000000

Monokai Vivid 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#121212rgb(18 18 18)hsl(0 0% 7%)oklch(18.2% 0.000 0)—
前景色foreground#f9f9f9rgb(249 249 249)hsl(0 0% 98%)oklch(98.2% 0.000 0)17.79 AAA
光標cursor#fb0007rgb(251 0 7)hsl(358 100% 49%)oklch(62.1% 0.254 28.8)4.55 AA
光標文字cursorText#ea0009rgb(234 0 9)hsl(358 100% 46%)oklch(58.9% 0.241 28.6)4.02 AA 大字體
選取範圍selection#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.73 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.12 低於 AA
黑color0#121212rgb(18 18 18)hsl(0 0% 7%)oklch(18.2% 0.000 0)1.00 低於 AA
紅color1#fa2934rgb(250 41 52)hsl(357 95% 57%)oklch(63.4% 0.238 25.5)4.85 AA
綠color2#98e123rgb(152 225 35)hsl(83 76% 51%)oklch(83.0% 0.214 129.9)11.71 AAA
黃color3#fff30argb(255 243 10)hsl(57 100% 52%)oklch(94.3% 0.200 106.0)16.13 AAA
藍color4#0443ffrgb(4 67 255)hsl(225 100% 51%)oklch(50.6% 0.277 263.9)2.90 低於 AA
洋紅color5#f800f8rgb(248 0 248)hsl(300 100% 49%)oklch(68.7% 0.316 328.4)5.66 AA
青color6#01b6edrgb(1 182 237)hsl(194 99% 47%)oklch(72.6% 0.143 228.9)7.95 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.73 AAA
亮黑color8#838383rgb(131 131 131)hsl(0 0% 51%)oklch(61.0% 0.000 0)4.94 AA
亮紅color9#f6669drgb(246 102 157)hsl(337 89% 68%)oklch(70.5% 0.184 359.1)6.52 AA
亮綠color10#b1e05frgb(177 224 95)hsl(82 68% 63%)oklch(84.8% 0.165 126.5)12.22 AAA
亮黃color11#fff26drgb(255 242 109)hsl(55 100% 71%)oklch(94.6% 0.153 103.7)16.21 AAA
亮藍color12#0443ffrgb(4 67 255)hsl(225 100% 51%)oklch(50.6% 0.277 263.9)2.90 低於 AA
亮洋紅color13#f200f6rgb(242 0 246)hsl(299 100% 48%)oklch(67.7% 0.312 327.5)5.45 AA
亮青color14#51ceffrgb(81 206 255)hsl(197 100% 66%)oklch(80.2% 0.129 227.8)10.37 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.73 AAA

關於 Monokai Vivid

Monokai Vivid 採用中性色調的深色背景(#121212),預設前景色為 #f9f9f9。正文的 WCAG 對比度為 17.79:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.57:1,最低 2.90:1。

色板整體色彩飽和度較高,其中紅色為 #fa2934、綠色為 #98e123、藍色為 #0443ff、洋紅為 #f800f8。該配色歸屬 Monokai 主題系列。

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

與 Monokai Vivid 相似的配色

資料來源:iTerm2 Color Schemes (MIT)