跳到正文

Tokyo Night Terminal Dark

Tokyo Night Terminal Dark 是一套深色终端配色(柔和、冷色),背景色 #16161e,文字色 #787c99,对比度 4.4:1

获取配置
背景色
#16161e
前景色
#787c99
文字对比度
4.40:1AA 大字号
强调色对比度
7.91:1最低 6.29
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
❯

Tokyo Night Terminal Dark 的配置文件

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

Tokyo Night Terminal Dark

存到 ~/.config/ghostty/themes/Tokyo Night Terminal Dark,再在 config 或 config.ghostty 里写 theme = Tokyo Night Terminal Dark

更多 Ghostty 配色
原始文件
# Theme: Tokyo Night Terminal Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/tokyo-night-terminal-dark?format=ghostty

palette = 0=#16161e
palette = 1=#f7768e
palette = 2=#41a6b5
palette = 3=#e0af68
palette = 4=#7aa2f7
palette = 5=#bb9af7
palette = 6=#7dcfff
palette = 7=#787c99
palette = 8=#444b6a
palette = 9=#f7768e
palette = 10=#41a6b5
palette = 11=#e0af68
palette = 12=#7aa2f7
palette = 13=#bb9af7
palette = 14=#7dcfff
palette = 15=#d5d6db
background = #16161e
foreground = #787c99
cursor-color = #787c99
cursor-text = #16161e
selection-background = #2c2d3a
selection-foreground = #787c99

Tokyo Night Terminal Dark 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#16161ergb(22 22 30)hsl(240 15% 10%)oklch(20.4% 0.016 284.9)—
前景色foreground#787c99rgb(120 124 153)hsl(233 14% 54%)oklch(59.3% 0.044 278.8)4.40 AA 大字号
光标cursor#787c99rgb(120 124 153)hsl(233 14% 54%)oklch(59.3% 0.044 278.8)4.40 AA 大字号
光标文字cursorText#16161ergb(22 22 30)hsl(240 15% 10%)oklch(20.4% 0.016 284.9)1.00 低于 AA
选区selection#2c2d3argb(44 45 58)hsl(236 14% 20%)oklch(30.2% 0.023 281.4)1.32 低于 AA
选区文字selectionText#787c99rgb(120 124 153)hsl(233 14% 54%)oklch(59.3% 0.044 278.8)4.40 AA 大字号
黑color0#16161ergb(22 22 30)hsl(240 15% 10%)oklch(20.4% 0.016 284.9)1.00 低于 AA
红color1#f7768ergb(247 118 142)hsl(349 89% 72%)oklch(72.3% 0.159 10.3)6.80 AA
绿color2#41a6b5rgb(65 166 181)hsl(188 47% 48%)oklch(67.3% 0.094 208.8)6.29 AA
黄color3#e0af68rgb(224 175 104)hsl(36 66% 64%)oklch(78.4% 0.106 75.4)8.99 AAA
蓝color4#7aa2f7rgb(122 162 247)hsl(221 89% 72%)oklch(71.9% 0.132 264.2)7.14 AAA
品红color5#bb9af7rgb(187 154 247)hsl(261 85% 79%)oklch(75.1% 0.134 299.5)7.77 AAA
青color6#7dcfffrgb(125 207 255)hsl(202 100% 75%)oklch(82.0% 0.105 235.7)10.48 AAA
白color7#787c99rgb(120 124 153)hsl(233 14% 54%)oklch(59.3% 0.044 278.8)4.40 AA 大字号
亮黑color8#444b6argb(68 75 106)hsl(229 22% 34%)oklch(42.0% 0.053 274.1)2.11 低于 AA
亮红color9#f7768ergb(247 118 142)hsl(349 89% 72%)oklch(72.3% 0.159 10.3)6.80 AA
亮绿color10#41a6b5rgb(65 166 181)hsl(188 47% 48%)oklch(67.3% 0.094 208.8)6.29 AA
亮黄color11#e0af68rgb(224 175 104)hsl(36 66% 64%)oklch(78.4% 0.106 75.4)8.99 AAA
亮蓝color12#7aa2f7rgb(122 162 247)hsl(221 89% 72%)oklch(71.9% 0.132 264.2)7.14 AAA
亮品红color13#bb9af7rgb(187 154 247)hsl(261 85% 79%)oklch(75.1% 0.134 299.5)7.77 AAA
亮青color14#7dcfffrgb(125 207 255)hsl(202 100% 75%)oklch(82.0% 0.105 235.7)10.48 AAA
亮白color15#d5d6dbrgb(213 214 219)hsl(230 8% 85%)oklch(87.7% 0.007 277.2)12.39 AAA

关于 Tokyo Night Terminal Dark

Tokyo Night Terminal Dark 采用冷色调的深色背景(#16161e),默认前景色为 #787c99。正文的 WCAG 对比度为 4.40:1(AA 大字号),12 种 ANSI 彩色槽位平均对比度 7.91:1,最低 6.29:1。

色板整体色彩饱和度适中,其中红色为 #f7768e、绿色为 #41a6b5、蓝色为 #7aa2f7、品红为 #bb9af7。该配色归属 Tokyo Night 主题系列。

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

与 Tokyo Night Terminal Dark 相似的配色

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