跳到主要內容

Tango

Tango 是一套深色終端機配色(柔和),背景色 #2e3436,文字色 #d3d7cf,對比度 8.7:1

取得設定檔
背景色
#2e3436
前景色
#d3d7cf
文字對比度
8.67:1AAA
強調色對比度
3.07:1最低 1.92
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
❯

Tango 的設定檔

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

Tango

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

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

palette = 0=#2e3436
palette = 1=#cc0000
palette = 2=#4e9a06
palette = 3=#c4a000
palette = 4=#3465a4
palette = 5=#75507b
palette = 6=#06989a
palette = 7=#d3d7cf
palette = 8=#555753
palette = 9=#cc0000
palette = 10=#4e9a06
palette = 11=#c4a000
palette = 12=#3465a4
palette = 13=#75507b
palette = 14=#06989a
palette = 15=#eeeeec
background = #2e3436
foreground = #d3d7cf
cursor-color = #d3d7cf
cursor-text = #2e3436
selection-background = #535959
selection-foreground = #d3d7cf

Tango 色票

色票各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#2e3436rgb(46 52 54)hsl(195 8% 20%)oklch(32.0% 0.009 219.8)—
前景色foreground#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)8.67 AAA
游標cursor#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)8.67 AAA
游標文字cursorText#2e3436rgb(46 52 54)hsl(195 8% 20%)oklch(32.0% 0.009 219.8)1.00 低於 AA
選取範圍selection#535959rgb(83 89 89)hsl(180 3% 34%)oklch(45.9% 0.008 196.9)1.77 低於 AA
選取文字selectionText#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)8.67 AAA
黑color0#2e3436rgb(46 52 54)hsl(195 8% 20%)oklch(32.0% 0.009 219.8)1.00 低於 AA
紅color1#cc0000rgb(204 0 0)hsl(0 100% 40%)oklch(53.1% 0.218 29.2)2.15 低於 AA
綠color2#4e9a06rgb(78 154 6)hsl(91 93% 31%)oklch(61.3% 0.178 135.4)3.58 AA 大字級
黃color3#c4a000rgb(196 160 0)hsl(49 100% 38%)oklch(71.8% 0.147 92.6)5.04 AA
藍color4#3465a4rgb(52 101 164)hsl(214 52% 42%)oklch(50.4% 0.114 255.7)2.13 低於 AA
洋紅color5#75507brgb(117 80 123)hsl(292 21% 40%)oklch(48.8% 0.080 321.8)1.92 低於 AA
青color6#06989argb(6 152 154)hsl(181 93% 31%)oklch(61.7% 0.104 196.5)3.59 AA 大字級
白color7#d3d7cfrgb(211 215 207)hsl(90 9% 83%)oklch(87.4% 0.012 128.6)8.67 AAA
亮黑color8#555753rgb(85 87 83)hsl(90 2% 33%)oklch(45.4% 0.007 128.6)1.73 低於 AA
亮紅color9#cc0000rgb(204 0 0)hsl(0 100% 40%)oklch(53.1% 0.218 29.2)2.15 低於 AA
亮綠color10#4e9a06rgb(78 154 6)hsl(91 93% 31%)oklch(61.3% 0.178 135.4)3.58 AA 大字級
亮黃color11#c4a000rgb(196 160 0)hsl(49 100% 38%)oklch(71.8% 0.147 92.6)5.04 AA
亮藍color12#3465a4rgb(52 101 164)hsl(214 52% 42%)oklch(50.4% 0.114 255.7)2.13 低於 AA
亮洋紅color13#75507brgb(117 80 123)hsl(292 21% 40%)oklch(48.8% 0.080 321.8)1.92 低於 AA
亮青color14#06989argb(6 152 154)hsl(181 93% 31%)oklch(61.7% 0.104 196.5)3.59 AA 大字級
亮白color15#eeeeecrgb(238 238 236)hsl(60 6% 93%)oklch(94.9% 0.003 106.5)10.89 AAA

關於 Tango

Tango 採用中性色調的深色背景(#2e3436),預設前景色為 #d3d7cf。內文的 WCAG 對比度為 8.67:1(AAA),12 種 ANSI 彩色槽位平均對比度 3.07:1,最低 1.92:1。

色票整體色彩彩度適中,其中紅色為 #cc0000、綠色為 #4e9a06、藍色為 #3465a4、洋紅為 #75507b。

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

與 Tango 相似的配色

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