跳到正文

Barrel Cactus

Barrel Cactus 是一套深色终端配色(粉彩),背景色 #145039,文字色 #fff0d3,对比度 8.3:1

获取配置
背景色
#145039
前景色
#fff0d3
文字对比度
8.34:1AAA
强调色对比度
5.44:1最低 4.60
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
❯

Barrel Cactus 的配置文件

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

Barrel Cactus

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

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

palette = 0=#bed0c3
palette = 1=#f5a181
palette = 2=#8bd19b
palette = 3=#eac95f
palette = 4=#83bfd8
palette = 5=#dcaac8
palette = 6=#77d3ca
palette = 7=#fff0d3
palette = 8=#cedbd1
palette = 9=#f8ab89
palette = 10=#a3dcaf
palette = 11=#f3d97f
palette = 12=#9fcfe2
palette = 13=#e4b7cf
palette = 14=#96dfd7
palette = 15=#fff9e9
background = #145039
foreground = #fff0d3
cursor-color = #f0bb4d
cursor-text = #145039
selection-background = #326b56
selection-foreground = #fff8e6

Barrel Cactus 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#145039rgb(20 80 57)hsl(157 60% 20%)oklch(38.7% 0.073 163.4)—
前景色foreground#fff0d3rgb(255 240 211)hsl(40 100% 91%)oklch(96.0% 0.041 83.9)8.34 AAA
光标cursor#f0bb4drgb(240 187 77)hsl(40 84% 62%)oklch(82.0% 0.139 82.7)5.33 AA
光标文字cursorText#145039rgb(20 80 57)hsl(157 60% 20%)oklch(38.7% 0.073 163.4)1.00 低于 AA
选区selection#326b56rgb(50 107 86)hsl(158 36% 31%)oklch(48.3% 0.070 167.0)1.51 低于 AA
选区文字selectionText#fff8e6rgb(255 248 230)hsl(43 100% 95%)oklch(98.0% 0.025 89.2)8.86 AAA
黑color0#bed0c3rgb(190 208 195)hsl(137 16% 78%)oklch(84.0% 0.026 154.4)5.81 AA
红color1#f5a181rgb(245 161 129)hsl(17 85% 73%)oklch(78.5% 0.110 41.6)4.60 AA
绿color2#8bd19brgb(139 209 155)hsl(134 43% 68%)oklch(80.0% 0.104 150.7)5.23 AA
黄color3#eac95frgb(234 201 95)hsl(46 77% 65%)oklch(84.4% 0.130 92.1)5.82 AA
蓝color4#83bfd8rgb(131 191 216)hsl(198 52% 68%)oklch(77.3% 0.071 226.0)4.65 AA
品红color5#dcaac8rgb(220 170 200)hsl(324 42% 76%)oklch(79.3% 0.070 342.1)4.75 AA
青color6#77d3cargb(119 211 202)hsl(174 51% 65%)oklch(80.7% 0.089 187.4)5.35 AA
白color7#fff0d3rgb(255 240 211)hsl(40 100% 91%)oklch(96.0% 0.041 83.9)8.34 AAA
亮黑color8#cedbd1rgb(206 219 209)hsl(134 15% 83%)oklch(87.9% 0.019 152.8)6.56 AA
亮红color9#f8ab89rgb(248 171 137)hsl(18 89% 75%)oklch(80.8% 0.102 44.7)5.00 AA
亮绿color10#a3dcafrgb(163 220 175)hsl(133 45% 75%)oklch(84.3% 0.086 150.7)6.00 AA
亮黄color11#f3d97frgb(243 217 127)hsl(47 83% 73%)oklch(88.8% 0.114 93.7)6.73 AA
亮蓝color12#9fcfe2rgb(159 207 226)hsl(197 54% 75%)oklch(82.7% 0.057 224.2)5.59 AA
亮品红color13#e4b7cfrgb(228 183 207)hsl(328 45% 81%)oklch(82.6% 0.060 345.2)5.35 AA
亮青color14#96dfd7rgb(150 223 215)hsl(173 53% 73%)oklch(85.3% 0.074 187.2)6.19 AA
亮白color15#fff9e9rgb(255 249 233)hsl(44 100% 96%)oklch(98.2% 0.022 89.8)8.93 AAA

关于 Barrel Cactus

Barrel Cactus 采用中性色调的深色背景(#145039),默认前景色为 #fff0d3。正文的 WCAG 对比度为 8.34:1(AAA),12 种 ANSI 彩色槽位平均对比度 5.44:1,最低 4.60:1。

色板整体色彩饱和度适中,其中红色为 #f5a181、绿色为 #8bd19b、蓝色为 #83bfd8、品红为 #dcaac8。

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

与 Barrel Cactus 相似的配色

数据来源:iTerm2 Color Schemes (MIT)