跳到正文

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/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)