跳到主要內容

Silk Dark

Silk Dark 是一套深色終端機配色(冷色),背景色 #0e3c46,文字色 #c7dbdd,對比度 8.3:1

取得設定檔
背景色
#0e3c46
前景色
#c7dbdd
文字對比度
8.33:1AAA
強調色對比度
5.51:1最低 2.41
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
❯

Silk Dark 的設定檔

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

Silk Dark

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

更多 Ghostty 配色
原始檔
# Theme: Silk Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/silk-dark?format=ghostty

palette = 0=#0e3c46
palette = 1=#fb6953
palette = 2=#73d8ad
palette = 3=#fce380
palette = 4=#46bddd
palette = 5=#756b8a
palette = 6=#3fb2b9
palette = 7=#c7dbdd
palette = 8=#587073
palette = 9=#fb6953
palette = 10=#73d8ad
palette = 11=#fce380
palette = 12=#46bddd
palette = 13=#756b8a
palette = 14=#3fb2b9
palette = 15=#d2faff
background = #0e3c46
foreground = #c7dbdd
cursor-color = #c7dbdd
cursor-text = #0e3c46
selection-background = #3d6169
selection-foreground = #c7dbdd

Silk Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0e3c46rgb(14 60 70)hsl(191 67% 16%)oklch(33.1% 0.051 215.4)—
前景色foreground#c7dbddrgb(199 219 221)hsl(185 24% 82%)oklch(87.7% 0.022 204.0)8.33 AAA
游標cursor#c7dbddrgb(199 219 221)hsl(185 24% 82%)oklch(87.7% 0.022 204.0)8.33 AAA
游標文字cursorText#0e3c46rgb(14 60 70)hsl(191 67% 16%)oklch(33.1% 0.051 215.4)1.00 低於 AA
選取範圍selection#3d6169rgb(61 97 105)hsl(191 27% 33%)oklch(46.9% 0.043 213.2)1.77 低於 AA
選取文字selectionText#c7dbddrgb(199 219 221)hsl(185 24% 82%)oklch(87.7% 0.022 204.0)8.33 AAA
黑color0#0e3c46rgb(14 60 70)hsl(191 67% 16%)oklch(33.1% 0.051 215.4)1.00 低於 AA
紅color1#fb6953rgb(251 105 83)hsl(8 95% 65%)oklch(69.9% 0.183 30.8)4.13 AA 大字級
綠color2#73d8adrgb(115 216 173)hsl(154 56% 65%)oklch(80.9% 0.114 164.1)6.93 AA
黃color3#fce380rgb(252 227 128)hsl(48 95% 75%)oklch(91.6% 0.122 95.6)9.37 AAA
藍color4#46bdddrgb(70 189 221)hsl(193 69% 57%)oklch(74.5% 0.113 219.2)5.47 AA
洋紅color5#756b8argb(117 107 138)hsl(259 13% 48%)oklch(54.8% 0.049 299.6)2.41 低於 AA
青color6#3fb2b9rgb(63 178 185)hsl(183 49% 49%)oklch(70.3% 0.101 200.9)4.72 AA
白color7#c7dbddrgb(199 219 221)hsl(185 24% 82%)oklch(87.7% 0.022 204.0)8.33 AAA
亮黑color8#587073rgb(88 112 115)hsl(187 13% 40%)oklch(52.7% 0.029 205.7)2.27 低於 AA
亮紅color9#fb6953rgb(251 105 83)hsl(8 95% 65%)oklch(69.9% 0.183 30.8)4.13 AA 大字級
亮綠color10#73d8adrgb(115 216 173)hsl(154 56% 65%)oklch(80.9% 0.114 164.1)6.93 AA
亮黃color11#fce380rgb(252 227 128)hsl(48 95% 75%)oklch(91.6% 0.122 95.6)9.37 AAA
亮藍color12#46bdddrgb(70 189 221)hsl(193 69% 57%)oklch(74.5% 0.113 219.2)5.47 AA
亮洋紅color13#756b8argb(117 107 138)hsl(259 13% 48%)oklch(54.8% 0.049 299.6)2.41 低於 AA
亮青color14#3fb2b9rgb(63 178 185)hsl(183 49% 49%)oklch(70.3% 0.101 200.9)4.72 AA
亮白color15#d2faffrgb(210 250 255)hsl(187 100% 91%)oklch(95.8% 0.042 205.7)10.76 AAA

關於 Silk Dark

Silk Dark 採用冷色調的深色背景(#0e3c46),預設前景色為 #c7dbdd。內文的 WCAG 對比度為 8.33:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.51:1,最低 2.41:1。

色票整體色彩彩度適中,其中紅色為 #fb6953、綠色為 #73d8ad、藍色為 #46bddd、洋紅為 #756b8a。

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

與 Silk Dark 相似的配色

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