跳到正文

Farmhouse Dark

Farmhouse Dark 是一套深色终端配色(鲜艳、冷色),背景色 #1d2027,文字色 #e8e4e1,对比度 12.9:1

获取配置
背景色
#1d2027
前景色
#e8e4e1
文字对比度
12.90:1AAA
强调色对比度
4.71:1最低 2.18
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
❯

Farmhouse Dark 的配置文件

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

Farmhouse Dark

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

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

palette = 0=#1d2027
palette = 1=#ba0004
palette = 2=#549d00
palette = 3=#c87300
palette = 4=#0049e6
palette = 5=#9f1b61
palette = 6=#1fb65c
palette = 7=#e8e4e1
palette = 8=#394047
palette = 9=#eb0009
palette = 10=#7ac100
palette = 11=#ea9a00
palette = 12=#006efe
palette = 13=#bf3b7f
palette = 14=#19e062
palette = 15=#f4eef0
background = #1d2027
foreground = #e8e4e1
cursor-color = #006efe
cursor-text = #e8e4e1
selection-background = #4d5658
selection-foreground = #b3b1aa

Farmhouse Dark 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1d2027rgb(29 32 39)hsl(222 15% 13%)oklch(24.4% 0.014 267.0)—
前景色foreground#e8e4e1rgb(232 228 225)hsl(26 13% 90%)oklch(92.1% 0.006 59.6)12.90 AAA
光标cursor#006efergb(0 110 254)hsl(214 100% 50%)oklch(57.8% 0.230 259.6)3.62 AA 大字号
光标文字cursorText#e8e4e1rgb(232 228 225)hsl(26 13% 90%)oklch(92.1% 0.006 59.6)12.90 AAA
选区selection#4d5658rgb(77 86 88)hsl(191 7% 32%)oklch(44.6% 0.012 212.6)2.16 低于 AA
选区文字selectionText#b3b1aargb(179 177 170)hsl(47 6% 68%)oklch(76.0% 0.010 93.6)7.60 AAA
黑color0#1d2027rgb(29 32 39)hsl(222 15% 13%)oklch(24.4% 0.014 267.0)1.00 低于 AA
红color1#ba0004rgb(186 0 4)hsl(359 100% 36%)oklch(49.6% 0.203 28.8)2.40 低于 AA
绿color2#549d00rgb(84 157 0)hsl(88 100% 31%)oklch(62.3% 0.180 134.4)4.81 AA
黄color3#c87300rgb(200 115 0)hsl(35 100% 39%)oklch(63.6% 0.146 62.2)4.59 AA
蓝color4#0049e6rgb(0 73 230)hsl(221 100% 45%)oklch(48.8% 0.243 262.9)2.40 低于 AA
品红color5#9f1b61rgb(159 27 97)hsl(328 71% 36%)oklch(47.2% 0.175 354.5)2.18 低于 AA
青color6#1fb65crgb(31 182 92)hsl(144 71% 42%)oklch(68.2% 0.176 150.8)6.14 AA
白color7#e8e4e1rgb(232 228 225)hsl(26 13% 90%)oklch(92.1% 0.006 59.6)12.90 AAA
亮黑color8#394047rgb(57 64 71)hsl(210 11% 25%)oklch(36.8% 0.015 248.2)1.55 低于 AA
亮红color9#eb0009rgb(235 0 9)hsl(358 100% 46%)oklch(59.1% 0.242 28.6)3.52 AA 大字号
亮绿color10#7ac100rgb(122 193 0)hsl(82 100% 38%)oklch(73.5% 0.201 131.1)7.34 AAA
亮黄color11#ea9a00rgb(234 154 0)hsl(39 100% 46%)oklch(74.8% 0.160 72.3)7.08 AAA
亮蓝color12#006efergb(0 110 254)hsl(214 100% 50%)oklch(57.8% 0.230 259.6)3.62 AA 大字号
亮品红color13#bf3b7frgb(191 59 127)hsl(329 53% 49%)oklch(56.4% 0.179 352.7)3.22 AA 大字号
亮青color14#19e062rgb(25 224 98)hsl(142 80% 49%)oklch(79.3% 0.222 148.5)9.22 AAA
亮白color15#f4eef0rgb(244 238 240)hsl(340 21% 95%)oklch(95.4% 0.007 354.8)14.23 AAA

关于 Farmhouse Dark

Farmhouse Dark 采用冷色调的深色背景(#1d2027),默认前景色为 #e8e4e1。正文的 WCAG 对比度为 12.90:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.71:1,最低 2.18:1。

色板整体色彩饱和度较高,其中红色为 #ba0004、绿色为 #549d00、蓝色为 #0049e6、品红为 #9f1b61。

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

与 Farmhouse Dark 相似的配色

数据来源:iTerm2 Color Schemes (MIT)