跳到主要內容

Monokai Pro Classic

Monokai Pro Classic 是一套深色終端機配色,背景色 #272822,文字色 #fdfff1,對比度 14.7:1

取得設定檔
背景色
#272822
前景色
#fdfff1
文字對比度
14.69:1AAA
強調色對比度
7.77: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 Pro Classic 的設定檔

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

Monokai Pro Classic

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

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

palette = 0=#272822
palette = 1=#f92672
palette = 2=#a6e22e
palette = 3=#a9dc76
palette = 4=#66d9ef
palette = 5=#ab9df2
palette = 6=#5ad4e6
palette = 7=#fdfff1
palette = 8=#6e7066
palette = 9=#f92672
palette = 10=#a6e22e
palette = 11=#a9dc76
palette = 12=#66d9ef
palette = 13=#ab9df2
palette = 14=#5ad4e6
palette = 15=#fdfff1
background = #272822
foreground = #fdfff1
cursor-color = #c0c1b5
cursor-text = #272822
selection-background = #56574f
selection-foreground = #fdfff1

Monokai Pro Classic 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#272822rgb(39 40 34)hsl(70 8% 15%)oklch(27.4% 0.011 114.8)—
前景色foreground#fdfff1rgb(253 255 241)hsl(69 100% 97%)oklch(99.5% 0.018 113.3)14.69 AAA
游標cursor#c0c1b5rgb(192 193 181)hsl(65 9% 73%)oklch(80.7% 0.017 110.6)8.17 AAA
游標文字cursorText#272822rgb(39 40 34)hsl(70 8% 15%)oklch(27.4% 0.011 114.8)1.00 低於 AA
選取範圍selection#56574frgb(86 87 79)hsl(67 5% 33%)oklch(45.3% 0.013 112.7)2.03 低於 AA
選取文字selectionText#fdfff1rgb(253 255 241)hsl(69 100% 97%)oklch(99.5% 0.018 113.3)14.69 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#a9dc76rgb(169 220 118)hsl(90 59% 66%)oklch(83.6% 0.142 130.7)9.33 AAA
藍color4#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)9.01 AAA
洋紅color5#ab9df2rgb(171 157 242)hsl(250 77% 78%)oklch(74.1% 0.121 290.7)6.25 AA
青color6#5ad4e6rgb(90 212 230)hsl(188 74% 63%)oklch(80.8% 0.110 208.6)8.49 AAA
白color7#fdfff1rgb(253 255 241)hsl(69 100% 97%)oklch(99.5% 0.018 113.3)14.69 AAA
亮黑color8#6e7066rgb(110 112 102)hsl(72 5% 42%)oklch(54.0% 0.015 116.1)2.95 低於 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#a9dc76rgb(169 220 118)hsl(90 59% 66%)oklch(83.6% 0.142 130.7)9.33 AAA
亮藍color12#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)9.01 AAA
亮洋紅color13#ab9df2rgb(171 157 242)hsl(250 77% 78%)oklch(74.1% 0.121 290.7)6.25 AA
亮青color14#5ad4e6rgb(90 212 230)hsl(188 74% 63%)oklch(80.8% 0.110 208.6)8.49 AAA
亮白color15#fdfff1rgb(253 255 241)hsl(69 100% 97%)oklch(99.5% 0.018 113.3)14.69 AAA

關於 Monokai Pro Classic

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

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

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

與 Monokai Pro Classic 相似的配色

資料來源:Warp Themes (Apache-2.0)