跳到正文

ENCOM

ENCOM 是一套深色终端配色(纯黑、柔和),背景色 #000000,文字色 #00a595,对比度 6.8:1

获取配置
背景色
#000000
前景色
#00a595
文字对比度
6.82:1AA
强调色对比度
7.82:1最低 2.44
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
❯

ENCOM 的配置文件

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

ENCOM

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

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

palette = 0=#000000
palette = 1=#9f0000
palette = 2=#008b00
palette = 3=#ffd000
palette = 4=#0081ff
palette = 5=#bc00ca
palette = 6=#008b8b
palette = 7=#bbbbbb
palette = 8=#555555
palette = 9=#ff0000
palette = 10=#00ee00
palette = 11=#ffff00
palette = 12=#0000ff
palette = 13=#ff00ff
palette = 14=#00cdcd
palette = 15=#ffffff
background = #000000
foreground = #00a595
cursor-color = #bbbbbb
cursor-text = #ffffff
selection-background = #00a48c
selection-foreground = #3de1c9

ENCOM 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#00a595rgb(0 165 149)hsl(174 100% 32%)oklch(64.8% 0.116 182.9)6.82 AA
光标cursor#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)10.94 AAA
光标文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
选区selection#00a48crgb(0 164 140)hsl(171 100% 32%)oklch(64.3% 0.119 177.3)6.69 AA
选区文字selectionText#3de1c9rgb(61 225 201)hsl(171 73% 56%)oklch(82.2% 0.135 180.6)12.81 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
红color1#9f0000rgb(159 0 0)hsl(0 100% 31%)oklch(44.1% 0.181 29.2)2.47 低于 AA
绿color2#008b00rgb(0 139 0)hsl(120 100% 27%)oklch(55.2% 0.188 142.5)4.69 AA
黄color3#ffd000rgb(255 208 0)hsl(49 100% 50%)oklch(87.3% 0.179 92.2)14.27 AAA
蓝color4#0081ffrgb(0 129 255)hsl(210 100% 50%)oklch(61.7% 0.210 255.9)5.58 AA
品红color5#bc00cargb(188 0 202)hsl(296 100% 40%)oklch(56.7% 0.266 324.5)3.99 AA 大字号
青color6#008b8brgb(0 139 139)hsl(180 100% 27%)oklch(57.7% 0.098 194.8)5.07 AA
白color7#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)10.94 AAA
亮黑color8#555555rgb(85 85 85)hsl(0 0% 33%)oklch(45.0% 0.000 0)2.82 低于 AA
亮红color9#ff0000rgb(255 0 0)hsl(0 100% 50%)oklch(62.8% 0.258 29.2)5.25 AA
亮绿color10#00ee00rgb(0 238 0)hsl(120 100% 47%)oklch(82.2% 0.280 142.5)13.23 AAA
亮黄color11#ffff00rgb(255 255 0)hsl(60 100% 50%)oklch(96.8% 0.211 109.8)19.56 AAA
亮蓝color12#0000ffrgb(0 0 255)hsl(240 100% 50%)oklch(45.2% 0.313 264.1)2.44 低于 AA
亮品红color13#ff00ffrgb(255 0 255)hsl(300 100% 50%)oklch(70.2% 0.322 328.4)6.70 AA
亮青color14#00cdcdrgb(0 205 205)hsl(180 100% 40%)oklch(76.8% 0.131 194.8)10.61 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA

关于 ENCOM

ENCOM 采用中性色调的深色背景(#000000),默认前景色为 #00a595。正文的 WCAG 对比度为 6.82:1(AA),12 种 ANSI 彩色槽位平均对比度 7.82:1,最低 2.44:1。

色板整体色彩饱和度较高,其中红色为 #9f0000、绿色为 #008b00、蓝色为 #0081ff、品红为 #bc00ca。

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

与 ENCOM 相似的配色

数据来源:iTerm2 Color Schemes (MIT)