跳到主要內容

Solarized Light

Solarized Light 是一套淺色終端機配色(柔和、暖色),背景色 #fcf4dc,文字色 #536870,對比度 5.3:1

取得設定檔
背景色
#fcf4dc
前景色
#536870
文字對比度
5.34:1AA
強調色對比度
4.51:1最低 3.02
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
❯

Solarized Light 的設定檔

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

Solarized Light

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

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

palette = 0=#002831
palette = 1=#d11c24
palette = 2=#738a05
palette = 3=#a57706
palette = 4=#2176c7
palette = 5=#c61c6f
palette = 6=#259286
palette = 7=#eae3cb
palette = 8=#001e27
palette = 9=#bd3613
palette = 10=#475b62
palette = 11=#536870
palette = 12=#708284
palette = 13=#5956ba
palette = 14=#819090
palette = 15=#fcf4dc
background = #fcf4dc
foreground = #536870
cursor-color = #536870
cursor-text = #fcf4dc
selection-background = #cfcfc0
selection-foreground = #536870

Solarized Light 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#fcf4dcrgb(252 244 220)hsl(45 84% 93%)oklch(96.7% 0.033 91.7)—
前景色foreground#536870rgb(83 104 112)hsl(197 15% 38%)oklch(50.3% 0.028 223.0)5.34 AA
游標cursor#536870rgb(83 104 112)hsl(197 15% 38%)oklch(50.3% 0.028 223.0)5.34 AA
游標文字cursorText#fcf4dcrgb(252 244 220)hsl(45 84% 93%)oklch(96.7% 0.033 91.7)1.00 低於 AA
選取範圍selection#cfcfc0rgb(207 207 192)hsl(60 14% 78%)oklch(85.0% 0.020 106.8)1.43 低於 AA
選取文字selectionText#536870rgb(83 104 112)hsl(197 15% 38%)oklch(50.3% 0.028 223.0)5.34 AA
黑color0#002831rgb(0 40 49)hsl(191 100% 10%)oklch(25.5% 0.046 216.8)14.18 AAA
紅color1#d11c24rgb(209 28 36)hsl(357 76% 46%)oklch(55.1% 0.211 26.3)4.90 AA
綠color2#738a05rgb(115 138 5)hsl(70 93% 28%)oklch(59.4% 0.141 120.8)3.56 AA 大字級
黃color3#a57706rgb(165 119 6)hsl(43 93% 34%)oklch(60.0% 0.122 81.1)3.65 AA 大字級
藍color4#2176c7rgb(33 118 199)hsl(209 72% 45%)oklch(55.9% 0.148 251.7)4.27 AA 大字級
洋紅color5#c61c6frgb(198 28 111)hsl(331 75% 44%)oklch(54.6% 0.208 358.4)5.03 AA
青color6#259286rgb(37 146 134)hsl(173 60% 36%)oklch(59.8% 0.096 184.0)3.45 AA 大字級
白color7#eae3cbrgb(234 227 203)hsl(46 42% 86%)oklch(91.5% 0.033 93.5)1.17 低於 AA
亮黑color8#001e27rgb(0 30 39)hsl(194 100% 8%)oklch(21.8% 0.040 221.1)15.73 AAA
亮紅color9#bd3613rgb(189 54 19)hsl(12 82% 41%)oklch(53.3% 0.177 34.6)5.16 AA
亮綠color10#475b62rgb(71 91 98)hsl(196 16% 33%)oklch(45.7% 0.027 221.2)6.50 AA
亮黃color11#536870rgb(83 104 112)hsl(197 15% 38%)oklch(50.3% 0.028 223.0)5.34 AA
亮藍color12#708284rgb(112 130 132)hsl(186 8% 48%)oklch(59.3% 0.021 204.8)3.66 AA 大字級
亮洋紅color13#5956bargb(89 86 186)hsl(242 42% 53%)oklch(50.9% 0.153 280.8)5.52 AA
亮青color14#819090rgb(129 144 144)hsl(180 6% 54%)oklch(64.1% 0.017 196.7)3.02 AA 大字級
亮白color15#fcf4dcrgb(252 244 220)hsl(45 84% 93%)oklch(96.7% 0.033 91.7)1.00 低於 AA

關於 Solarized Light

Solarized Light 採用暖色調的淺色背景(#fcf4dc),預設前景色為 #536870。內文的 WCAG 對比度為 5.34:1(AA),12 種 ANSI 彩色槽位平均對比度 4.51:1,最低 3.02:1。

色票整體色彩彩度適中,其中紅色為 #d11c24、綠色為 #738a05、藍色為 #2176c7、洋紅為 #c61c6f。此配色歸屬 Solarized 主題系列。

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

與 Solarized Light 相似的配色

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