跳到主要內容

Papel

Papel 是一套淺色終端機配色(暖色),背景色 #f5efe2,文字色 #3a2e20,對比度 11.5:1

取得設定檔
背景色
#f5efe2
前景色
#3a2e20
文字對比度
11.52:1AAA
強調色對比度
4.30:1最低 3.48
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
❯

Papel 的設定檔

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

Papel

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

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

palette = 0=#f5efe2
palette = 1=#c0392b
palette = 2=#5e7a28
palette = 3=#a8761a
palette = 4=#2c6ca0
palette = 5=#9b4d8e
palette = 6=#2a8a7a
palette = 7=#3a2e20
palette = 8=#9a8c76
palette = 9=#c0392b
palette = 10=#5e7a28
palette = 11=#a8761a
palette = 12=#2c6ca0
palette = 13=#9b4d8e
palette = 14=#2a8a7a
palette = 15=#efe8d8
background = #f5efe2
foreground = #3a2e20
cursor-color = #3a2e20
cursor-text = #f5efe2
selection-background = #c2baad
selection-foreground = #3a2e20

Papel 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#f5efe2rgb(245 239 226)hsl(41 49% 92%)oklch(95.3% 0.018 86.1)—
前景色foreground#3a2e20rgb(58 46 32)hsl(32 29% 18%)oklch(31.0% 0.029 70.7)11.52 AAA
光標cursor#3a2e20rgb(58 46 32)hsl(32 29% 18%)oklch(31.0% 0.029 70.7)11.52 AAA
光標文字cursorText#f5efe2rgb(245 239 226)hsl(41 49% 92%)oklch(95.3% 0.018 86.1)1.00 低於 AA
選取範圍selection#c2baadrgb(194 186 173)hsl(37 15% 72%)oklch(79.2% 0.020 80.1)1.68 低於 AA
選取文字selectionText#3a2e20rgb(58 46 32)hsl(32 29% 18%)oklch(31.0% 0.029 70.7)11.52 AAA
黑color0#f5efe2rgb(245 239 226)hsl(41 49% 92%)oklch(95.3% 0.018 86.1)1.00 低於 AA
紅color1#c0392brgb(192 57 43)hsl(6 63% 46%)oklch(54.3% 0.174 29.7)4.75 AA
綠color2#5e7a28rgb(94 122 40)hsl(80 51% 32%)oklch(54.0% 0.114 126.1)4.27 AA 大字體
黃color3#a8761argb(168 118 26)hsl(39 73% 38%)oklch(60.2% 0.118 76.8)3.48 AA 大字體
藍color4#2c6ca0rgb(44 108 160)hsl(207 57% 40%)oklch(51.5% 0.105 246.4)4.87 AA
洋紅color5#9b4d8ergb(155 77 142)hsl(310 34% 45%)oklch(53.9% 0.133 333.9)4.77 AA
青color6#2a8a7argb(42 138 122)hsl(170 53% 35%)oklch(57.4% 0.091 179.5)3.65 AA 大字體
白color7#3a2e20rgb(58 46 32)hsl(32 29% 18%)oklch(31.0% 0.029 70.7)11.52 AAA
亮黑color8#9a8c76rgb(154 140 118)hsl(37 15% 53%)oklch(64.6% 0.036 79.1)2.87 低於 AA
亮紅color9#c0392brgb(192 57 43)hsl(6 63% 46%)oklch(54.3% 0.174 29.7)4.75 AA
亮綠color10#5e7a28rgb(94 122 40)hsl(80 51% 32%)oklch(54.0% 0.114 126.1)4.27 AA 大字體
亮黃color11#a8761argb(168 118 26)hsl(39 73% 38%)oklch(60.2% 0.118 76.8)3.48 AA 大字體
亮藍color12#2c6ca0rgb(44 108 160)hsl(207 57% 40%)oklch(51.5% 0.105 246.4)4.87 AA
亮洋紅color13#9b4d8ergb(155 77 142)hsl(310 34% 45%)oklch(53.9% 0.133 333.9)4.77 AA
亮青color14#2a8a7argb(42 138 122)hsl(170 53% 35%)oklch(57.4% 0.091 179.5)3.65 AA 大字體
亮白color15#efe8d8rgb(239 232 216)hsl(42 42% 89%)oklch(93.2% 0.023 87.2)1.07 低於 AA

關於 Papel

Papel 採用暖色調的淺色背景(#f5efe2),預設前景色為 #3a2e20。正文的 WCAG 對比度為 11.52:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.30:1,最低 3.48:1。

色板整體色彩飽和度適中,其中紅色為 #c0392b、綠色為 #5e7a28、藍色為 #2c6ca0、洋紅為 #9b4d8e。

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

與 Papel 相似的配色

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