跳到主要內容

Tokyo City Terminal Dark

Tokyo City Terminal Dark 是一套深色終端機配色(冷色),背景色 #171d23,文字色 #d8e2ec,對比度 12.9:1

取得設定檔
背景色
#171d23
前景色
#d8e2ec
文字對比度
12.95:1AAA
強調色對比度
7.32:1最低 2.87
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 Terminal Dark 的設定檔

16 種格式,都從同一份色票產生

Tokyo City Terminal Dark

存到 ~/.config/ghostty/themes/Tokyo City Terminal Dark,再在 config 或 config.ghostty 裡寫 theme = Tokyo City Terminal Dark

更多 Ghostty 配色
原始檔
# Theme: Tokyo City Terminal Dark (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/tokyo-city-terminal-dark?format=ghostty

palette = 0=#171d23
palette = 1=#d95468
palette = 2=#8bd49c
palette = 3=#ebbf83
palette = 4=#539afc
palette = 5=#b62d65
palette = 6=#70e1e8
palette = 7=#d8e2ec
palette = 8=#526270
palette = 9=#d95468
palette = 10=#8bd49c
palette = 11=#ebbf83
palette = 12=#539afc
palette = 13=#b62d65
palette = 14=#70e1e8
palette = 15=#fbfbfd
background = #171d23
foreground = #d8e2ec
cursor-color = #d8e2ec
cursor-text = #171d23
selection-background = #41484f
selection-foreground = #d8e2ec

Tokyo City Terminal Dark 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#171d23rgb(23 29 35)hsl(210 21% 11%)oklch(22.7% 0.015 248.5)—
前景色foreground#d8e2ecrgb(216 226 236)hsl(210 34% 89%)oklch(90.8% 0.017 248.0)12.95 AAA
游標cursor#d8e2ecrgb(216 226 236)hsl(210 34% 89%)oklch(90.8% 0.017 248.0)12.95 AAA
游標文字cursorText#171d23rgb(23 29 35)hsl(210 21% 11%)oklch(22.7% 0.015 248.5)1.00 低於 AA
選取範圍selection#41484frgb(65 72 79)hsl(210 10% 28%)oklch(39.8% 0.015 248.2)1.83 低於 AA
選取文字selectionText#d8e2ecrgb(216 226 236)hsl(210 34% 89%)oklch(90.8% 0.017 248.0)12.95 AAA
黑color0#171d23rgb(23 29 35)hsl(210 21% 11%)oklch(22.7% 0.015 248.5)1.00 低於 AA
紅color1#d95468rgb(217 84 104)hsl(351 64% 59%)oklch(62.5% 0.167 14.3)4.38 AA 大字級
綠color2#8bd49crgb(139 212 156)hsl(134 46% 69%)oklch(80.7% 0.108 150.8)9.70 AAA
黃color3#ebbf83rgb(235 191 131)hsl(35 72% 72%)oklch(83.0% 0.092 74.6)9.96 AAA
藍color4#539afcrgb(83 154 252)hsl(215 97% 66%)oklch(68.6% 0.162 257.0)5.98 AA
洋紅color5#b62d65rgb(182 45 101)hsl(335 60% 45%)oklch(52.7% 0.178 0.8)2.87 低於 AA
青color6#70e1e8rgb(112 225 232)hsl(184 72% 67%)oklch(84.6% 0.103 200.8)11.02 AAA
白color7#d8e2ecrgb(216 226 236)hsl(210 34% 89%)oklch(90.8% 0.017 248.0)12.95 AAA
亮黑color8#526270rgb(82 98 112)hsl(208 15% 38%)oklch(48.8% 0.030 244.9)2.70 低於 AA
亮紅color9#d95468rgb(217 84 104)hsl(351 64% 59%)oklch(62.5% 0.167 14.3)4.38 AA 大字級
亮綠color10#8bd49crgb(139 212 156)hsl(134 46% 69%)oklch(80.7% 0.108 150.8)9.70 AAA
亮黃color11#ebbf83rgb(235 191 131)hsl(35 72% 72%)oklch(83.0% 0.092 74.6)9.96 AAA
亮藍color12#539afcrgb(83 154 252)hsl(215 97% 66%)oklch(68.6% 0.162 257.0)5.98 AA
亮洋紅color13#b62d65rgb(182 45 101)hsl(335 60% 45%)oklch(52.7% 0.178 0.8)2.87 低於 AA
亮青color14#70e1e8rgb(112 225 232)hsl(184 72% 67%)oklch(84.6% 0.103 200.8)11.02 AAA
亮白color15#fbfbfdrgb(251 251 253)hsl(240 33% 99%)oklch(98.9% 0.003 286.4)16.43 AAA

關於 Tokyo City Terminal Dark

Tokyo City Terminal Dark 採用冷色調的深色背景(#171d23),預設前景色為 #d8e2ec。內文的 WCAG 對比度為 12.95:1(AAA),12 種 ANSI 彩色槽位平均對比度 7.32:1,最低 2.87:1。

色票整體色彩彩度適中,其中紅色為 #d95468、綠色為 #8bd49c、藍色為 #539afc、洋紅為 #b62d65。此配色歸屬 Tokyo Night 主題系列。

支援一鍵匯出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 終端機設定檔,同時提供 VS Code 與 Zed 整合式終端機、CSS 變數、Tailwind CSS 及 JSON 色票格式。

與 Tokyo City Terminal Dark 相似的配色

資料來源:Gogh (MIT OR Apache-2.0)