跳到正文

Tokyo City Light

Tokyo City Light 是一套浅色终端配色(低饱和),背景色 #fbfbfd,文字色 #343b59,对比度 10.6:1

获取配置
背景色
#fbfbfd
前景色
#343b59
文字对比度
10.61:1AAA
强调色对比度
7.34:1最低 6.69
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 City Light 的配置文件

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

Tokyo City Light

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

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

palette = 0=#fbfbfd
palette = 1=#8c4351
palette = 2=#485e30
palette = 3=#4c505e
palette = 4=#34548a
palette = 5=#5a4a78
palette = 6=#4c505e
palette = 7=#343b59
palette = 8=#9699a3
palette = 9=#8c4351
palette = 10=#485e30
palette = 11=#4c505e
palette = 12=#34548a
palette = 13=#5a4a78
palette = 14=#4c505e
palette = 15=#171d23
background = #fbfbfd
foreground = #343b59
cursor-color = #343b59
cursor-text = #fbfbfd
selection-background = #c5c7d2
selection-foreground = #343b59

Tokyo City Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#fbfbfdrgb(251 251 253)hsl(240 33% 99%)oklch(98.9% 0.003 286.4)—
前景色foreground#343b59rgb(52 59 89)hsl(229 26% 28%)oklch(36.0% 0.053 273.4)10.61 AAA
光标cursor#343b59rgb(52 59 89)hsl(229 26% 28%)oklch(36.0% 0.053 273.4)10.61 AAA
光标文字cursorText#fbfbfdrgb(251 251 253)hsl(240 33% 99%)oklch(98.9% 0.003 286.4)1.00 低于 AA
选区selection#c5c7d2rgb(197 199 210)hsl(231 13% 80%)oklch(83.1% 0.015 277.8)1.63 低于 AA
选区文字selectionText#343b59rgb(52 59 89)hsl(229 26% 28%)oklch(36.0% 0.053 273.4)10.61 AAA
黑color0#fbfbfdrgb(251 251 253)hsl(240 33% 99%)oklch(98.9% 0.003 286.4)1.00 低于 AA
红color1#8c4351rgb(140 67 81)hsl(348 35% 41%)oklch(48.0% 0.100 9.5)6.69 AA
绿color2#485e30rgb(72 94 48)hsl(89 32% 28%)oklch(45.2% 0.074 129.9)6.96 AA
黄color3#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)7.77 AAA
蓝color4#34548argb(52 84 138)hsl(218 45% 37%)oklch(44.8% 0.097 260.3)7.31 AAA
品红color5#5a4a78rgb(90 74 120)hsl(261 24% 38%)oklch(44.5% 0.076 299.3)7.57 AAA
青color6#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)7.77 AAA
白color7#343b59rgb(52 59 89)hsl(229 26% 28%)oklch(36.0% 0.053 273.4)10.61 AAA
亮黑color8#9699a3rgb(150 153 163)hsl(226 7% 61%)oklch(68.4% 0.015 272.6)2.75 低于 AA
亮红color9#8c4351rgb(140 67 81)hsl(348 35% 41%)oklch(48.0% 0.100 9.5)6.69 AA
亮绿color10#485e30rgb(72 94 48)hsl(89 32% 28%)oklch(45.2% 0.074 129.9)6.96 AA
亮黄color11#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)7.77 AAA
亮蓝color12#34548argb(52 84 138)hsl(218 45% 37%)oklch(44.8% 0.097 260.3)7.31 AAA
亮品红color13#5a4a78rgb(90 74 120)hsl(261 24% 38%)oklch(44.5% 0.076 299.3)7.57 AAA
亮青color14#4c505ergb(76 80 94)hsl(227 11% 33%)oklch(43.3% 0.024 272.8)7.77 AAA
亮白color15#171d23rgb(23 29 35)hsl(210 21% 11%)oklch(22.7% 0.015 248.5)16.43 AAA

关于 Tokyo City Light

Tokyo City Light 采用中性色调的浅色背景(#fbfbfd),默认前景色为 #343b59。正文的 WCAG 对比度为 10.61:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.34:1,最低 6.69:1。

色板整体色彩饱和度偏低,其中红色为 #8c4351、绿色为 #485e30、蓝色为 #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 City Light 相似的配色

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