跳到主要內容

iTerm2 Pastel Dark Background

iTerm2 Pastel Dark Background 是一套深色終端機配色(純黑、粉彩),背景色 #000000,文字色 #c7c7c7,對比度 12.4:1

取得設定檔
背景色
#000000
前景色
#c7c7c7
文字對比度
12.42:1AAA
強調色對比度
15.25:1最低 8.75
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
❯

iTerm2 Pastel Dark Background 的設定檔

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

iTerm2 Pastel Dark Background

存到 ~/.config/ghostty/themes/iTerm2 Pastel Dark Background,再在 config 或 config.ghostty 裡寫 theme = iTerm2 Pastel Dark Background

更多 Ghostty 配色
原始檔
# Theme: iTerm2 Pastel Dark Background (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/iterm2-pastel-dark-background?format=ghostty

palette = 0=#626262
palette = 1=#ff8373
palette = 2=#b4fb73
palette = 3=#fffdc3
palette = 4=#a5d5fe
palette = 5=#ff90fe
palette = 6=#d1d1fe
palette = 7=#f1f1f1
palette = 8=#8f8f8f
palette = 9=#ffc4be
palette = 10=#d6fcba
palette = 11=#fffed5
palette = 12=#c2e3ff
palette = 13=#ffb2fe
palette = 14=#e6e6fe
palette = 15=#ffffff
background = #000000
foreground = #c7c7c7
cursor-color = #ffb473
cursor-text = #ffffff
selection-background = #454d96
selection-foreground = #f4f4f4

iTerm2 Pastel Dark Background 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#c7c7c7rgb(199 199 199)hsl(0 0% 78%)oklch(83.0% 0.000 0)12.42 AAA
游標cursor#ffb473rgb(255 180 115)hsl(28 100% 73%)oklch(82.8% 0.120 60.9)12.03 AAA
游標文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
選取範圍selection#454d96rgb(69 77 150)hsl(234 37% 43%)oklch(45.1% 0.118 275.9)2.75 低於 AA
選取文字selectionText#f4f4f4rgb(244 244 244)hsl(0 0% 96%)oklch(96.7% 0.000 0)19.09 AAA
黑color0#626262rgb(98 98 98)hsl(0 0% 38%)oklch(49.6% 0.000 0)3.44 AA 大字級
紅color1#ff8373rgb(255 131 115)hsl(7 100% 73%)oklch(74.6% 0.154 28.8)8.75 AAA
綠color2#b4fb73rgb(180 251 115)hsl(91 94% 72%)oklch(91.3% 0.182 132.0)16.99 AAA
黃color3#fffdc3rgb(255 253 195)hsl(58 100% 88%)oklch(98.2% 0.074 106.0)20.09 AAA
藍color4#a5d5fergb(165 213 254)hsl(208 98% 82%)oklch(85.4% 0.076 244.6)13.55 AAA
洋紅color5#ff90fergb(255 144 254)hsl(301 100% 78%)oklch(80.8% 0.188 327.5)10.67 AAA
青color6#d1d1fergb(209 209 254)hsl(240 96% 91%)oklch(87.5% 0.062 285.1)14.26 AAA
白color7#f1f1f1rgb(241 241 241)hsl(0 0% 95%)oklch(95.8% 0.000 0)18.59 AAA
亮黑color8#8f8f8frgb(143 143 143)hsl(0 0% 56%)oklch(65.0% 0.000 0)6.49 AA
亮紅color9#ffc4bergb(255 196 190)hsl(6 100% 87%)oklch(87.2% 0.069 25.2)13.89 AAA
亮綠color10#d6fcbargb(214 252 186)hsl(95 92% 86%)oklch(94.8% 0.095 132.3)18.49 AAA
亮黃color11#fffed5rgb(255 254 213)hsl(59 100% 92%)oklch(98.7% 0.053 106.2)20.39 AAA
亮藍color12#c2e3ffrgb(194 227 255)hsl(208 100% 88%)oklch(90.1% 0.052 244.0)15.73 AAA
亮洋紅color13#ffb2fergb(255 178 254)hsl(301 100% 85%)oklch(86.0% 0.131 327.1)13.05 AAA
亮青color14#e6e6fergb(230 230 254)hsl(240 92% 95%)oklch(93.2% 0.032 285.8)17.11 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 iTerm2 Pastel Dark Background

iTerm2 Pastel Dark Background 採用中性色調的深色背景(#000000),預設前景色為 #c7c7c7。內文的 WCAG 對比度為 12.42:1(AAA),12 種 ANSI 彩色槽位平均對比度 15.25:1,最低 8.75:1。

色票整體色彩彩度適中,其中紅色為 #ff8373、綠色為 #b4fb73、藍色為 #a5d5fe、洋紅為 #ff90fe。此配色歸屬 iTerm2 Built-in 主題系列。

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

與 iTerm2 Pastel Dark Background 相似的配色

資料來源:iTerm2 Color Schemes (GPL-2.0-or-later)