跳到主要內容

Syncopation

Syncopation 是一套深色終端機配色,背景色 #0e1317,文字色 #d6dad4,對比度 13.2:1

取得設定檔
背景色
#0e1317
前景色
#d6dad4
文字對比度
13.20:1AAA
強調色對比度
9.18:1最低 6.15
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
❯

Syncopation 的設定檔

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

Syncopation

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

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

palette = 0=#222b34
palette = 1=#e8705e
palette = 2=#94c27e
palette = 3=#e9ad4e
palette = 4=#6fa3d8
palette = 5=#d08aa3
palette = 6=#4dbaae
palette = 7=#b4bbb6
palette = 8=#76828d
palette = 9=#ff7b5e
palette = 10=#b3dd9d
palette = 11=#ffc03d
palette = 12=#98c4f2
palette = 13=#f2afc2
palette = 14=#86ddd2
palette = 15=#f0f2ec
background = #0e1317
foreground = #d6dad4
cursor-color = #ffb23d
cursor-text = #0e1317
selection-background = #23384a
selection-foreground = #f0f2ec

Syncopation 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0e1317rgb(14 19 23)hsl(207 24% 7%)oklch(18.3% 0.011 242.4)—
前景色foreground#d6dad4rgb(214 218 212)hsl(100 7% 84%)oklch(88.4% 0.009 134.9)13.20 AAA
光標cursor#ffb23drgb(255 178 61)hsl(36 100% 62%)oklch(81.8% 0.154 73.1)10.40 AAA
光標文字cursorText#0e1317rgb(14 19 23)hsl(207 24% 7%)oklch(18.3% 0.011 242.4)1.00 低於 AA
選取範圍selection#23384argb(35 56 74)hsl(208 36% 21%)oklch(33.1% 0.042 245.4)1.54 低於 AA
選取文字selectionText#f0f2ecrgb(240 242 236)hsl(80 19% 94%)oklch(95.8% 0.008 121.6)16.56 AAA
黑color0#222b34rgb(34 43 52)hsl(210 21% 17%)oklch(28.4% 0.021 248.6)1.30 低於 AA
紅color1#e8705ergb(232 112 94)hsl(8 75% 64%)oklch(68.3% 0.153 30.2)6.15 AA
綠color2#94c27ergb(148 194 126)hsl(101 36% 63%)oklch(76.4% 0.105 135.9)9.14 AAA
黃color3#e9ad4ergb(233 173 78)hsl(37 78% 61%)oklch(78.6% 0.131 76.1)9.39 AAA
藍color4#6fa3d8rgb(111 163 216)hsl(210 57% 64%)oklch(70.0% 0.096 249.8)7.03 AAA
洋紅color5#d08aa3rgb(208 138 163)hsl(339 43% 68%)oklch(71.1% 0.091 356.6)6.98 AA
青color6#4dbaaergb(77 186 174)hsl(173 44% 52%)oklch(72.3% 0.101 185.3)7.96 AAA
白color7#b4bbb6rgb(180 187 182)hsl(137 5% 72%)oklch(78.5% 0.010 155.0)9.54 AAA
亮黑color8#76828drgb(118 130 141)hsl(209 9% 51%)oklch(60.0% 0.022 245.8)4.76 AA
亮紅color9#ff7b5ergb(255 123 94)hsl(11 100% 68%)oklch(73.1% 0.167 33.8)7.34 AAA
亮綠color10#b3dd9drgb(179 221 157)hsl(99 48% 74%)oklch(85.2% 0.097 135.1)12.23 AAA
亮黃color11#ffc03drgb(255 192 61)hsl(41 100% 62%)oklch(84.4% 0.156 81.3)11.44 AAA
亮藍color12#98c4f2rgb(152 196 242)hsl(211 78% 77%)oklch(80.5% 0.081 250.0)10.24 AAA
亮洋紅color13#f2afc2rgb(242 175 194)hsl(343 72% 82%)oklch(82.2% 0.082 0.4)10.40 AAA
亮青color14#86ddd2rgb(134 221 210)hsl(172 56% 70%)oklch(83.9% 0.086 185.4)11.82 AAA
亮白color15#f0f2ecrgb(240 242 236)hsl(80 19% 94%)oklch(95.8% 0.008 121.6)16.56 AAA

關於 Syncopation

Syncopation 採用中性色調的深色背景(#0e1317),預設前景色為 #d6dad4。正文的 WCAG 對比度為 13.20:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.18:1,最低 6.15:1。

色板整體色彩飽和度適中,其中紅色為 #e8705e、綠色為 #94c27e、藍色為 #6fa3d8、洋紅為 #d08aa3。

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

與 Syncopation 相似的配色

資料來源:iTerm2 Color Schemes (MIT)