跳到正文

Bespin

Bespin 是一套深色终端配色(柔和、暖色),背景色 #28211c,文字色 #8a8986,对比度 4.5:1

获取配置
背景色
#28211c
前景色
#8a8986
文字对比度
4.53:1AA
强调色对比度
7.35:1最低 4.39
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
❯

Bespin 的配置文件

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

Bespin

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

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

palette = 0=#28211c
palette = 1=#cf6a4c
palette = 2=#54be0d
palette = 3=#f9ee98
palette = 4=#5ea6ea
palette = 5=#9b859d
palette = 6=#afc4db
palette = 7=#8a8986
palette = 8=#666666
palette = 9=#cf6a4c
palette = 10=#54be0d
palette = 11=#f9ee98
palette = 12=#5ea6ea
palette = 13=#9b859d
palette = 14=#afc4db
palette = 15=#baae9e
background = #28211c
foreground = #8a8986
cursor-color = #8a8986
cursor-text = #28211c
selection-background = #3f3934
selection-foreground = #8a8986

Bespin 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#28211crgb(40 33 28)hsl(25 18% 13%)oklch(25.4% 0.014 57.6)—
前景色foreground#8a8986rgb(138 137 134)hsl(45 2% 53%)oklch(63.0% 0.005 91.5)4.53 AA
光标cursor#8a8986rgb(138 137 134)hsl(45 2% 53%)oklch(63.0% 0.005 91.5)4.53 AA
光标文字cursorText#28211crgb(40 33 28)hsl(25 18% 13%)oklch(25.4% 0.014 57.6)1.00 低于 AA
选区selection#3f3934rgb(63 57 52)hsl(27 10% 23%)oklch(34.9% 0.012 62.2)1.39 低于 AA
选区文字selectionText#8a8986rgb(138 137 134)hsl(45 2% 53%)oklch(63.0% 0.005 91.5)4.53 AA
黑color0#28211crgb(40 33 28)hsl(25 18% 13%)oklch(25.4% 0.014 57.6)1.00 低于 AA
红color1#cf6a4crgb(207 106 76)hsl(14 58% 55%)oklch(63.6% 0.135 37.3)4.39 AA 大字号
绿color2#54be0drgb(84 190 13)hsl(96 87% 40%)oklch(71.0% 0.214 137.5)6.60 AA
黄color3#f9ee98rgb(249 238 152)hsl(53 89% 79%)oklch(93.9% 0.107 101.9)13.37 AAA
蓝color4#5ea6eargb(94 166 234)hsl(209 77% 64%)oklch(70.7% 0.124 248.7)6.13 AA
品红color5#9b859drgb(155 133 157)hsl(295 11% 57%)oklch(64.5% 0.043 323.4)4.71 AA
青color6#afc4dbrgb(175 196 219)hsl(211 38% 77%)oklch(81.2% 0.040 250.7)8.86 AAA
白color7#8a8986rgb(138 137 134)hsl(45 2% 53%)oklch(63.0% 0.005 91.5)4.53 AA
亮黑color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.76 低于 AA
亮红color9#cf6a4crgb(207 106 76)hsl(14 58% 55%)oklch(63.6% 0.135 37.3)4.39 AA 大字号
亮绿color10#54be0drgb(84 190 13)hsl(96 87% 40%)oklch(71.0% 0.214 137.5)6.60 AA
亮黄color11#f9ee98rgb(249 238 152)hsl(53 89% 79%)oklch(93.9% 0.107 101.9)13.37 AAA
亮蓝color12#5ea6eargb(94 166 234)hsl(209 77% 64%)oklch(70.7% 0.124 248.7)6.13 AA
亮品红color13#9b859drgb(155 133 157)hsl(295 11% 57%)oklch(64.5% 0.043 323.4)4.71 AA
亮青color14#afc4dbrgb(175 196 219)hsl(211 38% 77%)oklch(81.2% 0.040 250.7)8.86 AAA
亮白color15#baae9ergb(186 174 158)hsl(34 17% 67%)oklch(75.6% 0.026 75.2)7.27 AAA

关于 Bespin

Bespin 采用暖色调的深色背景(#28211c),默认前景色为 #8a8986。正文的 WCAG 对比度为 4.53:1(AA),12 种 ANSI 彩色槽位平均对比度 7.35:1,最低 4.39:1。

色板整体色彩饱和度适中,其中红色为 #cf6a4c、绿色为 #54be0d、蓝色为 #5ea6ea、品红为 #9b859d。

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

与 Bespin 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)