跳到正文

Dayfox

Dayfox 是一套浅色终端配色,背景色 #f6f2ee,文字色 #3d2b5a,对比度 11.2:1

获取配置
背景色
#f6f2ee
前景色
#3d2b5a
文字对比度
11.15:1AAA
强调色对比度
5.06:1最低 3.42
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
❯

Dayfox 的配置文件

16 种格式,都从同一份色板生成

Dayfox

存到 ~/.config/ghostty/themes/Dayfox,再在 config 或 config.ghostty 里写 theme = Dayfox

更多 Ghostty 配色
原始文件
# Theme: Dayfox (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/dayfox?format=ghostty

palette = 0=#352c24
palette = 1=#a5222f
palette = 2=#396847
palette = 3=#ac5402
palette = 4=#2848a9
palette = 5=#6e33ce
palette = 6=#287980
palette = 7=#f2e9e1
palette = 8=#534c45
palette = 9=#b3434e
palette = 10=#577f63
palette = 11=#b86e28
palette = 12=#4863b6
palette = 13=#8452d5
palette = 14=#488d93
palette = 15=#f4ece6
background = #f6f2ee
foreground = #3d2b5a
cursor-color = #3d2b5a
cursor-text = #f6f2ee
selection-background = #e7d2be
selection-foreground = #3d2b5a

Dayfox 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f6f2eergb(246 242 238)hsl(30 31% 95%)oklch(96.3% 0.007 67.7)—
前景色foreground#3d2b5argb(61 43 90)hsl(263 35% 26%)oklch(33.4% 0.082 299.6)11.15 AAA
光标cursor#3d2b5argb(61 43 90)hsl(263 35% 26%)oklch(33.4% 0.082 299.6)11.15 AAA
光标文字cursorText#f6f2eergb(246 242 238)hsl(30 31% 95%)oklch(96.3% 0.007 67.7)1.00 低于 AA
选区selection#e7d2bergb(231 210 190)hsl(29 46% 83%)oklch(87.6% 0.036 66.0)1.31 低于 AA
选区文字selectionText#3d2b5argb(61 43 90)hsl(263 35% 26%)oklch(33.4% 0.082 299.6)11.15 AAA
黑color0#352c24rgb(53 44 36)hsl(28 19% 17%)oklch(30.0% 0.019 63.6)12.27 AAA
红color1#a5222frgb(165 34 47)hsl(354 66% 39%)oklch(47.4% 0.166 21.6)6.57 AA
绿color2#396847rgb(57 104 71)hsl(138 29% 32%)oklch(47.4% 0.075 152.3)5.81 AA
黄color3#ac5402rgb(172 84 2)hsl(29 98% 34%)oklch(54.5% 0.138 52.6)4.69 AA
蓝color4#2848a9rgb(40 72 169)hsl(225 62% 41%)oklch(43.9% 0.160 266.0)7.28 AAA
品红color5#6e33cergb(110 51 206)hsl(263 61% 50%)oklch(49.2% 0.220 294.0)6.23 AA
青color6#287980rgb(40 121 128)hsl(185 52% 33%)oklch(53.1% 0.077 203.3)4.56 AA
白color7#f2e9e1rgb(242 233 225)hsl(28 40% 92%)oklch(93.9% 0.015 64.3)1.08 低于 AA
亮黑color8#534c45rgb(83 76 69)hsl(30 9% 30%)oklch(42.1% 0.015 67.4)7.58 AAA
亮红color9#b3434ergb(179 67 78)hsl(354 46% 48%)oklch(53.9% 0.146 17.6)4.92 AA
亮绿color10#577f63rgb(87 127 99)hsl(138 19% 42%)oklch(55.8% 0.062 153.5)4.08 AA 大字号
亮黄color11#b86e28rgb(184 110 40)hsl(29 64% 44%)oklch(60.8% 0.124 59.6)3.56 AA 大字号
亮蓝color12#4863b6rgb(72 99 182)hsl(225 43% 50%)oklch(52.1% 0.134 268.0)5.05 AA
亮品红color13#8452d5rgb(132 82 213)hsl(263 61% 58%)oklch(56.1% 0.193 297.4)4.54 AA
亮青color14#488d93rgb(72 141 147)hsl(185 34% 43%)oklch(60.1% 0.070 202.9)3.42 AA 大字号
亮白color15#f4ece6rgb(244 236 230)hsl(26 39% 93%)oklch(94.8% 0.012 59.6)1.05 低于 AA

关于 Dayfox

Dayfox 采用中性色调的浅色背景(#f6f2ee),默认前景色为 #3d2b5a。正文的 WCAG 对比度为 11.15:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.06:1,最低 3.42:1。

色板整体色彩饱和度适中,其中红色为 #a5222f、绿色为 #396847、蓝色为 #2848a9、品红为 #6e33ce。该配色归属 Nightfox 主题系列。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 Dayfox 相似的配色

数据来源:iTerm2 Color Schemes (MIT)