跳到正文

Monokai SublimeText

Monokai SublimeText 是一套深色终端配色,背景色 #272822,文字色 #f8f8f2,对比度 13.9:1

获取配置
背景色
#272822
前景色
#f8f8f2
文字对比度
13.94:1AAA
强调色对比度
6.06:1最低 2.68
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 SublimeText 的配置文件

16 种格式,都从同一份色板生成

Monokai SublimeText

存到 ~/.config/ghostty/themes/Monokai SublimeText,再在 config 或 config.ghostty 里写 theme = Monokai SublimeText

更多 Ghostty 配色
原始文件
# Theme: Monokai SublimeText (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/monokai-sublimetext?format=ghostty

palette = 0=#333333
palette = 1=#c4265e
palette = 2=#86b42b
palette = 3=#b3b42b
palette = 4=#6a7ec8
palette = 5=#8c6bc8
palette = 6=#56adbc
palette = 7=#e3e3dd
palette = 8=#666666
palette = 9=#f92672
palette = 10=#a6e22e
palette = 11=#e2e22e
palette = 12=#819aff
palette = 13=#ae81ff
palette = 14=#66d9ef
palette = 15=#f8f8f2
background = #272822
foreground = #f8f8f2
cursor-color = #f8f8f0
cursor-text = #272822
selection-background = #49483e
selection-foreground = #f8f8f2

Monokai SublimeText 色板

色板各槽位的色值及其相对背景的 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#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)13.93 AAA
光标文字cursorText#272822rgb(39 40 34)hsl(70 8% 15%)oklch(27.4% 0.011 114.8)1.00 低于 AA
选区selection#49483ergb(73 72 62)hsl(55 8% 26%)oklch(39.9% 0.016 102.4)1.61 低于 AA
选区文字selectionText#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)13.94 AAA
黑color0#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)1.18 低于 AA
红color1#c4265ergb(196 38 94)hsl(339 68% 46%)oklch(54.4% 0.194 6.1)2.68 低于 AA
绿color2#86b42brgb(134 180 43)hsl(80 61% 44%)oklch(71.2% 0.167 126.9)6.07 AA
黄color3#b3b42brgb(179 180 43)hsl(60 61% 44%)oklch(74.6% 0.150 110.0)6.71 AA
蓝color4#6a7ec8rgb(106 126 200)hsl(227 46% 60%)oklch(61.0% 0.115 271.2)3.84 AA 大字号
品红color5#8c6bc8rgb(140 107 200)hsl(261 46% 60%)oklch(60.1% 0.140 298.5)3.58 AA 大字号
青color6#56adbcrgb(86 173 188)hsl(189 43% 54%)oklch(70.0% 0.086 210.2)5.73 AA
白color7#e3e3ddrgb(227 227 221)hsl(60 10% 88%)oklch(91.4% 0.008 106.6)11.54 AAA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.59 低于 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#e2e22ergb(226 226 46)hsl(60 76% 53%)oklch(88.5% 0.182 109.6)10.72 AAA
亮蓝color12#819affrgb(129 154 255)hsl(228 100% 75%)oklch(71.1% 0.150 271.6)5.66 AA
亮品红color13#ae81ffrgb(174 129 255)hsl(261 100% 75%)oklch(70.1% 0.181 298.1)5.23 AA
亮青color14#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)9.01 AAA
亮白color15#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)13.94 AAA

关于 Monokai SublimeText

Monokai SublimeText 采用中性色调的深色背景(#272822),默认前景色为 #f8f8f2。正文的 WCAG 对比度为 13.94:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.06:1,最低 2.68:1。

色板整体色彩饱和度适中,其中红色为 #c4265e、绿色为 #86b42b、蓝色为 #6a7ec8、品红为 #8c6bc8。该配色归属 Monokai 主题系列。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Monokai SublimeText 相似的配色

数据来源:iTerm2 Color Schemes (MIT)