跳到主要內容

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