跳到正文

Iceberg Contrast

Iceberg Contrast 是一套深色终端配色(单色),背景色 #0b0e0e,文字色 #bdd6db,对比度 12.7:1

获取配置
背景色
#0b0e0e
前景色
#bdd6db
文字对比度
12.74:1AAA
强调色对比度
12.94:1最低 2.94
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
❯

Iceberg Contrast 的配置文件

16 种格式,都从同一份色板生成

Iceberg Contrast

存到 ~/.config/ghostty/themes/Iceberg Contrast,再在 config 或 config.ghostty 里写 theme = Iceberg Contrast

更多 Ghostty 配色
原始文件
# Theme: Iceberg Contrast (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/iceberg-contrast?format=ghostty

palette = 0=#161c1c
palette = 1=#ba0e2e
palette = 2=#59c0e3
palette = 3=#2d8da1
palette = 4=#ffffff
palette = 5=#b1e2f2
palette = 6=#ffffff
palette = 7=#cee0e4
palette = 8=#2d3939
palette = 9=#e61f44
palette = 10=#b0e1f2
palette = 11=#61bfd3
palette = 12=#ffffff
palette = 13=#ffffff
palette = 14=#ffffff
palette = 15=#eff5f6
background = #0b0e0e
foreground = #bdd6db
cursor-color = #f8f8f0
cursor-text = #bdd6db
selection-background = #2d8da1
selection-foreground = #ffffff

Iceberg Contrast 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#0b0e0ergb(11 14 14)hsl(180 12% 5%)oklch(16.0% 0.005 196.7)—
前景色foreground#bdd6dbrgb(189 214 219)hsl(190 29% 80%)oklch(85.9% 0.028 211.1)12.74 AAA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)18.16 AAA
光标文字cursorText#bdd6dbrgb(189 214 219)hsl(190 29% 80%)oklch(85.9% 0.028 211.1)12.74 AAA
选区selection#2d8da1rgb(45 141 161)hsl(190 56% 40%)oklch(59.7% 0.091 214.6)5.02 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.38 AAA
黑color0#161c1crgb(22 28 28)hsl(180 12% 10%)oklch(22.0% 0.009 196.5)1.12 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.94 低于 AA
绿color2#59c0e3rgb(89 192 227)hsl(195 71% 62%)oklch(76.0% 0.107 223.3)9.30 AAA
黄color3#2d8da1rgb(45 141 161)hsl(190 56% 40%)oklch(59.7% 0.091 214.6)5.02 AA
蓝color4#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.38 AAA
品红color5#b1e2f2rgb(177 226 242)hsl(195 71% 82%)oklch(88.4% 0.055 219.8)13.87 AAA
青color6#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.38 AAA
白color7#cee0e4rgb(206 224 228)hsl(191 29% 85%)oklch(89.4% 0.020 212.5)14.22 AAA
亮黑color8#2d3939rgb(45 57 57)hsl(180 12% 20%)oklch(33.4% 0.016 196.4)1.62 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.29 AA 大字号
亮绿color10#b0e1f2rgb(176 225 242)hsl(195 72% 82%)oklch(88.1% 0.056 221.1)13.75 AAA
亮黄color11#61bfd3rgb(97 191 211)hsl(191 56% 60%)oklch(75.5% 0.093 213.4)9.14 AAA
亮蓝color12#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.38 AAA
亮品红color13#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.38 AAA
亮青color14#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.38 AAA
亮白color15#eff5f6rgb(239 245 246)hsl(189 28% 95%)oklch(96.6% 0.007 208.8)17.59 AAA

关于 Iceberg Contrast

Iceberg Contrast 采用中性色调的深色背景(#0b0e0e),默认前景色为 #bdd6db。正文的 WCAG 对比度为 12.74:1(AAA),12 种 ANSI 彩色槽位平均对比度 12.94:1,最低 2.94:1。

色板整体色彩饱和度偏低,其中红色为 #ba0e2e、绿色为 #59c0e3、蓝色为 #ffffff、品红为 #b1e2f2。该配色归属 Iceberg 主题系列。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Iceberg Contrast 相似的配色

数据来源:Rainglow (MIT)