跳到主要內容

Penumbra Dark

Penumbra Dark 是一套深色終端機配色,背景色 #24272b,文字色 #bebebe,對比度 8.1:1

取得設定檔
背景色
#24272b
前景色
#bebebe
文字對比度
8.07:1AAA
強調色對比度
4.67:1最低 4.41
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
❯

Penumbra Dark 的設定檔

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

Penumbra Dark

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

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

palette = 0=#24272b
palette = 1=#ca736c
palette = 2=#47a477
palette = 3=#8d9741
palette = 4=#5794d0
palette = 5=#9481cc
palette = 6=#00a2af
palette = 7=#bebebe
palette = 8=#636363
palette = 9=#ca736c
palette = 10=#47a477
palette = 11=#8d9741
palette = 12=#5794d0
palette = 13=#9481cc
palette = 14=#00a2af
palette = 15=#fffdfb
background = #24272b
foreground = #bebebe
cursor-color = #bebebe
cursor-text = #24272b
selection-background = #46494c
selection-foreground = #bebebe

Penumbra Dark 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#24272brgb(36 39 43)hsl(214 9% 15%)oklch(27.1% 0.009 255.6)—
前景色foreground#bebebergb(190 190 190)hsl(0 0% 75%)oklch(80.2% 0.000 0)8.07 AAA
光標cursor#bebebergb(190 190 190)hsl(0 0% 75%)oklch(80.2% 0.000 0)8.07 AAA
光標文字cursorText#24272brgb(36 39 43)hsl(214 9% 15%)oklch(27.1% 0.009 255.6)1.00 低於 AA
選取範圍selection#46494crgb(70 73 76)hsl(210 4% 29%)oklch(40.4% 0.006 248.0)1.66 低於 AA
選取文字selectionText#bebebergb(190 190 190)hsl(0 0% 75%)oklch(80.2% 0.000 0)8.07 AAA
黑color0#24272brgb(36 39 43)hsl(214 9% 15%)oklch(27.1% 0.009 255.6)1.00 低於 AA
紅color1#ca736crgb(202 115 108)hsl(4 47% 61%)oklch(65.0% 0.111 25.4)4.41 AA 大字體
綠color2#47a477rgb(71 164 119)hsl(151 40% 46%)oklch(65.0% 0.112 159.8)4.89 AA
黃color3#8d9741rgb(141 151 65)hsl(67 40% 42%)oklch(65.0% 0.111 115.1)4.74 AA
藍color4#5794d0rgb(87 148 208)hsl(210 56% 58%)oklch(65.1% 0.110 249.5)4.68 AA
洋紅color5#9481ccrgb(148 129 204)hsl(255 42% 65%)oklch(65.0% 0.111 294.8)4.48 AA 大字體
青color6#00a2afrgb(0 162 175)hsl(184 100% 34%)oklch(65.0% 0.111 204.9)4.85 AA
白color7#bebebergb(190 190 190)hsl(0 0% 75%)oklch(80.2% 0.000 0)8.07 AAA
亮黑color8#636363rgb(99 99 99)hsl(0 0% 39%)oklch(50.0% 0.000 0)2.50 低於 AA
亮紅color9#ca736crgb(202 115 108)hsl(4 47% 61%)oklch(65.0% 0.111 25.4)4.41 AA 大字體
亮綠color10#47a477rgb(71 164 119)hsl(151 40% 46%)oklch(65.0% 0.112 159.8)4.89 AA
亮黃color11#8d9741rgb(141 151 65)hsl(67 40% 42%)oklch(65.0% 0.111 115.1)4.74 AA
亮藍color12#5794d0rgb(87 148 208)hsl(210 56% 58%)oklch(65.1% 0.110 249.5)4.68 AA
亮洋紅color13#9481ccrgb(148 129 204)hsl(255 42% 65%)oklch(65.0% 0.111 294.8)4.48 AA 大字體
亮青color14#00a2afrgb(0 162 175)hsl(184 100% 34%)oklch(65.0% 0.111 204.9)4.85 AA
亮白color15#fffdfbrgb(255 253 251)hsl(30 100% 99%)oklch(99.5% 0.003 67.8)14.78 AAA

關於 Penumbra Dark

Penumbra Dark 採用中性色調的深色背景(#24272b),預設前景色為 #bebebe。正文的 WCAG 對比度為 8.07:1(AAA),12 種 ANSI 彩色槽位平均對比度 4.67:1,最低 4.41:1。

色板整體色彩飽和度適中,其中紅色為 #ca736c、綠色為 #47a477、藍色為 #5794d0、洋紅為 #9481cc。該配色歸屬 Penumbra 主題系列。

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

與 Penumbra Dark 相似的配色

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