跳到正文

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/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)