跳到主要內容

Monokai Charcoal

Monokai Charcoal 是一套深色終端機配色(純黑、鮮艷),背景色 #000000,文字色 #ffffff,對比度 21.0:1

取得設定檔
背景色
#000000
前景色
#ffffff
文字對比度
21.00:1AAA
強調色對比度
8.61:1最低 5.01
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 Charcoal 的設定檔

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

Monokai Charcoal

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

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

palette = 0=#1a1a1a
palette = 1=#f4005f
palette = 2=#98e024
palette = 3=#fa8419
palette = 4=#9d65ff
palette = 5=#f4005f
palette = 6=#58d1eb
palette = 7=#c4c5b5
palette = 8=#625e4c
palette = 9=#f4005f
palette = 10=#98e024
palette = 11=#e0d561
palette = 12=#9d65ff
palette = 13=#f4005f
palette = 14=#58d1eb
palette = 15=#f6f6ef
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

Monokai Charcoal 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低於 AA
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.21 低於 AA
紅color1#f4005frgb(244 0 95)hsl(337 100% 48%)oklch(61.7% 0.247 11.2)5.01 AA
綠color2#98e024rgb(152 224 36)hsl(83 75% 51%)oklch(82.8% 0.213 129.8)13.02 AAA
黃color3#fa8419rgb(250 132 25)hsl(29 96% 54%)oklch(73.2% 0.176 54.4)8.38 AAA
藍color4#9d65ffrgb(157 101 255)hsl(262 100% 70%)oklch(64.2% 0.219 296.5)5.74 AA
洋紅color5#f4005frgb(244 0 95)hsl(337 100% 48%)oklch(61.7% 0.247 11.2)5.01 AA
青color6#58d1ebrgb(88 209 235)hsl(191 79% 63%)oklch(80.2% 0.113 214.3)11.73 AAA
白color7#c4c5b5rgb(196 197 181)hsl(64 12% 74%)oklch(81.8% 0.022 109.8)12.00 AAA
亮黑color8#625e4crgb(98 94 76)hsl(49 13% 34%)oklch(48.0% 0.028 96.9)3.22 AA 大字體
亮紅color9#f4005frgb(244 0 95)hsl(337 100% 48%)oklch(61.7% 0.247 11.2)5.01 AA
亮綠color10#98e024rgb(152 224 36)hsl(83 75% 51%)oklch(82.8% 0.213 129.8)13.02 AAA
亮黃color11#e0d561rgb(224 213 97)hsl(55 67% 63%)oklch(85.9% 0.137 103.9)13.86 AAA
亮藍color12#9d65ffrgb(157 101 255)hsl(262 100% 70%)oklch(64.2% 0.219 296.5)5.74 AA
亮洋紅color13#f4005frgb(244 0 95)hsl(337 100% 48%)oklch(61.7% 0.247 11.2)5.01 AA
亮青color14#58d1ebrgb(88 209 235)hsl(191 79% 63%)oklch(80.2% 0.113 214.3)11.73 AAA
亮白color15#f6f6efrgb(246 246 239)hsl(60 28% 95%)oklch(97.1% 0.009 106.6)19.35 AAA

關於 Monokai Charcoal

Monokai Charcoal 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.61:1,最低 5.01:1。

色板整體色彩飽和度較高,其中紅色為 #f4005f、綠色為 #98e024、藍色為 #9d65ff、洋紅為 #f4005f。該配色歸屬 Monokai 主題系列。

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

與 Monokai Charcoal 相似的配色

資料來源:Alacritty Theme (Apache-2.0)