跳到主要內容

Solarized Dark

Solarized Dark 是一套深色終端機配色(柔和、冷色),背景色 #001e27,文字色 #708284,對比度 4.3:1

取得設定檔
背景色
#001e27
前景色
#708284
文字對比度
4.29:1AA 大字體
強調色對比度
3.67:1最低 2.42
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 Dark 的設定檔

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

Solarized Dark

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

更多 Ghostty 配色
原始檔案
# Theme: Solarized Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/solarized-dark?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 = #001e27
foreground = #708284
cursor-color = #708284
cursor-text = #001e27
selection-background = #1b353d
selection-foreground = #708284

Solarized Dark 色板

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

關於 Solarized Dark

Solarized Dark 採用冷色調的深色背景(#001e27),預設前景色為 #708284。正文的 WCAG 對比度為 4.29:1(AA 大字體),12 種 ANSI 彩色槽位平均對比度 3.67:1,最低 2.42: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 Dark 相似的配色

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