跳到主要內容

iTerm2 Default

iTerm2 Default 是一套深色終端機配色(純黑、高對比),背景色 #000000,文字色 #ffffff,對比度 21.0:1

取得設定檔
背景色
#000000
前景色
#ffffff
文字對比度
21.00:1AAA
強調色對比度
9.54:1最低 2.13
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 Default 的設定檔

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

iTerm2 Default

存到 ~/.config/ghostty/themes/iTerm2 Default,再在 config 或 config.ghostty 裏寫 theme = iTerm2 Default

更多 Ghostty 配色
原始檔案
# Theme: iTerm2 Default (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/iterm2-default?format=ghostty

palette = 0=#000000
palette = 1=#c91b00
palette = 2=#00c200
palette = 3=#c7c400
palette = 4=#2225c4
palette = 5=#ca30c7
palette = 6=#00c5c7
palette = 7=#ffffff
palette = 8=#686868
palette = 9=#ff6e67
palette = 10=#5ffa68
palette = 11=#fffc67
palette = 12=#6871ff
palette = 13=#ff77ff
palette = 14=#60fdff
palette = 15=#ffffff
background = #000000
foreground = #ffffff
cursor-color = #e5e5e5
cursor-text = #000000
selection-background = #c1deff
selection-foreground = #000000

iTerm2 Default 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光標cursor#e5e5e5rgb(229 229 229)hsl(0 0% 90%)oklch(92.2% 0.000 0)16.67 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#c1deffrgb(193 222 255)hsl(212 100% 88%)oklch(89.0% 0.055 251.8)15.16 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#c91b00rgb(201 27 0)hsl(8 100% 39%)oklch(53.4% 0.207 31.1)3.64 AA 大字體
綠color2#00c200rgb(0 194 0)hsl(120 100% 38%)oklch(70.5% 0.240 142.5)8.72 AAA
黃color3#c7c400rgb(199 196 0)hsl(59 100% 39%)oklch(79.7% 0.172 108.6)11.32 AAA
藍color4#2225c4rgb(34 37 196)hsl(239 70% 45%)oklch(40.7% 0.233 269.2)2.13 低於 AA
洋紅color5#ca30c7rgb(202 48 199)hsl(301 62% 49%)oklch(60.5% 0.244 329.0)4.76 AA
青color6#00c5c7rgb(0 197 199)hsl(181 100% 39%)oklch(74.6% 0.127 196.1)9.81 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
亮黑color8#686868rgb(104 104 104)hsl(0 0% 41%)oklch(51.7% 0.000 0)3.77 AA 大字體
亮紅color9#ff6e67rgb(255 110 103)hsl(3 100% 70%)oklch(71.5% 0.178 25.4)7.68 AAA
亮綠color10#5ffa68rgb(95 250 104)hsl(123 94% 68%)oklch(87.3% 0.230 144.2)15.36 AAA
亮黃color11#fffc67rgb(255 252 103)hsl(59 100% 70%)oklch(96.6% 0.168 108.1)19.37 AAA
亮藍color12#6871ffrgb(104 113 255)hsl(236 100% 70%)oklch(61.8% 0.208 275.8)5.39 AA
亮洋紅color13#ff77ffrgb(255 119 255)hsl(300 100% 73%)oklch(77.6% 0.228 327.5)9.33 AAA
亮青color14#60fdffrgb(96 253 255)hsl(181 100% 69%)oklch(91.3% 0.130 196.3)16.99 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 iTerm2 Default

iTerm2 Default 採用中性色調的深色背景(#000000),預設前景色為 #ffffff。正文的 WCAG 對比度為 21.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.54:1,最低 2.13:1。

色板整體色彩飽和度較高,其中紅色為 #c91b00、綠色為 #00c200、藍色為 #2225c4、洋紅為 #ca30c7。該配色歸屬 iTerm2 Built-in 主題系列。

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

與 iTerm2 Default 相似的配色

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