跳到主要內容

X Paris

X Paris 是一套深色終端機配色(高對比、粉彩),背景色 #1a0a30,文字色 #f7f1ff,對比度 16.8:1

取得設定檔
背景色
#1a0a30
前景色
#f7f1ff
文字對比度
16.80:1AAA
強調色對比度
12.03:1最低 6.40
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
❯

X Paris 的設定檔

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

X Paris

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

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

palette = 0=#1a0a30
palette = 1=#fc618d
palette = 2=#7bd88f
palette = 3=#fce566
palette = 4=#a3f3ff
palette = 5=#c4bdff
palette = 6=#a3f3ff
palette = 7=#4d3d63
palette = 8=#c4bdff
palette = 9=#fc618d
palette = 10=#7bd88f
palette = 11=#fce566
palette = 12=#a3f3ff
palette = 13=#c4bdff
palette = 14=#a3f3ff
palette = 15=#f7f1ff
background = #1a0a30
foreground = #f7f1ff
cursor-color = #f7f1ff
cursor-text = #1a0a30
selection-background = #f7f1ff
selection-foreground = #1a0a30

X Paris 色板

色板各槽位的色值及其相對背景的 WCAG 對比度
顏色槽位HEXRGBHSLOKLCH對比度
背景色background#1a0a30rgb(26 10 48)hsl(265 66% 11%)oklch(19.5% 0.072 298.9)—
前景色foreground#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)16.80 AAA
光標cursor#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)16.80 AAA
光標文字cursorText#1a0a30rgb(26 10 48)hsl(265 66% 11%)oklch(19.5% 0.072 298.9)1.00 低於 AA
選取範圍selection#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)16.80 AAA
選取文字selectionText#1a0a30rgb(26 10 48)hsl(265 66% 11%)oklch(19.5% 0.072 298.9)1.00 低於 AA
黑color0#1a0a30rgb(26 10 48)hsl(265 66% 11%)oklch(19.5% 0.072 298.9)1.00 低於 AA
紅color1#fc618drgb(252 97 141)hsl(343 96% 68%)oklch(70.3% 0.192 6.0)6.40 AA
綠color2#7bd88frgb(123 216 143)hsl(133 54% 66%)oklch(80.6% 0.136 149.5)10.67 AAA
黃color3#fce566rgb(252 229 102)hsl(51 96% 69%)oklch(91.7% 0.148 99.1)14.64 AAA
藍color4#a3f3ffrgb(163 243 255)hsl(188 100% 82%)oklch(91.7% 0.080 207.7)14.89 AAA
洋紅color5#c4bdffrgb(196 189 255)hsl(246 100% 87%)oklch(82.7% 0.092 289.1)10.68 AAA
青color6#a3f3ffrgb(163 243 255)hsl(188 100% 82%)oklch(91.7% 0.080 207.7)14.89 AAA
白color7#4d3d63rgb(77 61 99)hsl(265 24% 31%)oklch(39.4% 0.065 302.9)1.91 低於 AA
亮黑color8#c4bdffrgb(196 189 255)hsl(246 100% 87%)oklch(82.7% 0.092 289.1)10.68 AAA
亮紅color9#fc618drgb(252 97 141)hsl(343 96% 68%)oklch(70.3% 0.192 6.0)6.40 AA
亮綠color10#7bd88frgb(123 216 143)hsl(133 54% 66%)oklch(80.6% 0.136 149.5)10.67 AAA
亮黃color11#fce566rgb(252 229 102)hsl(51 96% 69%)oklch(91.7% 0.148 99.1)14.64 AAA
亮藍color12#a3f3ffrgb(163 243 255)hsl(188 100% 82%)oklch(91.7% 0.080 207.7)14.89 AAA
亮洋紅color13#c4bdffrgb(196 189 255)hsl(246 100% 87%)oklch(82.7% 0.092 289.1)10.68 AAA
亮青color14#a3f3ffrgb(163 243 255)hsl(188 100% 82%)oklch(91.7% 0.080 207.7)14.89 AAA
亮白color15#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)16.80 AAA

關於 X Paris

X Paris 採用冷色調的深色背景(#1a0a30),預設前景色為 #f7f1ff。正文的 WCAG 對比度為 16.80:1(AAA),12 種 ANSI 彩色槽位平均對比度 12.03:1,最低 6.40:1。

色板整體色彩飽和度適中,其中紅色為 #fc618d、綠色為 #7bd88f、藍色為 #a3f3ff、洋紅為 #c4bdff。

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

與 X Paris 相似的配色

資料來源:iTerm2 Color Schemes (MIT)