跳到主要內容

Solarized Darcula

Solarized Darcula 是一套深色終端機配色(柔和),背景色 #3d3f41,文字色 #d2d8d9,對比度 7.3:1

取得設定檔
背景色
#3d3f41
前景色
#d2d8d9
文字對比度
7.33:1AAA
強調色對比度
2.88:1最低 2.23
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 Darcula 的設定檔

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

Solarized Darcula

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

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

palette = 0=#25292a
palette = 1=#f24840
palette = 2=#629655
palette = 3=#b68800
palette = 4=#2075c7
palette = 5=#797fd4
palette = 6=#15968d
palette = 7=#d2d8d9
palette = 8=#25292a
palette = 9=#f24840
palette = 10=#629655
palette = 11=#b68800
palette = 12=#2075c7
palette = 13=#797fd4
palette = 14=#15968d
palette = 15=#d2d8d9
background = #3d3f41
foreground = #d2d8d9
cursor-color = #708284
cursor-text = #002831
selection-background = #214283
selection-foreground = #d2d8d9

Solarized Darcula 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#3d3f41rgb(61 63 65)hsl(210 3% 25%)oklch(36.6% 0.004 247.9)—
前景色foreground#d2d8d9rgb(210 216 217)hsl(189 8% 84%)oklch(87.8% 0.007 208.8)7.33 AAA
游標cursor#708284rgb(112 130 132)hsl(186 8% 48%)oklch(59.3% 0.021 204.8)2.63 低於 AA
游標文字cursorText#002831rgb(0 40 49)hsl(191 100% 10%)oklch(25.5% 0.046 216.8)1.47 低於 AA
選取範圍selection#214283rgb(33 66 131)hsl(220 60% 32%)oklch(39.2% 0.116 262.2)1.09 低於 AA
選取文字selectionText#d2d8d9rgb(210 216 217)hsl(189 8% 84%)oklch(87.8% 0.007 208.8)7.33 AAA
黑color0#25292argb(37 41 42)hsl(192 6% 15%)oklch(27.7% 0.006 214.4)1.39 低於 AA
紅color1#f24840rgb(242 72 64)hsl(3 87% 60%)oklch(64.5% 0.208 27.4)2.91 低於 AA
綠color2#629655rgb(98 150 85)hsl(108 28% 46%)oklch(62.0% 0.109 139.5)3.03 AA 大字級
黃color3#b68800rgb(182 136 0)hsl(45 100% 36%)oklch(65.4% 0.134 84.5)3.28 AA 大字級
藍color4#2075c7rgb(32 117 199)hsl(209 72% 45%)oklch(55.6% 0.149 252.0)2.23 低於 AA
洋紅color5#797fd4rgb(121 127 212)hsl(236 51% 65%)oklch(62.9% 0.127 279.0)2.92 低於 AA
青color6#15968drgb(21 150 141)hsl(176 75% 34%)oklch(60.8% 0.102 187.2)2.91 低於 AA
白color7#d2d8d9rgb(210 216 217)hsl(189 8% 84%)oklch(87.8% 0.007 208.8)7.33 AAA
亮黑color8#25292argb(37 41 42)hsl(192 6% 15%)oklch(27.7% 0.006 214.4)1.39 低於 AA
亮紅color9#f24840rgb(242 72 64)hsl(3 87% 60%)oklch(64.5% 0.208 27.4)2.91 低於 AA
亮綠color10#629655rgb(98 150 85)hsl(108 28% 46%)oklch(62.0% 0.109 139.5)3.03 AA 大字級
亮黃color11#b68800rgb(182 136 0)hsl(45 100% 36%)oklch(65.4% 0.134 84.5)3.28 AA 大字級
亮藍color12#2075c7rgb(32 117 199)hsl(209 72% 45%)oklch(55.6% 0.149 252.0)2.23 低於 AA
亮洋紅color13#797fd4rgb(121 127 212)hsl(236 51% 65%)oklch(62.9% 0.127 279.0)2.92 低於 AA
亮青color14#15968drgb(21 150 141)hsl(176 75% 34%)oklch(60.8% 0.102 187.2)2.91 低於 AA
亮白color15#d2d8d9rgb(210 216 217)hsl(189 8% 84%)oklch(87.8% 0.007 208.8)7.33 AAA

關於 Solarized Darcula

Solarized Darcula 採用中性色調的深色背景(#3d3f41),預設前景色為 #d2d8d9。內文的 WCAG 對比度為 7.33:1(AAA),12 種 ANSI 彩色槽位平均對比度 2.88:1,最低 2.23:1。

色票整體色彩彩度適中,其中紅色為 #f24840、綠色為 #629655、藍色為 #2075c7、洋紅為 #797fd4。此配色歸屬 Solarized 主題系列。

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

與 Solarized Darcula 相似的配色

資料來源:iTerm2 Color Schemes (MIT)