跳到主要內容

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/zh-tw/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)