跳到正文

The Fog

The Fog 是一套深色终端配色(低饱和、粉彩),背景色 #294552,文字色 #eef4f3,对比度 9.1:1

获取配置
背景色
#294552
前景色
#eef4f3
文字对比度
9.13:1AAA
强调色对比度
5.57:1最低 4.76
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
❯

The Fog 的配置文件

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

The Fog

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

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

palette = 0=#c0ced2
palette = 1=#ee9d8b
palette = 2=#9bc8ad
palette = 3=#dec978
palette = 4=#93c3d6
palette = 5=#baadca
palette = 6=#87ced0
palette = 7=#eef4f3
palette = 8=#c8d4d7
palette = 9=#f0a999
palette = 10=#a7cfb7
palette = 11=#e2cf88
palette = 12=#a0cadb
palette = 13=#bfb2ce
palette = 14=#95d4d6
palette = 15=#f0f5f4
background = #294552
foreground = #eef4f3
cursor-color = #f0a999
cursor-text = #294552
selection-background = #c8d4d7
selection-foreground = #979c9b

The Fog 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#294552rgb(41 69 82)hsl(199 33% 24%)oklch(37.4% 0.041 229.1)—
前景色foreground#eef4f3rgb(238 244 243)hsl(170 21% 95%)oklch(96.2% 0.007 185.3)9.13 AAA
光标cursor#f0a999rgb(240 169 153)hsl(11 74% 77%)oklch(79.9% 0.088 33.1)5.24 AA
光标文字cursorText#294552rgb(41 69 82)hsl(199 33% 24%)oklch(37.4% 0.041 229.1)1.00 低于 AA
选区selection#c8d4d7rgb(200 212 215)hsl(192 16% 81%)oklch(86.2% 0.014 214.4)6.70 AA
选区文字selectionText#979c9brgb(151 156 155)hsl(168 2% 60%)oklch(68.8% 0.006 182.9)3.65 AA 大字号
黑color0#c0ced2rgb(192 206 210)hsl(193 17% 79%)oklch(84.2% 0.016 216.7)6.29 AA
红color1#ee9d8brgb(238 157 139)hsl(11 74% 74%)oklch(77.2% 0.101 33.1)4.76 AA
绿color2#9bc8adrgb(155 200 173)hsl(144 29% 70%)oklch(79.3% 0.061 158.3)5.45 AA
黄color3#dec978rgb(222 201 120)hsl(48 61% 67%)oklch(83.6% 0.104 95.3)6.16 AA
蓝color4#93c3d6rgb(147 195 214)hsl(197 45% 71%)oklch(79.0% 0.057 224.3)5.33 AA
品红color5#baadcargb(186 173 202)hsl(267 21% 74%)oklch(76.8% 0.043 305.6)4.80 AA
青color6#87ced0rgb(135 206 208)hsl(182 44% 67%)oklch(80.5% 0.071 198.1)5.69 AA
白color7#eef4f3rgb(238 244 243)hsl(170 21% 95%)oklch(96.2% 0.007 185.3)9.13 AAA
亮黑color8#c8d4d7rgb(200 212 215)hsl(192 16% 81%)oklch(86.2% 0.014 214.4)6.70 AA
亮红color9#f0a999rgb(240 169 153)hsl(11 74% 77%)oklch(79.9% 0.088 33.1)5.24 AA
亮绿color10#a7cfb7rgb(167 207 183)hsl(144 29% 73%)oklch(81.9% 0.054 158.6)5.93 AA
亮黄color11#e2cf88rgb(226 207 136)hsl(47 61% 71%)oklch(85.4% 0.093 94.9)6.54 AA
亮蓝color12#a0cadbrgb(160 202 219)hsl(197 45% 74%)oklch(81.5% 0.050 224.6)5.79 AA
亮品红color13#bfb2cergb(191 178 206)hsl(268 22% 75%)oklch(78.3% 0.042 306.4)5.07 AA
亮青color14#95d4d6rgb(149 212 214)hsl(182 44% 71%)oklch(82.8% 0.064 198.5)6.13 AA
亮白color15#f0f5f4rgb(240 245 244)hsl(168 20% 95%)oklch(96.6% 0.005 183.0)9.23 AAA

关于 The Fog

The Fog 采用冷色调的深色背景(#294552),默认前景色为 #eef4f3。正文的 WCAG 对比度为 9.13:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.57:1,最低 4.76:1。

色板整体色彩饱和度偏低,其中红色为 #ee9d8b、绿色为 #9bc8ad、蓝色为 #93c3d6、品红为 #baadca。

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

与 The Fog 相似的配色

数据来源:iTerm2 Color Schemes (MIT)