跳到正文

Gleam Classic

Gleam Classic 是一套深色终端配色(高对比度、粉彩),背景色 #1e1e1e,文字色 #ffffff,对比度 16.7:1

获取配置
背景色
#1e1e1e
前景色
#ffffff
文字对比度
16.67:1AAA
强调色对比度
9.43:1最低 4.64
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
❯

Gleam Classic 的配置文件

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

Gleam Classic

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

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

palette = 0=#000000
palette = 1=#f44747
palette = 2=#aadd8b
palette = 3=#ffd596
palette = 4=#6796e6
palette = 5=#fe7ab2
palette = 6=#b181ec
palette = 7=#f7f7f7
palette = 8=#808080
palette = 9=#ff4a4a
palette = 10=#c8ffa7
palette = 11=#fdffab
palette = 12=#9ce7ff
palette = 13=#ffaff3
palette = 14=#d9baff
palette = 15=#ffffff
background = #1e1e1e
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #2f2f2f
selection-background = #777777
selection-foreground = #ffffff

Gleam Classic 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1e1e1ergb(30 30 30)hsl(0 0% 12%)oklch(23.5% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
光标文字cursorText#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)1.25 低于 AA
选区selection#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)3.72 AA 大字号
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.26 低于 AA
红color1#f44747rgb(244 71 71)hsl(0 89% 62%)oklch(64.8% 0.210 25.2)4.64 AA
绿color2#aadd8brgb(170 221 139)hsl(97 55% 71%)oklch(84.2% 0.121 134.3)10.66 AAA
黄color3#ffd596rgb(255 213 150)hsl(36 100% 79%)oklch(89.5% 0.093 77.3)12.07 AAA
蓝color4#6796e6rgb(103 150 230)hsl(218 72% 65%)oklch(67.5% 0.130 260.5)5.62 AA
品红color5#fe7ab2rgb(254 122 178)hsl(335 99% 74%)oklch(74.8% 0.171 355.3)6.86 AA
青color6#b181ecrgb(177 129 236)hsl(267 74% 72%)oklch(69.4% 0.158 303.2)5.73 AA
白color7#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)15.56 AAA
亮黑color8#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)4.22 AA 大字号
亮红color9#ff4a4argb(255 74 74)hsl(0 100% 65%)oklch(67.0% 0.218 25.3)5.03 AA
亮绿color10#c8ffa7rgb(200 255 167)hsl(98 100% 83%)oklch(94.2% 0.127 134.3)14.54 AAA
亮黄color11#fdffabrgb(253 255 171)hsl(61 100% 84%)oklch(98.0% 0.105 109.3)15.93 AAA
亮蓝color12#9ce7ffrgb(156 231 255)hsl(195 100% 81%)oklch(88.7% 0.081 220.0)12.14 AAA
亮品红color13#ffaff3rgb(255 175 243)hsl(309 100% 84%)oklch(85.1% 0.127 332.0)10.06 AAA
亮青color14#d9baffrgb(217 186 255)hsl(267 100% 86%)oklch(83.9% 0.100 304.9)9.86 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.67 AAA

关于 Gleam Classic

Gleam Classic 采用中性色调的深色背景(#1e1e1e),默认前景色为 #ffffff。正文的 WCAG 对比度为 16.67:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.43:1,最低 4.64:1。

色板整体色彩饱和度适中,其中红色为 #f44747、绿色为 #aadd8b、蓝色为 #6796e6、品红为 #fe7ab2。

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

与 Gleam Classic 相似的配色

数据来源:iTerm2 Color Schemes (MIT)