跳到主要內容

iTerm2 Solarized Light

iTerm2 Solarized Light 是一套淺色終端機配色(柔和、暖色),背景色 #fdf6e3,文字色 #657b83,對比度 4.1:1

取得設定檔
背景色
#fdf6e3
前景色
#657b83
文字對比度
4.13:1AA 大字體
強調色對比度
3.64:1最低 2.48
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 Solarized Light 的設定檔

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

iTerm2 Solarized Light

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

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

palette = 0=#073642
palette = 1=#dc322f
palette = 2=#859900
palette = 3=#b58900
palette = 4=#268bd2
palette = 5=#d33682
palette = 6=#2aa198
palette = 7=#eee8d5
palette = 8=#002b36
palette = 9=#cb4b16
palette = 10=#586e75
palette = 11=#657b83
palette = 12=#839496
palette = 13=#6c71c4
palette = 14=#93a1a1
palette = 15=#fdf6e3
background = #fdf6e3
foreground = #657b83
cursor-color = #657b83
cursor-text = #eee8d5
selection-background = #eee8d5
selection-foreground = #586e75

iTerm2 Solarized Light 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fdf6e3rgb(253 246 227)hsl(44 87% 94%)oklch(97.4% 0.026 90.1)—
前景色foreground#657b83rgb(101 123 131)hsl(196 13% 45%)oklch(56.8% 0.029 221.9)4.13 AA 大字體
光標cursor#657b83rgb(101 123 131)hsl(196 13% 45%)oklch(56.8% 0.029 221.9)4.13 AA 大字體
光標文字cursorText#eee8d5rgb(238 232 213)hsl(46 42% 88%)oklch(93.1% 0.026 92.4)1.14 低於 AA
選取範圍selection#eee8d5rgb(238 232 213)hsl(46 42% 88%)oklch(93.1% 0.026 92.4)1.14 低於 AA
選取文字selectionText#586e75rgb(88 110 117)hsl(194 14% 40%)oklch(52.3% 0.028 219.1)4.99 AA
黑color0#073642rgb(7 54 66)hsl(192 81% 14%)oklch(30.9% 0.052 219.7)12.05 AAA
紅color1#dc322frgb(220 50 47)hsl(1 71% 52%)oklch(58.6% 0.206 27.1)4.29 AA 大字體
綠color2#859900rgb(133 153 0)hsl(68 100% 30%)oklch(64.4% 0.151 118.6)2.97 低於 AA
黃color3#b58900rgb(181 137 0)hsl(45 100% 35%)oklch(65.4% 0.134 85.7)2.98 低於 AA
藍color4#268bd2rgb(38 139 210)hsl(205 69% 49%)oklch(61.5% 0.139 244.9)3.41 AA 大字體
洋紅color5#d33682rgb(211 54 130)hsl(331 64% 52%)oklch(59.2% 0.202 355.9)4.21 AA 大字體
青color6#2aa198rgb(42 161 152)hsl(175 59% 40%)oklch(64.4% 0.102 187.4)2.93 低於 AA
白color7#eee8d5rgb(238 232 213)hsl(46 42% 88%)oklch(93.1% 0.026 92.4)1.14 低於 AA
亮黑color8#002b36rgb(0 43 54)hsl(192 100% 11%)oklch(26.7% 0.049 219.8)13.92 AAA
亮紅color9#cb4b16rgb(203 75 22)hsl(18 80% 44%)oklch(58.1% 0.173 39.5)4.27 AA 大字體
亮綠color10#586e75rgb(88 110 117)hsl(194 14% 40%)oklch(52.3% 0.028 219.1)4.99 AA
亮黃color11#657b83rgb(101 123 131)hsl(196 13% 45%)oklch(56.8% 0.029 221.9)4.13 AA 大字體
亮藍color12#839496rgb(131 148 150)hsl(186 8% 55%)oklch(65.4% 0.020 205.3)2.93 低於 AA
亮洋紅color13#6c71c4rgb(108 113 196)hsl(237 43% 60%)oklch(58.2% 0.126 279.1)4.06 AA 大字體
亮青color14#93a1a1rgb(147 161 161)hsl(180 7% 60%)oklch(69.8% 0.016 196.8)2.48 低於 AA
亮白color15#fdf6e3rgb(253 246 227)hsl(44 87% 94%)oklch(97.4% 0.026 90.1)1.00 低於 AA

關於 iTerm2 Solarized Light

iTerm2 Solarized Light 採用暖色調的淺色背景(#fdf6e3),預設前景色為 #657b83。正文的 WCAG 對比度為 4.13:1(AA 大字體),12 種 ANSI 彩色槽位平均對比度 3.64:1,最低 2.48:1。

色板整體色彩飽和度適中,其中紅色為 #dc322f、綠色為 #859900、藍色為 #268bd2、洋紅為 #d33682。該配色歸屬 Solarized 主題系列。

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

該色板在上游儲存庫中亦曾以 Solarized Light 的名稱發佈

與 iTerm2 Solarized Light 相似的配色

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