跳到主要內容

Highway

Highway 是一套深色終端機配色,背景色 #222225,文字色 #ededed,對比度 13.6:1

取得設定檔
背景色
#222225
前景色
#ededed
文字對比度
13.55:1AAA
強調色對比度
5.35:1最低 1.64
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
❯

Highway 的設定檔

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

Highway

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

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

palette = 0=#000000
palette = 1=#d00e18
palette = 2=#138034
palette = 3=#ffcb3e
palette = 4=#006bb3
palette = 5=#6b2775
palette = 6=#384564
palette = 7=#ededed
palette = 8=#5d504a
palette = 9=#f07e18
palette = 10=#b1d130
palette = 11=#fff120
palette = 12=#4fc2fd
palette = 13=#de0071
palette = 14=#5d504a
palette = 15=#ffffff
background = #222225
foreground = #ededed
cursor-color = #e0d9b9
cursor-text = #1f192a
selection-background = #384564
selection-foreground = #ededed

Highway 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#222225rgb(34 34 37)hsl(240 4% 14%)oklch(25.3% 0.006 286.0)—
前景色foreground#edededrgb(237 237 237)hsl(0 0% 93%)oklch(94.6% 0.000 0)13.55 AAA
光標cursor#e0d9b9rgb(224 217 185)hsl(49 39% 80%)oklch(88.3% 0.043 97.0)11.18 AAA
光標文字cursorText#1f192argb(31 25 42)hsl(261 25% 13%)oklch(22.9% 0.033 300.0)1.08 低於 AA
選取範圍selection#384564rgb(56 69 100)hsl(222 28% 31%)oklch(39.3% 0.056 266.4)1.66 低於 AA
選取文字selectionText#edededrgb(237 237 237)hsl(0 0% 93%)oklch(94.6% 0.000 0)13.55 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.32 低於 AA
紅color1#d00e18rgb(208 14 24)hsl(357 87% 44%)oklch(54.3% 0.216 27.4)2.84 低於 AA
綠color2#138034rgb(19 128 52)hsl(138 74% 29%)oklch(52.6% 0.146 147.8)3.15 AA 大字體
黃color3#ffcb3ergb(255 203 62)hsl(44 100% 62%)oklch(86.5% 0.159 87.3)10.47 AAA
藍color4#006bb3rgb(0 107 179)hsl(204 100% 35%)oklch(51.6% 0.140 248.2)2.84 低於 AA
洋紅color5#6b2775rgb(107 39 117)hsl(292 50% 31%)oklch(40.6% 0.141 322.3)1.64 低於 AA
青color6#384564rgb(56 69 100)hsl(222 28% 31%)oklch(39.3% 0.056 266.4)1.66 低於 AA
白color7#edededrgb(237 237 237)hsl(0 0% 93%)oklch(94.6% 0.000 0)13.55 AAA
亮黑color8#5d504argb(93 80 74)hsl(19 11% 33%)oklch(44.2% 0.020 46.3)2.05 低於 AA
亮紅color9#f07e18rgb(240 126 24)hsl(28 88% 52%)oklch(70.9% 0.171 54.1)5.82 AA
亮綠color10#b1d130rgb(177 209 48)hsl(72 64% 50%)oklch(81.0% 0.179 120.7)9.09 AAA
亮黃color11#fff120rgb(255 241 32)hsl(56 100% 56%)oklch(94.0% 0.195 105.2)13.49 AAA
亮藍color12#4fc2fdrgb(79 194 253)hsl(200 98% 65%)oklch(77.3% 0.133 234.7)7.91 AAA
亮洋紅color13#de0071rgb(222 0 113)hsl(329 100% 44%)oklch(58.2% 0.235 1.6)3.28 AA 大字體
亮青color14#5d504argb(93 80 74)hsl(19 11% 33%)oklch(44.2% 0.020 46.3)2.05 低於 AA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)15.87 AAA

關於 Highway

Highway 採用中性色調的深色背景(#222225),預設前景色為 #ededed。正文的 WCAG 對比度為 13.55:1(AAA),12 種 ANSI 彩色槽位平均對比度 5.35:1,最低 1.64:1。

色板整體色彩飽和度適中,其中紅色為 #d00e18、綠色為 #138034、藍色為 #006bb3、洋紅為 #6b2775。

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

與 Highway 相似的配色

資料來源:iTerm2 Color Schemes (MIT)