跳到正文

X Tokio

X Tokio 是一套深色终端配色,背景色 #1c1c1d,文字色 #f7f1ff,对比度 15.4:1

获取配置
背景色
#1c1c1d
前景色
#f7f1ff
文字对比度
15.39:1AAA
强调色对比度
8.69:1最低 5.68
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 Tokio 的配置文件

16 种格式,都从同一份色板生成

X Tokio

存到 ~/.config/ghostty/themes/X Tokio,再在 config 或 config.ghostty 里写 theme = X Tokio

更多 Ghostty 配色
原始文件
# Theme: X Tokio (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/x-tokio?format=ghostty

palette = 0=#1c1c1d
palette = 1=#fc618d
palette = 2=#7bd88f
palette = 3=#fce566
palette = 4=#fd9353
palette = 5=#948ae3
palette = 6=#5ad4e6
palette = 7=#f7f1ff
palette = 8=#4f4f50
palette = 9=#fc618d
palette = 10=#7bd88f
palette = 11=#fce566
palette = 12=#fd9353
palette = 13=#948ae3
palette = 14=#5ad4e6
palette = 15=#f7f1ff
background = #1c1c1d
foreground = #f7f1ff
cursor-color = #f7f1ff
cursor-text = #1c1c1d
selection-background = #f7f1ff
selection-foreground = #1c1c1d

X Tokio 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1c1c1drgb(28 28 29)hsl(240 2% 11%)oklch(22.7% 0.002 286.2)—
前景色foreground#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)15.39 AAA
光标cursor#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)15.39 AAA
光标文字cursorText#1c1c1drgb(28 28 29)hsl(240 2% 11%)oklch(22.7% 0.002 286.2)1.00 低于 AA
选区selection#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)15.39 AAA
选区文字selectionText#1c1c1drgb(28 28 29)hsl(240 2% 11%)oklch(22.7% 0.002 286.2)1.00 低于 AA
黑color0#1c1c1drgb(28 28 29)hsl(240 2% 11%)oklch(22.7% 0.002 286.2)1.00 低于 AA
红color1#fc618drgb(252 97 141)hsl(343 96% 68%)oklch(70.3% 0.192 6.0)5.87 AA
绿color2#7bd88frgb(123 216 143)hsl(133 54% 66%)oklch(80.6% 0.136 149.5)9.78 AAA
黄color3#fce566rgb(252 229 102)hsl(51 96% 69%)oklch(91.7% 0.148 99.1)13.41 AAA
蓝color4#fd9353rgb(253 147 83)hsl(23 98% 66%)oklch(76.4% 0.150 50.0)7.68 AAA
品红color5#948ae3rgb(148 138 227)hsl(247 61% 72%)oklch(67.9% 0.129 287.6)5.68 AA
青color6#5ad4e6rgb(90 212 230)hsl(188 74% 63%)oklch(80.8% 0.110 208.6)9.73 AAA
白color7#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)15.39 AAA
亮黑color8#4f4f50rgb(79 79 80)hsl(240 1% 31%)oklch(42.8% 0.002 286.3)2.08 低于 AA
亮红color9#fc618drgb(252 97 141)hsl(343 96% 68%)oklch(70.3% 0.192 6.0)5.87 AA
亮绿color10#7bd88frgb(123 216 143)hsl(133 54% 66%)oklch(80.6% 0.136 149.5)9.78 AAA
亮黄color11#fce566rgb(252 229 102)hsl(51 96% 69%)oklch(91.7% 0.148 99.1)13.41 AAA
亮蓝color12#fd9353rgb(253 147 83)hsl(23 98% 66%)oklch(76.4% 0.150 50.0)7.68 AAA
亮品红color13#948ae3rgb(148 138 227)hsl(247 61% 72%)oklch(67.9% 0.129 287.6)5.68 AA
亮青color14#5ad4e6rgb(90 212 230)hsl(188 74% 63%)oklch(80.8% 0.110 208.6)9.73 AAA
亮白color15#f7f1ffrgb(247 241 255)hsl(266 100% 97%)oklch(96.7% 0.020 305.3)15.39 AAA

关于 X Tokio

X Tokio 采用中性色调的深色背景(#1c1c1d),默认前景色为 #f7f1ff。正文的 WCAG 对比度为 15.39:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.69:1,最低 5.68:1。

色板整体色彩饱和度适中,其中红色为 #fc618d、绿色为 #7bd88f、蓝色为 #fd9353、品红为 #948ae3。

支持一键导出 Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 终端配置文件,同时提供 VS Code 与 Zed 集成终端、CSS 变量、Tailwind CSS 及 JSON 色板格式。

与 X Tokio 相似的配色

数据来源:iTerm2 Color Schemes (MIT)