跳到主要內容

Adventure

Adventure 是一套深色終端機配色(純黑、高對比),背景色 #040404,文字色 #feffff,對比度 20.5:1

取得設定檔
背景色
#040404
前景色
#feffff
文字對比度
20.47:1AAA
強調色對比度
9.24:1最低 4.55
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
❯

Adventure 的設定檔

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

Adventure

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

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

palette = 0=#040404
palette = 1=#d84a33
palette = 2=#5da602
palette = 3=#eebb6e
palette = 4=#417ab3
palette = 5=#e5c499
palette = 6=#bdcfe5
palette = 7=#dbded8
palette = 8=#685656
palette = 9=#d76b42
palette = 10=#99b52c
palette = 11=#ffb670
palette = 12=#97d7ef
palette = 13=#aa7900
palette = 14=#bdcfe5
palette = 15=#e4d5c7
background = #040404
foreground = #feffff
cursor-color = #feffff
cursor-text = #000000
selection-background = #606060
selection-foreground = #ffffff

Adventure 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#040404rgb(4 4 4)hsl(0 0% 2%)oklch(10.7% 0.000 0)—
前景色foreground#feffffrgb(254 255 255)hsl(180 100% 100%)oklch(99.9% 0.001 197.1)20.47 AAA
光標cursor#feffffrgb(254 255 255)hsl(180 100% 100%)oklch(99.9% 0.001 197.1)20.47 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.02 低於 AA
選取範圍selection#606060rgb(96 96 96)hsl(0 0% 38%)oklch(48.9% 0.000 0)3.26 AA 大字體
選取文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)20.50 AAA
黑color0#040404rgb(4 4 4)hsl(0 0% 2%)oklch(10.7% 0.000 0)1.00 低於 AA
紅color1#d84a33rgb(216 74 51)hsl(8 68% 52%)oklch(60.3% 0.182 31.8)4.83 AA
綠color2#5da602rgb(93 166 2)hsl(87 98% 33%)oklch(65.1% 0.185 133.7)6.76 AA
黃color3#eebb6ergb(238 187 110)hsl(36 79% 68%)oklch(82.2% 0.112 76.5)11.68 AAA
藍color4#417ab3rgb(65 122 179)hsl(210 47% 48%)oklch(56.7% 0.107 250.3)4.55 AA
洋紅color5#e5c499rgb(229 196 153)hsl(34 59% 75%)oklch(83.8% 0.068 74.0)12.39 AAA
青color6#bdcfe5rgb(189 207 229)hsl(213 43% 82%)oklch(84.8% 0.036 253.5)12.91 AAA
白color7#dbded8rgb(219 222 216)hsl(90 8% 86%)oklch(89.7% 0.009 128.6)15.09 AAA
亮黑color8#685656rgb(104 86 86)hsl(0 9% 37%)oklch(47.1% 0.024 18.0)2.98 低於 AA
亮紅color9#d76b42rgb(215 107 66)hsl(17 65% 55%)oklch(64.8% 0.147 40.8)5.93 AA
亮綠color10#99b52crgb(153 181 44)hsl(72 61% 44%)oklch(72.7% 0.159 120.8)8.79 AAA
亮黃color11#ffb670rgb(255 182 112)hsl(29 100% 72%)oklch(83.1% 0.121 63.6)11.89 AAA
亮藍color12#97d7efrgb(151 215 239)hsl(196 73% 76%)oklch(84.4% 0.073 223.3)12.97 AAA
亮洋紅color13#aa7900rgb(170 121 0)hsl(43 100% 33%)oklch(61.0% 0.126 80.2)5.32 AA
亮青color14#bdcfe5rgb(189 207 229)hsl(213 43% 82%)oklch(84.8% 0.036 253.5)12.91 AAA
亮白color15#e4d5c7rgb(228 213 199)hsl(29 35% 84%)oklch(88.1% 0.025 65.5)14.29 AAA

關於 Adventure

Adventure 採用中性色調的深色背景(#040404),預設前景色為 #feffff。正文的 WCAG 對比度為 20.47:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.24:1,最低 4.55:1。

色板整體色彩飽和度適中,其中紅色為 #d84a33、綠色為 #5da602、藍色為 #417ab3、洋紅為 #e5c499。

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

與 Adventure 相似的配色

資料來源:iTerm2 Color Schemes (MIT)