跳到主要內容

Marrakesh

Marrakesh 是一套深色終端機配色(柔和、暖色),背景色 #201602,文字色 #948e48,對比度 5.3:1

取得設定檔
背景色
#201602
前景色
#948e48
文字對比度
5.29:1AA
強調色對比度
4.66:1最低 3.96
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
❯

Marrakesh 的設定檔

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

Marrakesh

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

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

palette = 0=#201602
palette = 1=#c35359
palette = 2=#18974e
palette = 3=#a88339
palette = 4=#477ca1
palette = 5=#8868b3
palette = 6=#75a738
palette = 7=#948e48
palette = 8=#6c6823
palette = 9=#c35359
palette = 10=#18974e
palette = 11=#a88339
palette = 12=#477ca1
palette = 13=#8868b3
palette = 14=#75a738
palette = 15=#faf0a5
background = #201602
foreground = #948e48
cursor-color = #948e48
cursor-text = #201602
selection-background = #3a310f
selection-foreground = #948e48

Marrakesh 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#201602rgb(32 22 2)hsl(40 88% 7%)oklch(20.8% 0.039 84.2)—
前景色foreground#948e48rgb(148 142 72)hsl(55 35% 43%)oklch(63.6% 0.092 104.3)5.29 AA
光標cursor#948e48rgb(148 142 72)hsl(55 35% 43%)oklch(63.6% 0.092 104.3)5.29 AA
光標文字cursorText#201602rgb(32 22 2)hsl(40 88% 7%)oklch(20.8% 0.039 84.2)1.00 低於 AA
選取範圍selection#3a310frgb(58 49 15)hsl(47 59% 14%)oklch(31.5% 0.052 94.4)1.38 低於 AA
選取文字selectionText#948e48rgb(148 142 72)hsl(55 35% 43%)oklch(63.6% 0.092 104.3)5.29 AA
黑color0#201602rgb(32 22 2)hsl(40 88% 7%)oklch(20.8% 0.039 84.2)1.00 低於 AA
紅color1#c35359rgb(195 83 89)hsl(357 48% 55%)oklch(58.7% 0.144 19.4)3.99 AA 大字體
綠color2#18974ergb(24 151 78)hsl(146 73% 34%)oklch(59.5% 0.151 151.6)4.74 AA
黃color3#a88339rgb(168 131 57)hsl(40 49% 44%)oklch(63.1% 0.102 82.2)5.07 AA
藍color4#477ca1rgb(71 124 161)hsl(205 39% 45%)oklch(56.5% 0.081 240.7)3.96 AA 大字體
洋紅color5#8868b3rgb(136 104 179)hsl(266 33% 55%)oklch(58.0% 0.116 302.6)3.97 AA 大字體
青color6#75a738rgb(117 167 56)hsl(87 50% 44%)oklch(67.0% 0.151 130.4)6.24 AA
白color7#948e48rgb(148 142 72)hsl(55 35% 43%)oklch(63.6% 0.092 104.3)5.29 AA
亮黑color8#6c6823rgb(108 104 35)hsl(57 51% 28%)oklch(50.7% 0.090 106.0)3.09 AA 大字體
亮紅color9#c35359rgb(195 83 89)hsl(357 48% 55%)oklch(58.7% 0.144 19.4)3.99 AA 大字體
亮綠color10#18974ergb(24 151 78)hsl(146 73% 34%)oklch(59.5% 0.151 151.6)4.74 AA
亮黃color11#a88339rgb(168 131 57)hsl(40 49% 44%)oklch(63.1% 0.102 82.2)5.07 AA
亮藍color12#477ca1rgb(71 124 161)hsl(205 39% 45%)oklch(56.5% 0.081 240.7)3.96 AA 大字體
亮洋紅color13#8868b3rgb(136 104 179)hsl(266 33% 55%)oklch(58.0% 0.116 302.6)3.97 AA 大字體
亮青color14#75a738rgb(117 167 56)hsl(87 50% 44%)oklch(67.0% 0.151 130.4)6.24 AA
亮白color15#faf0a5rgb(250 240 165)hsl(53 89% 81%)oklch(94.6% 0.095 101.5)15.35 AAA

關於 Marrakesh

Marrakesh 採用暖色調的深色背景(#201602),預設前景色為 #948e48。正文的 WCAG 對比度為 5.29:1(AA),12 種 ANSI 彩色槽位平均對比度 4.66:1,最低 3.96:1。

色板整體色彩飽和度適中,其中紅色為 #c35359、綠色為 #18974e、藍色為 #477ca1、洋紅為 #8868b3。

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

與 Marrakesh 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)