跳到正文

tlh

tlh 是一套深色终端配色,背景色 #101010,文字色 #66ff66,对比度 14.6:1

获取配置
背景色
#101010
前景色
#66ff66
文字对比度
14.55:1AAA
强调色对比度
9.63:1最低 3.82
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
❯

tlh 的配置文件

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

tlh

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

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

palette = 0=#1c1c1c
palette = 1=#d81860
palette = 2=#60ff60
palette = 3=#f9fd75
palette = 4=#4695c8
palette = 5=#a78edb
palette = 6=#43afce
palette = 7=#f3ebe2
palette = 8=#4d4d4d
palette = 9=#f00060
palette = 10=#70ff70
palette = 11=#f9fd80
palette = 12=#5a9dc8
palette = 13=#b29fdb
palette = 14=#69b8ce
palette = 15=#eeeeee
background = #101010
foreground = #66ff66
cursor-color = #66ff66
cursor-text = #101010
selection-background = #274326
selection-foreground = #66ff66

tlh 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)—
前景色foreground#66ff66rgb(102 255 102)hsl(120 100% 70%)oklch(88.7% 0.234 143.3)14.55 AAA
光标cursor#66ff66rgb(102 255 102)hsl(120 100% 70%)oklch(88.7% 0.234 143.3)14.55 AAA
光标文字cursorText#101010rgb(16 16 16)hsl(0 0% 6%)oklch(17.3% 0.000 0)1.00 低于 AA
选区selection#274326rgb(39 67 38)hsl(118 28% 21%)oklch(35.2% 0.060 143.4)1.74 低于 AA
选区文字selectionText#66ff66rgb(102 255 102)hsl(120 100% 70%)oklch(88.7% 0.234 143.3)14.55 AAA
黑color0#1c1c1crgb(28 28 28)hsl(0 0% 11%)oklch(22.6% 0.000 0)1.12 低于 AA
红color1#d81860rgb(216 24 96)hsl(338 80% 47%)oklch(57.2% 0.219 7.6)3.82 AA 大字号
绿color2#60ff60rgb(96 255 96)hsl(120 100% 69%)oklch(88.4% 0.241 143.2)14.47 AAA
黄color3#f9fd75rgb(249 253 117)hsl(62 97% 73%)oklch(96.5% 0.158 110.6)17.52 AAA
蓝color4#4695c8rgb(70 149 200)hsl(204 54% 53%)oklch(64.2% 0.109 239.8)5.79 AA
品红color5#a78edbrgb(167 142 219)hsl(259 52% 71%)oklch(69.9% 0.113 298.4)6.83 AA
青color6#43afcergb(67 175 206)hsl(193 59% 54%)oklch(70.5% 0.106 220.4)7.49 AAA
白color7#f3ebe2rgb(243 235 226)hsl(32 41% 92%)oklch(94.4% 0.015 70.9)16.12 AAA
亮黑color8#4d4d4drgb(77 77 77)hsl(0 0% 30%)oklch(42.0% 0.000 0)2.25 低于 AA
亮红color9#f00060rgb(240 0 96)hsl(336 100% 47%)oklch(61.0% 0.244 10.4)4.42 AA 大字号
亮绿color10#70ff70rgb(112 255 112)hsl(120 100% 72%)oklch(89.1% 0.223 143.4)14.70 AAA
亮黄color11#f9fd80rgb(249 253 128)hsl(62 97% 75%)oklch(96.6% 0.148 110.5)17.57 AAA
亮蓝color12#5a9dc8rgb(90 157 200)hsl(203 50% 57%)oklch(66.9% 0.094 238.5)6.43 AA
亮品红color13#b29fdbrgb(178 159 219)hsl(259 45% 74%)oklch(74.0% 0.087 298.8)8.04 AAA
亮青color14#69b8cergb(105 184 206)hsl(193 51% 61%)oklch(74.0% 0.084 217.9)8.47 AAA
亮白color15#eeeeeergb(238 238 238)hsl(0 0% 93%)oklch(94.9% 0.000 0)16.40 AAA

关于 tlh

tlh 采用中性色调的深色背景(#101010),默认前景色为 #66ff66。正文的 WCAG 对比度为 14.55:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.63:1,最低 3.82:1。

色板整体色彩饱和度适中,其中红色为 #d81860、绿色为 #60ff60、蓝色为 #4695c8、品红为 #a78edb。

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

与 tlh 相似的配色

数据来源:terminal.sexy (MIT)