跳到正文

Glowfish

Glowfish 是一套深色终端配色(柔和),背景色 #191f13,文字色 #6ea240,对比度 5.5:1

获取配置
背景色
#191f13
前景色
#6ea240
文字对比度
5.54:1AA
强调色对比度
7.54:1最低 2.56
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
❯

Glowfish 的配置文件

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

Glowfish

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

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

palette = 0=#262f1d
palette = 1=#ba0e2e
palette = 2=#95cc5e
palette = 3=#db784d
palette = 4=#60a365
palette = 5=#d65940
palette = 6=#95cc5e
palette = 7=#7ab447
palette = 8=#3f4e30
palette = 9=#e61f44
palette = 10=#c8e5ab
palette = 11=#ecb8a2
palette = 12=#a1c8a4
palette = 13=#e8a294
palette = 14=#c8e5ab
palette = 15=#94c46a
background = #191f13
foreground = #6ea240
cursor-color = #f8f8f0
cursor-text = #6ea240
selection-background = #db784d
selection-foreground = #ffffff

Glowfish 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#191f13rgb(25 31 19)hsl(90 24% 10%)oklch(22.9% 0.024 129.7)—
前景色foreground#6ea240rgb(110 162 64)hsl(92 43% 44%)oklch(65.4% 0.141 132.6)5.54 AA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)15.78 AAA
光标文字cursorText#6ea240rgb(110 162 64)hsl(92 43% 44%)oklch(65.4% 0.141 132.6)5.54 AA
选区selection#db784drgb(219 120 77)hsl(18 66% 58%)oklch(67.5% 0.136 43.4)5.46 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.84 AAA
黑color0#262f1drgb(38 47 29)hsl(90 24% 15%)oklch(29.1% 0.034 129.9)1.21 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.56 低于 AA
绿color2#95cc5ergb(149 204 94)hsl(90 52% 58%)oklch(78.3% 0.153 131.2)8.88 AAA
黄color3#db784drgb(219 120 77)hsl(18 66% 58%)oklch(67.5% 0.136 43.4)5.46 AA
蓝color4#60a365rgb(96 163 101)hsl(124 27% 51%)oklch(65.5% 0.114 145.8)5.55 AA
品红color5#d65940rgb(214 89 64)hsl(10 65% 55%)oklch(62.0% 0.163 33.1)4.30 AA 大字号
青color6#95cc5ergb(149 204 94)hsl(90 52% 58%)oklch(78.3% 0.153 131.2)8.88 AAA
白color7#7ab447rgb(122 180 71)hsl(92 43% 49%)oklch(70.7% 0.154 132.7)6.78 AA
亮黑color8#3f4e30rgb(63 78 48)hsl(90 24% 25%)oklch(40.2% 0.052 130.0)1.88 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)3.72 AA 大字号
亮绿color10#c8e5abrgb(200 229 171)hsl(90 53% 78%)oklch(88.6% 0.083 129.6)12.23 AAA
亮黄color11#ecb8a2rgb(236 184 162)hsl(18 66% 78%)oklch(82.4% 0.068 44.0)9.58 AAA
亮蓝color12#a1c8a4rgb(161 200 164)hsl(125 26% 71%)oklch(79.5% 0.065 147.0)9.07 AAA
亮品红color13#e8a294rgb(232 162 148)hsl(10 65% 75%)oklch(77.6% 0.086 31.7)8.04 AAA
亮青color14#c8e5abrgb(200 229 171)hsl(90 53% 78%)oklch(88.6% 0.083 129.6)12.23 AAA
亮白color15#94c46argb(148 196 106)hsl(92 43% 59%)oklch(76.6% 0.130 131.8)8.31 AAA

关于 Glowfish

Glowfish 采用中性色调的深色背景(#191f13),默认前景色为 #6ea240。正文的 WCAG 对比度为 5.54:1(AA),12 种 ANSI 彩色槽位平均对比度 7.54:1,最低 2.56:1。

色板整体色彩饱和度适中,其中红色为 #ba0e2e、绿色为 #95cc5e、蓝色为 #60a365、品红为 #d65940。

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

与 Glowfish 相似的配色

数据来源:Rainglow (MIT)