跳到主要內容

Horizon Dark

Horizon Dark 是一套深色終端機配色(冷色),背景色 #1c1e26,文字色 #fdf0ed,對比度 14.9:1

取得設定檔
背景色
#1c1e26
前景色
#fdf0ed
文字對比度
14.93:1AAA
強調色對比度
8.15:1最低 4.80
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
❯

Horizon Dark 的設定檔

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

Horizon Dark

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

更多 Ghostty 配色
原始檔
# Theme: Horizon Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/horizon-dark?format=ghostty

palette = 0=#16161c
palette = 1=#e95678
palette = 2=#29d398
palette = 3=#fab795
palette = 4=#26bbd9
palette = 5=#ee64ae
palette = 6=#59e3e3
palette = 7=#fadad1
palette = 8=#232530
palette = 9=#ec6a88
palette = 10=#3fdaa4
palette = 11=#fbc3a7
palette = 12=#3fc6de
palette = 13=#f075b7
palette = 14=#6be6e6
palette = 15=#fdf0ed
background = #1c1e26
foreground = #fdf0ed
cursor-color = #fdf0ed
cursor-text = #1c1e26
selection-background = #4d4c52
selection-foreground = #fdf0ed

Horizon Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1c1e26rgb(28 30 38)hsl(228 15% 13%)oklch(23.7% 0.016 274.1)—
前景色foreground#fdf0edrgb(253 240 237)hsl(11 80% 96%)oklch(96.5% 0.015 33.1)14.93 AAA
游標cursor#fdf0edrgb(253 240 237)hsl(11 80% 96%)oklch(96.5% 0.015 33.1)14.93 AAA
游標文字cursorText#1c1e26rgb(28 30 38)hsl(228 15% 13%)oklch(23.7% 0.016 274.1)1.00 低於 AA
選取範圍selection#4d4c52rgb(77 76 82)hsl(250 4% 31%)oklch(42.0% 0.010 293.6)1.96 低於 AA
選取文字selectionText#fdf0edrgb(253 240 237)hsl(11 80% 96%)oklch(96.5% 0.015 33.1)14.93 AAA
黑color0#16161crgb(22 22 28)hsl(240 12% 10%)oklch(20.3% 0.012 285.3)1.08 低於 AA
紅color1#e95678rgb(233 86 120)hsl(346 77% 63%)oklch(65.6% 0.183 9.6)4.80 AA
綠color2#29d398rgb(41 211 152)hsl(159 67% 49%)oklch(77.1% 0.157 163.4)8.60 AAA
黃color3#fab795rgb(250 183 149)hsl(20 91% 78%)oklch(83.4% 0.091 47.9)9.72 AAA
藍color4#26bbd9rgb(38 187 217)hsl(190 70% 50%)oklch(73.2% 0.123 215.7)7.28 AAA
洋紅color5#ee64aergb(238 100 174)hsl(328 80% 66%)oklch(69.6% 0.187 349.7)5.60 AA
青color6#59e3e3rgb(89 227 227)hsl(180 71% 62%)oklch(84.2% 0.118 195.1)10.71 AAA
白color7#fadad1rgb(250 218 209)hsl(13 80% 90%)oklch(91.3% 0.038 36.2)12.68 AAA
亮黑color8#232530rgb(35 37 48)hsl(231 16% 16%)oklch(26.7% 0.021 276.8)1.09 低於 AA
亮紅color9#ec6a88rgb(236 106 136)hsl(346 77% 67%)oklch(69.0% 0.162 8.0)5.53 AA
亮綠color10#3fdaa4rgb(63 218 164)hsl(159 68% 55%)oklch(79.5% 0.150 165.0)9.32 AAA
亮黃color11#fbc3a7rgb(251 195 167)hsl(20 91% 82%)oklch(86.0% 0.075 47.8)10.66 AAA
亮藍color12#3fc6dergb(63 198 222)hsl(189 71% 56%)oklch(76.5% 0.117 212.1)8.19 AAA
亮洋紅color13#f075b7rgb(240 117 183)hsl(328 80% 70%)oklch(72.4% 0.168 348.7)6.28 AA
亮青color14#6be6e6rgb(107 230 230)hsl(180 71% 66%)oklch(85.5% 0.110 195.3)11.15 AAA
亮白color15#fdf0edrgb(253 240 237)hsl(11 80% 96%)oklch(96.5% 0.015 33.1)14.93 AAA

關於 Horizon Dark

Horizon Dark 採用冷色調的深色背景(#1c1e26),預設前景色為 #fdf0ed。內文的 WCAG 對比度為 14.93:1(AAA),12 種 ANSI 彩色槽位平均對比度 8.15:1,最低 4.80:1。

色票整體色彩彩度適中,其中紅色為 #e95678、綠色為 #29d398、藍色為 #26bbd9、洋紅為 #ee64ae。此配色歸屬 Horizon 主題系列。

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

與 Horizon Dark 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)