跳到正文

Greenscreen

Greenscreen 是一套深色终端配色(单色),背景色 #001100,文字色 #00bb00,对比度 7.5:1

获取配置
背景色
#001100
前景色
#00bb00
文字对比度
7.51:1AAA
强调色对比度
4.84:1最低 2.13
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
❯

Greenscreen 的配置文件

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

Greenscreen

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

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

palette = 0=#001100
palette = 1=#007700
palette = 2=#00bb00
palette = 3=#007700
palette = 4=#009900
palette = 5=#00bb00
palette = 6=#005500
palette = 7=#00bb00
palette = 8=#007700
palette = 9=#007700
palette = 10=#00bb00
palette = 11=#007700
palette = 12=#009900
palette = 13=#00bb00
palette = 14=#005500
palette = 15=#00ff00
background = #001100
foreground = #00bb00
cursor-color = #00bb00
cursor-text = #001100
selection-background = #003600
selection-foreground = #00bb00

Greenscreen 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#001100rgb(0 17 0)hsl(120 100% 3%)oklch(15.4% 0.052 142.5)—
前景色foreground#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)7.51 AAA
光标cursor#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)7.51 AAA
光标文字cursorText#001100rgb(0 17 0)hsl(120 100% 3%)oklch(15.4% 0.052 142.5)1.00 低于 AA
选区selection#003600rgb(0 54 0)hsl(120 100% 11%)oklch(28.8% 0.098 142.5)1.41 低于 AA
选区文字selectionText#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)7.51 AAA
黑color0#001100rgb(0 17 0)hsl(120 100% 3%)oklch(15.4% 0.052 142.5)1.00 低于 AA
红color1#007700rgb(0 119 0)hsl(120 100% 23%)oklch(49.3% 0.168 142.5)3.37 AA 大字号
绿color2#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)7.51 AAA
黄color3#007700rgb(0 119 0)hsl(120 100% 23%)oklch(49.3% 0.168 142.5)3.37 AA 大字号
蓝color4#009900rgb(0 153 0)hsl(120 100% 30%)oklch(59.2% 0.201 142.5)5.14 AA
品红color5#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)7.51 AAA
青color6#005500rgb(0 85 0)hsl(120 100% 17%)oklch(38.9% 0.133 142.5)2.13 低于 AA
白color7#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)7.51 AAA
亮黑color8#007700rgb(0 119 0)hsl(120 100% 23%)oklch(49.3% 0.168 142.5)3.37 AA 大字号
亮红color9#007700rgb(0 119 0)hsl(120 100% 23%)oklch(49.3% 0.168 142.5)3.37 AA 大字号
亮绿color10#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)7.51 AAA
亮黄color11#007700rgb(0 119 0)hsl(120 100% 23%)oklch(49.3% 0.168 142.5)3.37 AA 大字号
亮蓝color12#009900rgb(0 153 0)hsl(120 100% 30%)oklch(59.2% 0.201 142.5)5.14 AA
亮品红color13#00bb00rgb(0 187 0)hsl(120 100% 37%)oklch(68.6% 0.234 142.5)7.51 AAA
亮青color14#005500rgb(0 85 0)hsl(120 100% 17%)oklch(38.9% 0.133 142.5)2.13 低于 AA
亮白color15#00ff00rgb(0 255 0)hsl(120 100% 50%)oklch(86.6% 0.295 142.5)14.17 AAA

关于 Greenscreen

Greenscreen 采用中性色调的深色背景(#001100),默认前景色为 #00bb00。正文的 WCAG 对比度为 7.51:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.84:1,最低 2.13:1。

色板整体色彩饱和度较高,其中红色为 #007700、绿色为 #00bb00、蓝色为 #009900、品红为 #00bb00。

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

该色板在上游仓库中也曾以 Green Screen 的名称发布

与 Greenscreen 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)