跳到主要內容

Serendipity Sunset

Serendipity Sunset 是一套深色終端機配色(低彩度、冷色),背景色 #202231,文字色 #dee0ef,對比度 12.0:1

取得設定檔
背景色
#202231
前景色
#dee0ef
文字對比度
12.00:1AAA
強調色對比度
7.04:1最低 5.33
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 Sunset 的設定檔

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

Serendipity Sunset

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

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

palette = 0=#363847
palette = 1=#d1918f
palette = 2=#709bbd
palette = 3=#a392dc
palette = 4=#a0b6e8
palette = 5=#aac9d4
palette = 6=#d6b4b4
palette = 7=#dee0ef
palette = 8=#6b6d7c
palette = 9=#d1918f
palette = 10=#709bbd
palette = 11=#a392dc
palette = 12=#a0b6e8
palette = 13=#aac9d4
palette = 14=#d6b4b4
palette = 15=#dee0ef
background = #202231
foreground = #dee0ef
cursor-color = #8d8f9e
cursor-text = #dee0ef
selection-background = #6b6d7c
selection-foreground = #dee0ef

Serendipity Sunset 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#202231rgb(32 34 49)hsl(233 21% 16%)oklch(25.7% 0.028 278.3)—
前景色foreground#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)12.00 AAA
游標cursor#8d8f9ergb(141 143 158)hsl(233 8% 59%)oklch(65.3% 0.022 279.7)4.91 AA
游標文字cursorText#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)12.00 AAA
選取範圍selection#6b6d7crgb(107 109 124)hsl(233 7% 45%)oklch(53.8% 0.023 279.6)3.07 AA 大字級
選取文字selectionText#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)12.00 AAA
黑color0#363847rgb(54 56 71)hsl(233 14% 25%)oklch(34.5% 0.026 279.0)1.36 低於 AA
紅color1#d1918frgb(209 145 143)hsl(2 42% 69%)oklch(71.9% 0.078 21.2)6.11 AA
綠color2#709bbdrgb(112 155 189)hsl(206 37% 59%)oklch(67.1% 0.069 242.8)5.33 AA
黃color3#a392dcrgb(163 146 220)hsl(254 51% 72%)oklch(70.3% 0.108 294.0)5.77 AA
藍color4#a0b6e8rgb(160 182 232)hsl(222 61% 77%)oklch(77.7% 0.076 266.2)7.76 AAA
洋紅color5#aac9d4rgb(170 201 212)hsl(196 33% 75%)oklch(81.7% 0.037 221.3)9.00 AAA
青color6#d6b4b4rgb(214 180 180)hsl(0 29% 77%)oklch(80.0% 0.039 18.0)8.28 AAA
白color7#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)12.00 AAA
亮黑color8#6b6d7crgb(107 109 124)hsl(233 7% 45%)oklch(53.8% 0.023 279.6)3.07 AA 大字級
亮紅color9#d1918frgb(209 145 143)hsl(2 42% 69%)oklch(71.9% 0.078 21.2)6.11 AA
亮綠color10#709bbdrgb(112 155 189)hsl(206 37% 59%)oklch(67.1% 0.069 242.8)5.33 AA
亮黃color11#a392dcrgb(163 146 220)hsl(254 51% 72%)oklch(70.3% 0.108 294.0)5.77 AA
亮藍color12#a0b6e8rgb(160 182 232)hsl(222 61% 77%)oklch(77.7% 0.076 266.2)7.76 AAA
亮洋紅color13#aac9d4rgb(170 201 212)hsl(196 33% 75%)oklch(81.7% 0.037 221.3)9.00 AAA
亮青color14#d6b4b4rgb(214 180 180)hsl(0 29% 77%)oklch(80.0% 0.039 18.0)8.28 AAA
亮白color15#dee0efrgb(222 224 239)hsl(233 35% 90%)oklch(91.0% 0.020 279.9)12.00 AAA

關於 Serendipity Sunset

Serendipity Sunset 採用冷色調的深色背景(#202231),預設前景色為 #dee0ef。內文的 WCAG 對比度為 12.00:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.04:1,最低 5.33:1。

色票整體色彩彩度偏低,其中紅色為 #d1918f、綠色為 #709bbd、藍色為 #a0b6e8、洋紅為 #aac9d4。

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

與 Serendipity Sunset 相似的配色

資料來源:iTerm2 Color Schemes (MIT)