跳到正文

Edge Dark

Edge Dark 是一套深色终端配色,背景色 #262729,文字色 #afb2b5,对比度 7.0:1

获取配置
背景色
#262729
前景色
#afb2b5
文字对比度
7.02:1AAA
强调色对比度
6.59:1最低 4.98
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
❯

Edge Dark 的配置文件

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

Edge Dark

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

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

palette = 0=#262729
palette = 1=#e77171
palette = 2=#a1bf78
palette = 3=#dbb774
palette = 4=#73b3e7
palette = 5=#d390e7
palette = 6=#5ebaa5
palette = 7=#afb2b5
palette = 8=#4a4c4f
palette = 9=#e77171
palette = 10=#a1bf78
palette = 11=#dbb774
palette = 12=#73b3e7
palette = 13=#d390e7
palette = 14=#5ebaa5
palette = 15=#e4e5e6
background = #262729
foreground = #afb2b5
cursor-color = #afb2b5
cursor-text = #262729
selection-background = #454649
selection-foreground = #afb2b5

Edge Dark 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#262729rgb(38 39 41)hsl(220 4% 15%)oklch(27.2% 0.004 264.5)—
前景色foreground#afb2b5rgb(175 178 181)hsl(210 4% 70%)oklch(76.2% 0.005 247.9)7.02 AAA
光标cursor#afb2b5rgb(175 178 181)hsl(210 4% 70%)oklch(76.2% 0.005 247.9)7.02 AAA
光标文字cursorText#262729rgb(38 39 41)hsl(220 4% 15%)oklch(27.2% 0.004 264.5)1.00 低于 AA
选区selection#454649rgb(69 70 73)hsl(225 3% 28%)oklch(39.4% 0.005 271.3)1.58 低于 AA
选区文字selectionText#afb2b5rgb(175 178 181)hsl(210 4% 70%)oklch(76.2% 0.005 247.9)7.02 AAA
黑color0#262729rgb(38 39 41)hsl(220 4% 15%)oklch(27.2% 0.004 264.5)1.00 低于 AA
红color1#e77171rgb(231 113 113)hsl(0 71% 67%)oklch(68.7% 0.147 21.7)4.98 AA
绿color2#a1bf78rgb(161 191 120)hsl(85 36% 61%)oklch(76.5% 0.101 127.3)7.29 AAA
黄color3#dbb774rgb(219 183 116)hsl(39 59% 66%)oklch(79.6% 0.095 82.2)7.86 AAA
蓝color4#73b3e7rgb(115 179 231)hsl(207 71% 68%)oklch(74.4% 0.100 244.2)6.64 AA
品红color5#d390e7rgb(211 144 231)hsl(286 64% 74%)oklch(75.0% 0.140 318.2)6.35 AA
青color6#5ebaa5rgb(94 186 165)hsl(166 40% 55%)oklch(72.6% 0.094 176.7)6.44 AA
白color7#afb2b5rgb(175 178 181)hsl(210 4% 70%)oklch(76.2% 0.005 247.9)7.02 AAA
亮黑color8#4a4c4frgb(74 76 79)hsl(216 3% 30%)oklch(41.6% 0.006 258.3)1.74 低于 AA
亮红color9#e77171rgb(231 113 113)hsl(0 71% 67%)oklch(68.7% 0.147 21.7)4.98 AA
亮绿color10#a1bf78rgb(161 191 120)hsl(85 36% 61%)oklch(76.5% 0.101 127.3)7.29 AAA
亮黄color11#dbb774rgb(219 183 116)hsl(39 59% 66%)oklch(79.6% 0.095 82.2)7.86 AAA
亮蓝color12#73b3e7rgb(115 179 231)hsl(207 71% 68%)oklch(74.4% 0.100 244.2)6.64 AA
亮品红color13#d390e7rgb(211 144 231)hsl(286 64% 74%)oklch(75.0% 0.140 318.2)6.35 AA
亮青color14#5ebaa5rgb(94 186 165)hsl(166 40% 55%)oklch(72.6% 0.094 176.7)6.44 AA
亮白color15#e4e5e6rgb(228 229 230)hsl(210 4% 90%)oklch(92.1% 0.002 247.8)11.85 AAA

关于 Edge Dark

Edge Dark 采用中性色调的深色背景(#262729),默认前景色为 #afb2b5。正文的 WCAG 对比度为 7.02:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.59:1,最低 4.98:1。

色板整体色彩饱和度适中,其中红色为 #e77171、绿色为 #a1bf78、蓝色为 #73b3e7、品红为 #d390e7。

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

与 Edge Dark 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)