跳到主要內容

Serendipity Midnight

Serendipity Midnight 是一套深色終端機配色(冷色),背景色 #151726,文字色 #dee0ef,對比度 13.5:1

取得設定檔
背景色
#151726
前景色
#dee0ef
文字對比度
13.54:1AAA
強調色對比度
8.67:1最低 6.36
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
❯

Serendipity Midnight 的設定檔

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

Serendipity Midnight

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

更多 Ghostty 配色
原始檔
# Theme: Serendipity Midnight (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/serendipity-midnight?format=ghostty

palette = 0=#232534
palette = 1=#ee8679
palette = 2=#5ba2d0
palette = 3=#a78bfa
palette = 4=#94b8ff
palette = 5=#9ccfd8
palette = 6=#f8d2c9
palette = 7=#dee0ef
palette = 8=#8d8f9e
palette = 9=#ee8679
palette = 10=#5ba2d0
palette = 11=#a78bfa
palette = 12=#94b8ff
palette = 13=#9ccfd8
palette = 14=#f8d2c9
palette = 15=#dee0ef
background = #151726
foreground = #dee0ef
cursor-color = #6b6d7c
cursor-text = #dee0ef
selection-background = #6b6d7c
selection-foreground = #dee0ef

Serendipity Midnight 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#151726rgb(21 23 38)hsl(233 29% 12%)oklch(21.0% 0.030 277.7)—
前景色foreground#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)13.54 AAA
游標cursor#6b6d7crgb(107 109 124)hsl(233 7% 45%)oklch(53.8% 0.023 279.6)3.47 AA 大字級
游標文字cursorText#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)13.54 AAA
選取範圍selection#6b6d7crgb(107 109 124)hsl(233 7% 45%)oklch(53.8% 0.023 279.6)3.47 AA 大字級
選取文字selectionText#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)13.54 AAA
黑color0#232534rgb(35 37 52)hsl(233 20% 17%)oklch(26.9% 0.028 278.4)1.17 低於 AA
紅color1#ee8679rgb(238 134 121)hsl(7 77% 70%)oklch(73.0% 0.130 28.1)7.04 AAA
綠color2#5ba2d0rgb(91 162 208)hsl(204 55% 59%)oklch(68.4% 0.099 238.9)6.36 AA
黃color3#a78bfargb(167 139 250)hsl(255 92% 76%)oklch(70.9% 0.159 293.5)6.53 AA
藍color4#94b8ffrgb(148 184 255)hsl(220 100% 79%)oklch(78.4% 0.109 263.4)8.93 AAA
洋紅color5#9ccfd8rgb(156 207 216)hsl(189 43% 73%)oklch(82.2% 0.054 209.6)10.43 AAA
青color6#f8d2c9rgb(248 210 201)hsl(11 77% 88%)oklch(89.4% 0.045 33.5)12.73 AAA
白color7#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)13.54 AAA
亮黑color8#8d8f9ergb(141 143 158)hsl(233 8% 59%)oklch(65.3% 0.022 279.7)5.54 AA
亮紅color9#ee8679rgb(238 134 121)hsl(7 77% 70%)oklch(73.0% 0.130 28.1)7.04 AAA
亮綠color10#5ba2d0rgb(91 162 208)hsl(204 55% 59%)oklch(68.4% 0.099 238.9)6.36 AA
亮黃color11#a78bfargb(167 139 250)hsl(255 92% 76%)oklch(70.9% 0.159 293.5)6.53 AA
亮藍color12#94b8ffrgb(148 184 255)hsl(220 100% 79%)oklch(78.4% 0.109 263.4)8.93 AAA
亮洋紅color13#9ccfd8rgb(156 207 216)hsl(189 43% 73%)oklch(82.2% 0.054 209.6)10.43 AAA
亮青color14#f8d2c9rgb(248 210 201)hsl(11 77% 88%)oklch(89.4% 0.045 33.5)12.73 AAA
亮白color15#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)13.54 AAA

關於 Serendipity Midnight

Serendipity Midnight 採用冷色調的深色背景(#151726),預設前景色為 #dee0ef。內文的 WCAG 對比度為 13.54:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.67:1,最低 6.36:1。

色票整體色彩彩度適中,其中紅色為 #ee8679、綠色為 #5ba2d0、藍色為 #94b8ff、洋紅為 #9ccfd8。

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

與 Serendipity Midnight 相似的配色

資料來源:iTerm2 Color Schemes (MIT)