跳到主要內容

Iceberg

Iceberg 是一套深色終端機配色(低彩度、冷色),背景色 #161821,文字色 #c6c8d1,對比度 10.6:1

取得設定檔
背景色
#161821
前景色
#c6c8d1
文字對比度
10.60:1AAA
強調色對比度
7.94:1最低 6.06
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 的設定檔

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

Iceberg

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

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

palette = 0=#161821
palette = 1=#e27878
palette = 2=#b4be82
palette = 3=#e2a478
palette = 4=#84a0c6
palette = 5=#a093c7
palette = 6=#89b8c2
palette = 7=#c6c8d1
palette = 8=#6b7089
palette = 9=#e98989
palette = 10=#c0ca8e
palette = 11=#e9b189
palette = 12=#91acd1
palette = 13=#ada0d3
palette = 14=#95c4ce
palette = 15=#d2d4de
background = #161821
foreground = #c6c8d1
cursor-color = #d2d4de
cursor-text = #161821
selection-background = #3c3e48
selection-foreground = #c6c8d1

Iceberg 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#161821rgb(22 24 33)hsl(229 20% 11%)oklch(21.1% 0.018 275.0)—
前景色foreground#c6c8d1rgb(198 200 209)hsl(229 11% 80%)oklch(83.4% 0.013 276.1)10.60 AAA
游標cursor#d2d4dergb(210 212 222)hsl(230 15% 85%)oklch(87.1% 0.014 277.0)11.98 AAA
游標文字cursorText#161821rgb(22 24 33)hsl(229 20% 11%)oklch(21.1% 0.018 275.0)1.00 低於 AA
選取範圍selection#3c3e48rgb(60 62 72)hsl(230 9% 26%)oklch(36.6% 0.017 276.6)1.66 低於 AA
選取文字selectionText#c6c8d1rgb(198 200 209)hsl(229 11% 80%)oklch(83.4% 0.013 276.1)10.60 AAA
黑color0#161821rgb(22 24 33)hsl(229 20% 11%)oklch(21.1% 0.018 275.0)1.00 低於 AA
紅color1#e27878rgb(226 120 120)hsl(0 65% 68%)oklch(69.2% 0.132 21.0)6.06 AA
綠color2#b4be82rgb(180 190 130)hsl(70 32% 63%)oklch(77.9% 0.081 116.0)8.96 AAA
黃color3#e2a478rgb(226 164 120)hsl(25 65% 68%)oklch(76.8% 0.094 56.2)8.27 AAA
藍color4#84a0c6rgb(132 160 198)hsl(215 37% 65%)oklch(69.8% 0.064 256.1)6.59 AA
洋紅color5#a093c7rgb(160 147 199)hsl(255 32% 68%)oklch(69.3% 0.076 295.8)6.31 AA
青color6#89b8c2rgb(137 184 194)hsl(191 32% 65%)oklch(75.3% 0.052 212.2)8.17 AAA
白color7#c6c8d1rgb(198 200 209)hsl(229 11% 80%)oklch(83.4% 0.013 276.1)10.60 AAA
亮黑color8#6b7089rgb(107 112 137)hsl(230 12% 48%)oklch(55.0% 0.039 276.2)3.63 AA 大字級
亮紅color9#e98989rgb(233 137 137)hsl(0 69% 73%)oklch(73.2% 0.118 20.3)7.08 AAA
亮綠color10#c0ca8ergb(192 202 142)hsl(70 36% 67%)oklch(81.7% 0.080 115.9)10.18 AAA
亮黃color11#e9b189rgb(233 177 137)hsl(25 69% 73%)oklch(80.2% 0.085 56.7)9.37 AAA
亮藍color12#91acd1rgb(145 172 209)hsl(215 41% 69%)oklch(73.7% 0.062 256.3)7.61 AAA
亮洋紅color13#ada0d3rgb(173 160 211)hsl(255 37% 73%)oklch(73.5% 0.074 296.2)7.37 AAA
亮青color14#95c4cergb(149 196 206)hsl(191 37% 70%)oklch(79.0% 0.051 212.2)9.32 AAA
亮白color15#d2d4dergb(210 212 222)hsl(230 15% 85%)oklch(87.1% 0.014 277.0)11.98 AAA

關於 Iceberg

Iceberg 採用冷色調的深色背景(#161821),預設前景色為 #c6c8d1。內文的 WCAG 對比度為 10.60:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.94:1,最低 6.06:1。

色票整體色彩彩度偏低,其中紅色為 #e27878、綠色為 #b4be82、藍色為 #84a0c6、洋紅為 #a093c7。此配色歸屬 Iceberg 主題系列。

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

與 Iceberg 相似的配色

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