跳到正文

Phanes

Phanes 是一套深色终端配色(柔和),背景色 #222021,文字色 #9f999b,对比度 5.8:1

获取配置
背景色
#222021
前景色
#9f999b
文字对比度
5.79:1AA
强调色对比度
5.10:1最低 1.18
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
❯

Phanes 的配置文件

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

Phanes

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

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

palette = 0=#222021
palette = 1=#6e5b86
palette = 2=#cca133
palette = 3=#ffcc4d
palette = 4=#8b78a3
palette = 5=#cca133
palette = 6=#9067cf
palette = 7=#9f999b
palette = 8=#635f60
palette = 9=#ddaf3c
palette = 10=#2f2d2e
palette = 11=#565254
palette = 12=#706b6d
palette = 13=#b28ce7
palette = 14=#c39622
palette = 15=#ffebf2
background = #222021
foreground = #9f999b
cursor-color = #9f999b
cursor-text = #222021
selection-background = #3e3b3d
selection-foreground = #9f999b

Phanes 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#222021rgb(34 32 33)hsl(330 3% 13%)oklch(24.6% 0.004 345.5)—
前景色foreground#9f999brgb(159 153 155)hsl(340 3% 61%)oklch(68.9% 0.008 354.9)5.79 AA
光标cursor#9f999brgb(159 153 155)hsl(340 3% 61%)oklch(68.9% 0.008 354.9)5.79 AA
光标文字cursorText#222021rgb(34 32 33)hsl(330 3% 13%)oklch(24.6% 0.004 345.5)1.00 低于 AA
选区selection#3e3b3drgb(62 59 61)hsl(320 2% 24%)oklch(35.6% 0.005 337.6)1.46 低于 AA
选区文字selectionText#9f999brgb(159 153 155)hsl(340 3% 61%)oklch(68.9% 0.008 354.9)5.79 AA
黑color0#222021rgb(34 32 33)hsl(330 3% 13%)oklch(24.6% 0.004 345.5)1.00 低于 AA
红color1#6e5b86rgb(110 91 134)hsl(267 19% 44%)oklch(50.7% 0.070 304.3)2.70 低于 AA
绿color2#cca133rgb(204 161 51)hsl(43 60% 50%)oklch(73.0% 0.132 86.4)6.72 AA
黄color3#ffcc4drgb(255 204 77)hsl(43 100% 65%)oklch(86.8% 0.151 86.4)10.79 AAA
蓝color4#8b78a3rgb(139 120 163)hsl(267 19% 55%)oklch(60.6% 0.067 304.6)4.10 AA 大字号
品红color5#cca133rgb(204 161 51)hsl(43 60% 50%)oklch(73.0% 0.132 86.4)6.72 AA
青color6#9067cfrgb(144 103 207)hsl(264 52% 61%)oklch(60.2% 0.156 299.9)3.88 AA 大字号
白color7#9f999brgb(159 153 155)hsl(340 3% 61%)oklch(68.9% 0.008 354.9)5.79 AA
亮黑color8#635f60rgb(99 95 96)hsl(345 2% 38%)oklch(49.0% 0.005 0.2)2.57 低于 AA
亮红color9#ddaf3crgb(221 175 60)hsl(43 70% 55%)oklch(77.6% 0.138 86.1)7.92 AAA
亮绿color10#2f2d2ergb(47 45 46)hsl(330 2% 18%)oklch(30.0% 0.003 345.4)1.18 低于 AA
亮黄color11#565254rgb(86 82 84)hsl(330 2% 33%)oklch(44.3% 0.006 345.5)2.11 低于 AA
亮蓝color12#706b6drgb(112 107 109)hsl(336 2% 43%)oklch(53.3% 0.007 351.0)3.09 AA 大字号
亮品红color13#b28ce7rgb(178 140 231)hsl(265 65% 73%)oklch(71.1% 0.134 302.3)6.01 AA
亮青color14#c39622rgb(195 150 34)hsl(43 70% 45%)oklch(69.7% 0.133 85.3)5.94 AA
亮白color15#ffebf2rgb(255 235 242)hsl(339 100% 96%)oklch(95.8% 0.023 354.3)14.20 AAA

关于 Phanes

Phanes 采用中性色调的深色背景(#222021),默认前景色为 #9f999b。正文的 WCAG 对比度为 5.79:1(AA),12 种 ANSI 彩色槽位平均对比度 5.10:1,最低 1.18:1。

色板整体色彩饱和度适中,其中红色为 #6e5b86、绿色为 #cca133、蓝色为 #8b78a3、品红为 #cca133。

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

与 Phanes 相似的配色

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