跳到正文

theme2

theme2 是一套深色终端配色(纯黑),背景色 #000000,文字色 #ffffff,对比度 21.0:1

获取配置
背景色
#000000
前景色
#ffffff
文字对比度
21.00:1AAA
强调色对比度
8.24:1最低 2.88
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
❯

theme2 的配置文件

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

theme2

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

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

palette = 0=#191919
palette = 1=#eb3d51
palette = 2=#66b61a
palette = 3=#d98e1d
palette = 4=#23ffa8
palette = 5=#ff00da
palette = 6=#68a783
palette = 7=#eaeaea
palette = 8=#484848
palette = 9=#be6262
palette = 10=#4b8a10
palette = 11=#e5d95e
palette = 12=#23aaff
palette = 13=#ab005b
palette = 14=#bbcd81
palette = 15=#bbbbbb
background = #000000
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #000000
selection-background = #222222
selection-foreground = #ffffff

theme2 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
光标文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低于 AA
选区selection#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)1.32 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黑color0#191919rgb(25 25 25)hsl(0 0% 10%)oklch(21.3% 0.000 0)1.19 低于 AA
红color1#eb3d51rgb(235 61 81)hsl(353 81% 58%)oklch(62.6% 0.209 19.7)5.32 AA
绿color2#66b61argb(102 182 26)hsl(91 75% 41%)oklch(69.8% 0.193 134.4)8.27 AAA
黄color3#d98e1drgb(217 142 29)hsl(36 76% 48%)oklch(70.7% 0.145 70.2)7.84 AAA
蓝color4#23ffa8rgb(35 255 168)hsl(156 100% 57%)oklch(88.4% 0.198 159.1)15.94 AAA
品红color5#ff00dargb(255 0 218)hsl(309 100% 50%)oklch(68.1% 0.300 336.8)6.26 AA
青color6#68a783rgb(104 167 131)hsl(146 26% 53%)oklch(67.5% 0.085 158.1)7.44 AAA
白color7#eaeaeargb(234 234 234)hsl(0 0% 92%)oklch(93.7% 0.000 0)17.46 AAA
亮黑color8#484848rgb(72 72 72)hsl(0 0% 28%)oklch(40.2% 0.000 0)2.30 低于 AA
亮红color9#be6262rgb(190 98 98)hsl(0 41% 56%)oklch(60.4% 0.118 21.2)5.11 AA
亮绿color10#4b8a10rgb(75 138 16)hsl(91 79% 30%)oklch(56.9% 0.159 134.5)4.94 AA
亮黄color11#e5d95ergb(229 217 94)hsl(55 72% 63%)oklch(87.2% 0.144 103.7)14.42 AAA
亮蓝color12#23aaffrgb(35 170 255)hsl(203 100% 57%)oklch(71.0% 0.164 243.6)8.27 AAA
亮品红color13#ab005brgb(171 0 91)hsl(328 100% 34%)oklch(48.1% 0.195 359.1)2.88 低于 AA
亮青color14#bbcd81rgb(187 205 129)hsl(74 43% 65%)oklch(81.7% 0.101 119.6)12.16 AAA
亮白color15#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)10.94 AAA

关于 theme2

theme2 采用中性色调的深色背景(#000000),默认前景色为 #ffffff。正文的 WCAG 对比度为 21.00:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.24:1,最低 2.88:1。

色板整体色彩饱和度适中,其中红色为 #eb3d51、绿色为 #66b61a、蓝色为 #23ffa8、品红为 #ff00da。

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

与 theme2 相似的配色

数据来源:terminal.sexy (MIT)