跳到主要內容

urban

urban 是一套深色終端機配色(柔和、低彩度),背景色 #312e39,文字色 #c0a79a,對比度 5.8:1

取得設定檔
背景色
#312e39
前景色
#c0a79a
文字對比度
5.84:1AA
強調色對比度
2.45:1最低 1.53
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
❯

urban 的設定檔

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

urban

存到 ~/.config/ghostty/themes/urban,再在 config 或 config.ghostty 裡寫 theme = urban

更多 Ghostty 配色
原始檔
# Theme: urban (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/zh-tw/schemes/urban?format=ghostty

palette = 0=#33303b
palette = 1=#87404f
palette = 2=#74934e
palette = 3=#ae835a
palette = 4=#615772
palette = 5=#783e57
palette = 6=#554757
palette = 7=#c0a79a
palette = 8=#4f4b58
palette = 9=#87404f
palette = 10=#74934e
palette = 11=#ae835a
palette = 12=#615772
palette = 13=#783e57
palette = 14=#554757
palette = 15=#c0a79a
background = #312e39
foreground = #c0a79a
cursor-color = #c0a79a
cursor-text = #312e39
selection-background = #c0a79a
selection-foreground = #312e39

urban 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#312e39rgb(49 46 57)hsl(256 11% 20%)oklch(30.9% 0.020 297.7)—
前景色foreground#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA
游標cursor#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA
游標文字cursorText#312e39rgb(49 46 57)hsl(256 11% 20%)oklch(30.9% 0.020 297.7)1.00 低於 AA
選取範圍selection#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA
選取文字selectionText#312e39rgb(49 46 57)hsl(256 11% 20%)oklch(30.9% 0.020 297.7)1.00 低於 AA
黑color0#33303brgb(51 48 59)hsl(256 10% 21%)oklch(31.7% 0.020 297.7)1.03 低於 AA
紅color1#87404frgb(135 64 79)hsl(347 36% 39%)oklch(46.7% 0.098 8.3)1.82 低於 AA
綠color2#74934ergb(116 147 78)hsl(87 31% 44%)oklch(62.3% 0.102 128.8)3.81 AA 大字級
黃color3#ae835argb(174 131 90)hsl(29 34% 52%)oklch(64.2% 0.077 64.4)3.92 AA 大字級
藍color4#615772rgb(97 87 114)hsl(262 13% 39%)oklch(47.7% 0.044 301.7)1.97 低於 AA
洋紅color5#783e57rgb(120 62 87)hsl(334 32% 36%)oklch(44.4% 0.086 353.9)1.66 低於 AA
青color6#554757rgb(85 71 87)hsl(293 10% 31%)oklch(41.8% 0.032 322.1)1.53 低於 AA
白color7#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA
亮黑color8#4f4b58rgb(79 75 88)hsl(258 8% 32%)oklch(42.2% 0.022 299.5)1.57 低於 AA
亮紅color9#87404frgb(135 64 79)hsl(347 36% 39%)oklch(46.7% 0.098 8.3)1.82 低於 AA
亮綠color10#74934ergb(116 147 78)hsl(87 31% 44%)oklch(62.3% 0.102 128.8)3.81 AA 大字級
亮黃color11#ae835argb(174 131 90)hsl(29 34% 52%)oklch(64.2% 0.077 64.4)3.92 AA 大字級
亮藍color12#615772rgb(97 87 114)hsl(262 13% 39%)oklch(47.7% 0.044 301.7)1.97 低於 AA
亮洋紅color13#783e57rgb(120 62 87)hsl(334 32% 36%)oklch(44.4% 0.086 353.9)1.66 低於 AA
亮青color14#554757rgb(85 71 87)hsl(293 10% 31%)oklch(41.8% 0.032 322.1)1.53 低於 AA
亮白color15#c0a79argb(192 167 154)hsl(21 23% 68%)oklch(74.7% 0.035 49.2)5.84 AA

關於 urban

urban 採用冷色調的深色背景(#312e39),預設前景色為 #c0a79a。內文的 WCAG 對比度為 5.84:1(AA),12 種 ANSI 彩色槽位平均對比度 2.45:1,最低 1.53:1。

色票整體色彩彩度偏低,其中紅色為 #87404f、綠色為 #74934e、藍色為 #615772、洋紅為 #783e57。

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

與 urban 相似的配色

資料來源:iTerm2 Color Schemes (MIT)