跳到主要內容

Witching Hour

Witching Hour 是一套深色終端機配色(粉彩、冷色),背景色 #261044,文字色 #f5edff,對比度 14.9:1

取得設定檔
背景色
#261044
前景色
#f5edff
文字對比度
14.87:1AAA
強調色對比度
9.85:1最低 7.15
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
❯

Witching Hour 的設定檔

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

Witching Hour

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

更多 Ghostty 配色
原始檔
# Theme: Witching Hour (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/witching-hour?format=ghostty

palette = 0=#b9aec8
palette = 1=#f18a9d
palette = 2=#a4d66e
palette = 3=#e9c86b
palette = 4=#91c4ed
palette = 5=#c995f0
palette = 6=#80d4d2
palette = 7=#f5edff
palette = 8=#cec3dc
palette = 9=#f5a6b4
palette = 10=#bae187
palette = 11=#f1d98a
palette = 12=#add5f3
palette = 13=#d9b1f5
palette = 14=#a0e1df
palette = 15=#fffaff
background = #261044
foreground = #f5edff
cursor-color = #b56cff
cursor-text = #261044
selection-background = #45236b
selection-foreground = #fff8ff

Witching Hour 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#261044rgb(38 16 68)hsl(265 62% 16%)oklch(24.0% 0.093 298.5)—
前景色foreground#f5edffrgb(245 237 255)hsl(267 100% 96%)oklch(95.8% 0.025 305.9)14.87 AAA
游標cursor#b56cffrgb(181 108 255)hsl(270 100% 71%)oklch(67.6% 0.213 304.2)5.29 AA
游標文字cursorText#261044rgb(38 16 68)hsl(265 62% 16%)oklch(24.0% 0.093 298.5)1.00 低於 AA
選取範圍selection#45236brgb(69 35 107)hsl(268 51% 28%)oklch(34.2% 0.121 302.1)1.38 低於 AA
選取文字selectionText#fff8ffrgb(255 248 255)hsl(300 100% 99%)oklch(98.6% 0.012 325.7)16.23 AAA
黑color0#b9aec8rgb(185 174 200)hsl(265 19% 73%)oklch(76.8% 0.038 304.6)8.03 AAA
紅color1#f18a9drgb(241 138 157)hsl(349 79% 74%)oklch(74.9% 0.126 8.8)7.15 AAA
綠color2#a4d66ergb(164 214 110)hsl(89 56% 64%)oklch(81.8% 0.144 130.2)10.02 AAA
黃color3#e9c86brgb(233 200 107)hsl(44 74% 67%)oklch(84.2% 0.119 90.2)10.43 AAA
藍color4#91c4edrgb(145 196 237)hsl(207 72% 75%)oklch(79.9% 0.079 243.2)9.13 AAA
洋紅color5#c995f0rgb(201 149 240)hsl(274 75% 76%)oklch(75.3% 0.138 309.7)7.29 AAA
青color6#80d4d2rgb(128 212 210)hsl(179 49% 67%)oklch(81.6% 0.082 193.7)9.89 AAA
白color7#f5edffrgb(245 237 255)hsl(267 100% 96%)oklch(95.8% 0.025 305.9)14.87 AAA
亮黑color8#cec3dcrgb(206 195 220)hsl(266 26% 81%)oklch(83.4% 0.036 305.4)10.05 AAA
亮紅color9#f5a6b4rgb(245 166 180)hsl(349 80% 81%)oklch(80.6% 0.095 7.8)8.87 AAA
亮綠color10#bae187rgb(186 225 135)hsl(86 60% 71%)oklch(86.1% 0.124 127.9)11.46 AAA
亮黃color11#f1d98argb(241 217 138)hsl(46 79% 74%)oklch(88.8% 0.102 93.1)12.12 AAA
亮藍color12#add5f3rgb(173 213 243)hsl(206 74% 82%)oklch(85.4% 0.059 240.8)10.96 AAA
亮洋紅color13#d9b1f5rgb(217 177 245)hsl(275 77% 83%)oklch(81.9% 0.103 310.9)9.32 AAA
亮青color14#a0e1dfrgb(160 225 223)hsl(178 52% 75%)oklch(86.6% 0.065 193.6)11.56 AAA
亮白color15#fffaffrgb(255 250 255)hsl(300 100% 99%)oklch(99.0% 0.008 325.6)16.43 AAA

關於 Witching Hour

Witching Hour 採用冷色調的深色背景(#261044),預設前景色為 #f5edff。內文的 WCAG 對比度為 14.87:1(AAA),12 種 ANSI 彩色槽位平均對比度 9.85:1,最低 7.15:1。

色票整體色彩彩度適中,其中紅色為 #f18a9d、綠色為 #a4d66e、藍色為 #91c4ed、洋紅為 #c995f0。

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

與 Witching Hour 相似的配色

資料來源:iTerm2 Color Schemes (MIT)