跳到主要內容

Sunset Drive

Sunset Drive 是一套深色終端機配色(高對比、鮮豔),背景色 #0f0f1a,文字色 #ededfe,對比度 16.4:1

取得設定檔
背景色
#0f0f1a
前景色
#ededfe
文字對比度
16.44:1AAA
強調色對比度
11.35:1最低 4.92
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
❯

Sunset Drive 的設定檔

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

Sunset Drive

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

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

palette = 0=#0a0a13
palette = 1=#ff0063
palette = 2=#00f992
palette = 3=#ffe900
palette = 4=#00a4ff
palette = 5=#ff57fd
palette = 6=#00ffed
palette = 7=#ededff
palette = 8=#3e3e4b
palette = 9=#ff948b
palette = 10=#00fcb9
palette = 11=#ffff68
palette = 12=#3ea0ff
palette = 13=#ff93ff
palette = 14=#38ffff
palette = 15=#f8f8ff
background = #0f0f1a
foreground = #ededfe
cursor-color = #ededfe
cursor-text = #0f0f1a
selection-background = #202036
selection-foreground = #ededff

Sunset Drive 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#0f0f1argb(15 15 26)hsl(240 27% 8%)oklch(17.4% 0.023 283.8)—
前景色foreground#ededfergb(237 237 254)hsl(240 89% 96%)oklch(95.1% 0.023 286.0)16.44 AAA
游標cursor#ededfergb(237 237 254)hsl(240 89% 96%)oklch(95.1% 0.023 286.0)16.44 AAA
游標文字cursorText#0f0f1argb(15 15 26)hsl(240 27% 8%)oklch(17.4% 0.023 283.8)1.00 低於 AA
選取範圍selection#202036rgb(32 32 54)hsl(240 26% 17%)oklch(25.5% 0.041 283.1)1.20 低於 AA
選取文字selectionText#ededffrgb(237 237 255)hsl(240 100% 96%)oklch(95.1% 0.024 285.9)16.45 AAA
黑color0#0a0a13rgb(10 10 19)hsl(240 31% 6%)oklch(15.0% 0.019 283.8)1.04 低於 AA
紅color1#ff0063rgb(255 0 99)hsl(337 100% 50%)oklch(63.8% 0.255 11.4)4.92 AA
綠color2#00f992rgb(0 249 146)hsl(155 100% 49%)oklch(86.3% 0.212 155.2)13.56 AAA
黃color3#ffe900rgb(255 233 0)hsl(55 100% 50%)oklch(92.3% 0.194 102.5)15.32 AAA
藍color4#00a4ffrgb(0 164 255)hsl(201 100% 50%)oklch(69.4% 0.173 244.6)7.03 AAA
洋紅color5#ff57fdrgb(255 87 253)hsl(301 100% 67%)oklch(74.1% 0.268 328.4)7.28 AAA
青color6#00ffedrgb(0 255 237)hsl(176 100% 50%)oklch(90.0% 0.158 185.8)14.98 AAA
白color7#ededffrgb(237 237 255)hsl(240 100% 96%)oklch(95.1% 0.024 285.9)16.45 AAA
亮黑color8#3e3e4brgb(62 62 75)hsl(240 9% 27%)oklch(36.9% 0.022 285.3)1.81 低於 AA
亮紅color9#ff948brgb(255 148 139)hsl(5 100% 77%)oklch(77.7% 0.130 25.6)8.94 AAA
亮綠color10#00fcb9rgb(0 252 185)hsl(164 100% 49%)oklch(87.8% 0.184 165.3)14.16 AAA
亮黃color11#ffff68rgb(255 255 104)hsl(60 100% 70%)oklch(97.3% 0.170 109.2)17.90 AAA
亮藍color12#3ea0ffrgb(62 160 255)hsl(210 100% 62%)oklch(69.4% 0.167 251.0)6.96 AA
亮洋紅color13#ff93ffrgb(255 147 255)hsl(300 100% 79%)oklch(81.3% 0.184 327.1)9.85 AAA
亮青color14#38ffffrgb(56 255 255)hsl(180 100% 61%)oklch(91.0% 0.147 194.9)15.33 AAA
亮白color15#f8f8ffrgb(248 248 255)hsl(240 100% 99%)oklch(98.1% 0.009 286.2)18.00 AAA

關於 Sunset Drive

Sunset Drive 採用冷色調的深色背景(#0f0f1a),預設前景色為 #ededfe。內文的 WCAG 對比度為 16.44:1(AAA),12 種 ANSI 彩色槽位平均對比度 11.35:1,最低 4.92:1。

色票整體色彩彩度較高,其中紅色為 #ff0063、綠色為 #00f992、藍色為 #00a4ff、洋紅為 #ff57fd。

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

與 Sunset Drive 相似的配色

資料來源:iTerm2 Color Schemes (MIT)