跳到正文

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/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)