跳到主要內容

Synthwave

Synthwave 是一套深色終端機配色(純黑、鮮艷),背景色 #000000,文字色 #dad9c7,對比度 14.7:1

取得設定檔
背景色
#000000
前景色
#dad9c7
文字對比度
14.73:1AAA
強調色對比度
9.43:1最低 5.45
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
❯

Synthwave 的設定檔

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

Synthwave

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

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

palette = 0=#000000
palette = 1=#f6188f
palette = 2=#1ebb2b
palette = 3=#fdf834
palette = 4=#2186ec
palette = 5=#f85a21
palette = 6=#12c3e2
palette = 7=#ffffff
palette = 8=#7f7094
palette = 9=#f841a0
palette = 10=#25c141
palette = 11=#fdf454
palette = 12=#2f9ded
palette = 13=#f97137
palette = 14=#19cde6
palette = 15=#ffffff
background = #000000
foreground = #dad9c7
cursor-color = #19cde6
cursor-text = #dad9c7
selection-background = #19cde6
selection-foreground = #000000

Synthwave 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#dad9c7rgb(218 217 199)hsl(57 20% 82%)oklch(88.1% 0.024 104.3)14.73 AAA
光標cursor#19cde6rgb(25 205 230)hsl(187 80% 50%)oklch(77.9% 0.132 210.6)10.92 AAA
光標文字cursorText#dad9c7rgb(218 217 199)hsl(57 20% 82%)oklch(88.1% 0.024 104.3)14.73 AAA
選取範圍selection#19cde6rgb(25 205 230)hsl(187 80% 50%)oklch(77.9% 0.132 210.6)10.92 AAA
選取文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
紅color1#f6188frgb(246 24 143)hsl(328 93% 53%)oklch(63.9% 0.253 356.7)5.45 AA
綠color2#1ebb2brgb(30 187 43)hsl(125 72% 43%)oklch(69.0% 0.218 143.5)8.20 AAA
黃color3#fdf834rgb(253 248 52)hsl(59 98% 60%)oklch(95.3% 0.194 108.0)18.65 AAA
藍color4#2186ecrgb(33 134 236)hsl(210 84% 53%)oklch(61.8% 0.177 253.4)5.69 AA
洋紅color5#f85a21rgb(248 90 33)hsl(16 94% 55%)oklch(67.1% 0.204 38.0)6.48 AA
青color6#12c3e2rgb(18 195 226)hsl(189 85% 48%)oklch(75.3% 0.131 214.8)9.93 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
亮黑color8#7f7094rgb(127 112 148)hsl(265 14% 51%)oklch(57.2% 0.057 303.7)4.65 AA
亮紅color9#f841a0rgb(248 65 160)hsl(329 93% 61%)oklch(67.1% 0.231 353.7)6.26 AA
亮綠color10#25c141rgb(37 193 65)hsl(131 68% 45%)oklch(70.9% 0.209 145.2)8.78 AAA
亮黃color11#fdf454rgb(253 244 84)hsl(57 98% 66%)oklch(94.7% 0.174 106.1)18.24 AAA
亮藍color12#2f9dedrgb(47 157 237)hsl(205 84% 56%)oklch(67.3% 0.152 245.5)7.17 AAA
亮洋紅color13#f97137rgb(249 113 55)hsl(18 94% 60%)oklch(70.4% 0.181 41.7)7.45 AAA
亮青color14#19cde6rgb(25 205 230)hsl(187 80% 50%)oklch(77.9% 0.132 210.6)10.92 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

關於 Synthwave

Synthwave 採用中性色調的深色背景(#000000),預設前景色為 #dad9c7。正文的 WCAG 對比度為 14.73:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.43:1,最低 5.45:1。

色板整體色彩飽和度較高,其中紅色為 #f6188f、綠色為 #1ebb2b、藍色為 #2186ec、洋紅為 #f85a21。該配色歸屬 Synthwave 主題系列。

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

與 Synthwave 相似的配色

資料來源:iTerm2 Color Schemes (MIT)