跳到正文

Tokyo Night Terminal Light

Tokyo Night Terminal Light 是一套浅色终端配色(柔和),背景色 #d5d6db,文字色 #4c505e,对比度 5.5:1

获取配置
背景色
#d5d6db
前景色
#4c505e
文字对比度
5.53:1AA
强调色对比度
5.05:1最低 3.83
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 Light 的配置文件

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

Tokyo Night Terminal Light

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

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

palette = 0=#d5d6db
palette = 1=#8c4351
palette = 2=#33635c
palette = 3=#8f5e15
palette = 4=#34548a
palette = 5=#5a4a78
palette = 6=#0f4b6e
palette = 7=#4c505e
palette = 8=#9699a3
palette = 9=#8c4351
palette = 10=#33635c
palette = 11=#8f5e15
palette = 12=#34548a
palette = 13=#5a4a78
palette = 14=#0f4b6e
palette = 15=#1a1b26
background = #d5d6db
foreground = #4c505e
cursor-color = #4c505e
cursor-text = #d5d6db
selection-background = #b1b2ba
selection-foreground = #4c505e

Tokyo Night Terminal Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#d5d6dbrgb(213 214 219)hsl(230 8% 85%)oklch(87.7% 0.007 277.2)—
前景色foreground#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)5.53 AA
光标cursor#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)5.53 AA
光标文字cursorText#d5d6dbrgb(213 214 219)hsl(230 8% 85%)oklch(87.7% 0.007 277.2)1.00 低于 AA
选区selection#b1b2bargb(177 178 186)hsl(233 6% 71%)oklch(76.5% 0.011 280.4)1.45 低于 AA
选区文字selectionText#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)5.53 AA
黑color0#d5d6dbrgb(213 214 219)hsl(230 8% 85%)oklch(87.7% 0.007 277.2)1.00 低于 AA
红color1#8c4351rgb(140 67 81)hsl(348 35% 41%)oklch(48.0% 0.100 9.5)4.77 AA
绿color2#33635crgb(51 99 92)hsl(171 32% 29%)oklch(46.4% 0.054 183.4)4.70 AA
黄color3#8f5e15rgb(143 94 21)hsl(36 74% 32%)oklch(52.3% 0.104 71.0)3.83 AA 大字号
蓝color4#34548argb(52 84 138)hsl(218 45% 37%)oklch(44.8% 0.097 260.3)5.20 AA
品红color5#5a4a78rgb(90 74 120)hsl(261 24% 38%)oklch(44.5% 0.076 299.3)5.39 AA
青color6#0f4b6ergb(15 75 110)hsl(202 76% 25%)oklch(39.4% 0.083 240.4)6.43 AA
白color7#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)5.53 AA
亮黑color8#9699a3rgb(150 153 163)hsl(226 7% 61%)oklch(68.4% 0.015 272.6)1.96 低于 AA
亮红color9#8c4351rgb(140 67 81)hsl(348 35% 41%)oklch(48.0% 0.100 9.5)4.77 AA
亮绿color10#33635crgb(51 99 92)hsl(171 32% 29%)oklch(46.4% 0.054 183.4)4.70 AA
亮黄color11#8f5e15rgb(143 94 21)hsl(36 74% 32%)oklch(52.3% 0.104 71.0)3.83 AA 大字号
亮蓝color12#34548argb(52 84 138)hsl(218 45% 37%)oklch(44.8% 0.097 260.3)5.20 AA
亮品红color13#5a4a78rgb(90 74 120)hsl(261 24% 38%)oklch(44.5% 0.076 299.3)5.39 AA
亮青color14#0f4b6ergb(15 75 110)hsl(202 76% 25%)oklch(39.4% 0.083 240.4)6.43 AA
亮白color15#1a1b26rgb(26 27 38)hsl(235 19% 13%)oklch(22.6% 0.021 280.5)11.78 AAA

关于 Tokyo Night Terminal Light

Tokyo Night Terminal Light 采用中性色调的浅色背景(#d5d6db),默认前景色为 #4c505e。正文的 WCAG 对比度为 5.53:1(AA),12 种 ANSI 彩色槽位平均对比度 5.05:1,最低 3.83:1。

色板整体色彩饱和度适中,其中红色为 #8c4351、绿色为 #33635c、蓝色为 #34548a、品红为 #5a4a78。该配色归属 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 Light 相似的配色

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