跳到主要內容

City Streets

City Streets 是一套深色終端機配色(純黑、單色),背景色 #000000,文字色 #d3d3d3,對比度 14.0:1

取得設定檔
背景色
#000000
前景色
#d3d3d3
文字對比度
14.03:1AAA
強調色對比度
6.47:1最低 1.50
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
❯

City Streets 的設定檔

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

City Streets

存到 ~/.config/ghostty/themes/City Streets,再在 config 或 config.ghostty 裏寫 theme = City Streets

更多 Ghostty 配色
原始檔案
# Theme: City Streets (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-hk/schemes/city-streets?format=ghostty

palette = 0=#201e24
palette = 1=#2d2b30
palette = 2=#3f3d40
palette = 3=#413c3e
palette = 4=#423e41
palette = 5=#4e4a4b
palette = 6=#6e6765
palette = 7=#837e81
palette = 8=#837c78
palette = 9=#89827d
palette = 10=#a7a099
palette = 11=#c2bec1
palette = 12=#c3bcb2
palette = 13=#cbc5ba
palette = 14=#e3ddd2
palette = 15=#efe8dc
background = #000000
foreground = #d3d3d3
cursor-color = #d3d3d3
cursor-text = #000000
selection-background = #1a1a1a
selection-foreground = #d3d3d3

City Streets 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#d3d3d3rgb(211 211 211)hsl(0 0% 83%)oklch(86.7% 0.000 0)14.03 AAA
光標cursor#d3d3d3rgb(211 211 211)hsl(0 0% 83%)oklch(86.7% 0.000 0)14.03 AAA
光標文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.00 低於 AA
選取範圍selection#1a1a1argb(26 26 26)hsl(0 0% 10%)oklch(21.8% 0.000 0)1.21 低於 AA
選取文字selectionText#d3d3d3rgb(211 211 211)hsl(0 0% 83%)oklch(86.7% 0.000 0)14.03 AAA
黑color0#201e24rgb(32 30 36)hsl(260 9% 13%)oklch(24.0% 0.012 300.7)1.27 低於 AA
紅color1#2d2b30rgb(45 43 48)hsl(264 5% 18%)oklch(29.3% 0.009 303.9)1.50 低於 AA
綠color2#3f3d40rgb(63 61 64)hsl(280 2% 25%)oklch(36.3% 0.006 314.7)1.95 低於 AA
黃color3#413c3ergb(65 60 62)hsl(336 4% 25%)oklch(36.2% 0.008 351.2)1.94 低於 AA
藍color4#423e41rgb(66 62 65)hsl(315 3% 25%)oklch(36.9% 0.007 334.2)2.00 低於 AA
洋紅color5#4e4a4brgb(78 74 75)hsl(345 3% 30%)oklch(41.3% 0.006 0.2)2.41 低於 AA
青color6#6e6765rgb(110 103 101)hsl(13 4% 41%)oklch(52.0% 0.009 36.5)3.79 AA 大字體
白color7#837e81rgb(131 126 129)hsl(324 2% 50%)oklch(59.8% 0.007 340.5)5.27 AA
亮黑color8#837c78rgb(131 124 120)hsl(22 4% 49%)oklch(59.1% 0.010 52.0)5.12 AA
亮紅color9#89827drgb(137 130 125)hsl(25 5% 51%)oklch(61.1% 0.011 58.1)5.55 AA
亮綠color10#a7a099rgb(167 160 153)hsl(30 7% 63%)oklch(71.0% 0.013 67.6)8.13 AAA
亮黃color11#c2bec1rgb(194 190 193)hsl(315 3% 75%)oklch(80.6% 0.006 334.0)11.43 AAA
亮藍color12#c3bcb2rgb(195 188 178)hsl(35 12% 73%)oklch(79.8% 0.016 77.0)11.16 AAA
亮洋紅color13#cbc5bargb(203 197 186)hsl(39 14% 76%)oklch(82.5% 0.017 82.8)12.23 AAA
亮青color14#e3ddd2rgb(227 221 210)hsl(39 23% 86%)oklch(89.9% 0.016 82.8)15.54 AAA
亮白color15#efe8dcrgb(239 232 220)hsl(38 37% 90%)oklch(93.3% 0.018 81.3)17.25 AAA

關於 City Streets

City Streets 採用中性色調的深色背景(#000000),預設前景色為 #d3d3d3。正文的 WCAG 對比度為 14.03:1(AAA),12 種 ANSI 彩色槽位平均對比度 6.47:1,最低 1.50:1。

色板整體色彩飽和度偏低,其中紅色為 #2d2b30、綠色為 #3f3d40、藍色為 #423e41、洋紅為 #4e4a4b。

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

與 City Streets 相似的配色

資料來源:terminal.sexy (MIT)