跳到正文

Base2Tone Field

Base2Tone Field 是一套深色终端配色(柔和、单色),背景色 #18201e,文字色 #8ea4a0,对比度 6.3:1

获取配置
背景色
#18201e
前景色
#8ea4a0
文字对比度
6.30:1AA
强调色对比度
8.10:1最低 1.19
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
❯

Base2Tone Field 的配置文件

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

Base2Tone Field

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

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

palette = 0=#18201e
palette = 1=#0fbda0
palette = 2=#3be381
palette = 3=#85ffb8
palette = 4=#25d0b4
palette = 5=#3be381
palette = 6=#40ddc3
palette = 7=#8ea4a0
palette = 8=#5a6d6a
palette = 9=#55ec94
palette = 10=#242e2c
palette = 11=#42524f
palette = 12=#667a77
palette = 13=#88f2e0
palette = 14=#25d46e
palette = 15=#a8fff1
background = #18201e
foreground = #8ea4a0
cursor-color = #00943e
cursor-text = #18201e
selection-background = #323e3b
selection-foreground = #8ea4a0

Base2Tone Field 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#18201ergb(24 32 30)hsl(165 14% 11%)oklch(23.5% 0.012 178.3)—
前景色foreground#8ea4a0rgb(142 164 160)hsl(169 11% 60%)oklch(70.0% 0.025 183.4)6.30 AA
光标cursor#00943ergb(0 148 62)hsl(145 100% 29%)oklch(58.2% 0.165 148.9)4.20 AA 大字号
光标文字cursorText#18201ergb(24 32 30)hsl(165 14% 11%)oklch(23.5% 0.012 178.3)1.00 低于 AA
选区selection#323e3brgb(50 62 59)hsl(165 11% 22%)oklch(35.2% 0.017 178.4)1.49 低于 AA
选区文字selectionText#8ea4a0rgb(142 164 160)hsl(169 11% 60%)oklch(70.0% 0.025 183.4)6.30 AA
黑color0#18201ergb(24 32 30)hsl(165 14% 11%)oklch(23.5% 0.012 178.3)1.00 低于 AA
红color1#0fbda0rgb(15 189 160)hsl(170 85% 40%)oklch(71.4% 0.131 176.2)6.97 AA
绿color2#3be381rgb(59 227 129)hsl(145 75% 56%)oklch(81.0% 0.192 152.5)9.88 AAA
黄color3#85ffb8rgb(133 255 184)hsl(145 100% 76%)oklch(91.1% 0.149 156.3)13.44 AAA
蓝color4#25d0b4rgb(37 208 180)hsl(170 70% 48%)oklch(77.0% 0.136 177.8)8.51 AAA
品红color5#3be381rgb(59 227 129)hsl(145 75% 56%)oklch(81.0% 0.192 152.5)9.88 AAA
青color6#40ddc3rgb(64 221 195)hsl(170 70% 56%)oklch(81.1% 0.133 179.1)9.77 AAA
白color7#8ea4a0rgb(142 164 160)hsl(169 11% 60%)oklch(70.0% 0.025 183.4)6.30 AA
亮黑color8#5a6d6argb(90 109 106)hsl(171 10% 39%)oklch(51.8% 0.023 184.9)3.03 AA 大字号
亮红color9#55ec94rgb(85 236 148)hsl(145 80% 63%)oklch(84.2% 0.178 154.0)10.93 AAA
亮绿color10#242e2crgb(36 46 44)hsl(168 12% 16%)oklch(29.1% 0.014 181.8)1.19 低于 AA
亮黄color11#42524frgb(66 82 79)hsl(169 11% 29%)oklch(42.4% 0.021 182.7)2.02 低于 AA
亮蓝color12#667a77rgb(102 122 119)hsl(171 9% 44%)oklch(56.2% 0.024 185.5)3.65 AA 大字号
亮品红color13#88f2e0rgb(136 242 224)hsl(170 80% 74%)oklch(89.2% 0.102 181.6)12.52 AAA
亮青color14#25d46ergb(37 212 110)hsl(145 70% 49%)oklch(76.5% 0.196 151.2)8.48 AAA
亮白color15#a8fff1rgb(168 255 241)hsl(170 100% 83%)oklch(94.1% 0.086 183.2)14.43 AAA

关于 Base2Tone Field

Base2Tone Field 采用冷色调的深色背景(#18201e),默认前景色为 #8ea4a0。正文的 WCAG 对比度为 6.30:1(AA),12 种 ANSI 彩色槽位平均对比度 8.10:1,最低 1.19:1。

色板整体色彩饱和度适中,其中红色为 #0fbda0、绿色为 #3be381、蓝色为 #25d0b4、品红为 #3be381。该配色归属 Base2Tone 主题系列。

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

与 Base2Tone Field 相似的配色

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