跳到主要內容

Punk Bg

Punk Bg 是一套深色終端機配色(冷色),背景色 #0e051f,文字色 #b8e5ea,對比度 14.6:1

取得設定檔
背景色
#0e051f
前景色
#b8e5ea
文字對比度
14.56:1AAA
強調色對比度
5.52:1最低 1.36
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
❯

Punk Bg 的設定檔

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

Punk Bg

存到 ~/.config/ghostty/themes/Punk Bg,再在 config 或 config.ghostty 裡寫 theme = Punk Bg

更多 Ghostty 配色
原始檔
# Theme: Punk Bg (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/punk-bg?format=ghostty

palette = 0=#2e3436
palette = 1=#fd3057
palette = 2=#970230
palette = 3=#c4a000
palette = 4=#3465a4
palette = 5=#510a34
palette = 6=#076a7f
palette = 7=#d3d7cf
palette = 8=#555753
palette = 9=#ad0b44
palette = 10=#f63d5c
palette = 11=#fce94f
palette = 12=#66babc
palette = 13=#921e65
palette = 14=#51aac8
palette = 15=#eeeeec
background = #0e051f
foreground = #b8e5ea
cursor-color = #3f0a29
cursor-text = #0e051f
selection-background = #32344c
selection-foreground = #b8e5ea

Punk Bg 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0e051frgb(14 5 31)hsl(261 72% 7%)oklch(15.0% 0.055 296.3)—
前景色foreground#b8e5eargb(184 229 234)hsl(186 54% 82%)oklch(89.2% 0.047 204.7)14.56 AAA
游標cursor#3f0a29rgb(63 10 41)hsl(325 73% 14%)oklch(25.5% 0.088 349.4)1.21 低於 AA
游標文字cursorText#0e051frgb(14 5 31)hsl(261 72% 7%)oklch(15.0% 0.055 296.3)1.00 低於 AA
選取範圍selection#32344crgb(50 52 76)hsl(235 21% 25%)oklch(33.4% 0.042 280.2)1.63 低於 AA
選取文字selectionText#b8e5eargb(184 229 234)hsl(186 54% 82%)oklch(89.2% 0.047 204.7)14.56 AAA
黑color0#2e3436rgb(46 52 54)hsl(195 8% 20%)oklch(32.0% 0.009 219.8)1.57 低於 AA
紅color1#fd3057rgb(253 48 87)hsl(349 98% 59%)oklch(64.8% 0.235 17.5)5.41 AA
綠color2#970230rgb(151 2 48)hsl(341 97% 30%)oklch(43.1% 0.171 15.0)2.23 低於 AA
黃color3#c4a000rgb(196 160 0)hsl(49 100% 38%)oklch(71.8% 0.147 92.6)7.90 AAA
藍color4#3465a4rgb(52 101 164)hsl(214 52% 42%)oklch(50.4% 0.114 255.7)3.34 AA 大字級
洋紅color5#510a34rgb(81 10 52)hsl(325 78% 18%)oklch(29.5% 0.110 350.2)1.36 低於 AA
青color6#076a7frgb(7 106 127)hsl(191 90% 26%)oklch(48.5% 0.085 218.2)3.19 AA 大字級
白color7#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)13.57 AAA
亮黑color8#555753rgb(85 87 83)hsl(90 2% 33%)oklch(45.4% 0.007 128.6)2.71 低於 AA
亮紅color9#ad0b44rgb(173 11 68)hsl(339 88% 36%)oklch(48.1% 0.187 10.6)2.74 低於 AA
亮綠color10#f63d5crgb(246 61 92)hsl(350 91% 60%)oklch(64.6% 0.219 17.0)5.41 AA
亮黃color11#fce94frgb(252 233 79)hsl(53 97% 65%)oklch(92.3% 0.168 102.2)15.95 AAA
亮藍color12#66babcrgb(102 186 188)hsl(181 39% 57%)oklch(73.7% 0.082 197.5)8.79 AAA
亮洋紅color13#921e65rgb(146 30 101)hsl(323 66% 35%)oklch(45.2% 0.165 348.4)2.45 低於 AA
亮青color14#51aac8rgb(81 170 200)hsl(195 52% 55%)oklch(69.5% 0.095 222.9)7.48 AAA
亮白color15#eeeeecrgb(238 238 236)hsl(60 6% 93%)oklch(94.9% 0.003 106.5)17.05 AAA

關於 Punk Bg

Punk Bg 採用冷色調的深色背景(#0e051f),預設前景色為 #b8e5ea。內文的 WCAG 對比度為 14.56:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.52:1,最低 1.36:1。

色票整體色彩彩度適中,其中紅色為 #fd3057、綠色為 #970230、藍色為 #3465a4、洋紅為 #510a34。

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

與 Punk Bg 相似的配色

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