跳到主要內容

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