跳到正文

Glowfish Contrast

Glowfish Contrast 是一套深色终端配色(纯黑、柔和),背景色 #090b07,文字色 #6ea240,对比度 6.5:1

获取配置
背景色
#090b07
前景色
#6ea240
文字对比度
6.50:1AA
强调色对比度
8.85:1最低 3.00
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 Contrast 的配置文件

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

Glowfish Contrast

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

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

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

Glowfish Contrast 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#090b07rgb(9 11 7)hsl(90 22% 4%)oklch(14.5% 0.010 128.1)—
前景色foreground#6ea240rgb(110 162 64)hsl(92 43% 44%)oklch(65.4% 0.141 132.6)6.50 AA
光标cursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)18.52 AAA
光标文字cursorText#6ea240rgb(110 162 64)hsl(92 43% 44%)oklch(65.4% 0.141 132.6)6.50 AA
选区selection#db784drgb(219 120 77)hsl(18 66% 58%)oklch(67.5% 0.136 43.4)6.41 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)19.76 AAA
黑color0#161b11rgb(22 27 17)hsl(90 23% 9%)oklch(21.3% 0.020 129.6)1.13 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)3.00 AA 大字号
绿color2#95cc5ergb(149 204 94)hsl(90 52% 58%)oklch(78.3% 0.153 131.2)10.42 AAA
黄color3#db784drgb(219 120 77)hsl(18 66% 58%)oklch(67.5% 0.136 43.4)6.41 AA
蓝color4#60a365rgb(96 163 101)hsl(124 27% 51%)oklch(65.5% 0.114 145.8)6.52 AA
品红color5#d65940rgb(214 89 64)hsl(10 65% 55%)oklch(62.0% 0.163 33.1)5.05 AA
青color6#95cc5ergb(149 204 94)hsl(90 52% 58%)oklch(78.3% 0.153 131.2)10.42 AAA
白color7#7ab447rgb(122 180 71)hsl(92 43% 49%)oklch(70.7% 0.154 132.7)7.95 AAA
亮黑color8#2f3a25rgb(47 58 37)hsl(91 22% 19%)oklch(33.2% 0.038 130.7)1.65 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.37 AA 大字号
亮绿color10#c8e5abrgb(200 229 171)hsl(90 53% 78%)oklch(88.6% 0.083 129.6)14.35 AAA
亮黄color11#ecb8a2rgb(236 184 162)hsl(18 66% 78%)oklch(82.4% 0.068 44.0)11.24 AAA
亮蓝color12#a1c8a4rgb(161 200 164)hsl(125 26% 71%)oklch(79.5% 0.065 147.0)10.65 AAA
亮品红color13#e8a294rgb(232 162 148)hsl(10 65% 75%)oklch(77.6% 0.086 31.7)9.44 AAA
亮青color14#c8e5abrgb(200 229 171)hsl(90 53% 78%)oklch(88.6% 0.083 129.6)14.35 AAA
亮白color15#94c46argb(148 196 106)hsl(92 43% 59%)oklch(76.6% 0.130 131.8)9.75 AAA

关于 Glowfish Contrast

Glowfish Contrast 采用中性色调的深色背景(#090b07),默认前景色为 #6ea240。正文的 WCAG 对比度为 6.50:1(AA),12 种 ANSI 彩色槽位平均对比度 8.85:1,最低 3.00: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 Contrast 相似的配色

数据来源:Rainglow (MIT)