跳到正文

Flatland

Flatland 是一套深色终端配色,背景色 #1d1f21,文字色 #b8dbef,对比度 11.3:1

获取配置
背景色
#1d1f21
前景色
#b8dbef
文字对比度
11.35:1AAA
强调色对比度
6.24:1最低 2.98
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
❯

Flatland 的配置文件

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

Flatland

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

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

palette = 0=#1d1d19
palette = 1=#f18339
palette = 2=#9fd364
palette = 3=#f4ef6d
palette = 4=#5096be
palette = 5=#695abc
palette = 6=#d63865
palette = 7=#ffffff
palette = 8=#1d1d19
palette = 9=#d22a24
palette = 10=#a7d42c
palette = 11=#ff8949
palette = 12=#61b9d0
palette = 13=#695abc
palette = 14=#d63865
palette = 15=#ffffff
background = #1d1f21
foreground = #b8dbef
cursor-color = #708284
cursor-text = #002831
selection-background = #2b2a24
selection-foreground = #ffffff

Flatland 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#1d1f21rgb(29 31 33)hsl(210 6% 12%)oklch(23.8% 0.005 248.0)—
前景色foreground#b8dbefrgb(184 219 239)hsl(202 63% 83%)oklch(87.3% 0.046 233.1)11.35 AAA
光标cursor#708284rgb(112 130 132)hsl(186 8% 48%)oklch(59.3% 0.021 204.8)4.11 AA 大字号
光标文字cursorText#002831rgb(0 40 49)hsl(191 100% 10%)oklch(25.5% 0.046 216.8)1.06 低于 AA
选区selection#2b2a24rgb(43 42 36)hsl(51 9% 15%)oklch(28.4% 0.011 99.3)1.15 低于 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.53 AAA
黑color0#1d1d19rgb(29 29 25)hsl(60 7% 11%)oklch(22.9% 0.008 107.0)1.02 低于 AA
红color1#f18339rgb(241 131 57)hsl(24 87% 58%)oklch(72.0% 0.159 51.0)6.33 AA
绿color2#9fd364rgb(159 211 100)hsl(88 56% 61%)oklch(80.7% 0.152 130.0)9.43 AAA
黄color3#f4ef6drgb(244 239 109)hsl(58 86% 69%)oklch(93.1% 0.151 107.0)13.71 AAA
蓝color4#5096bergb(80 150 190)hsl(202 46% 53%)oklch(64.4% 0.093 235.7)5.08 AA
品红color5#695abcrgb(105 90 188)hsl(249 42% 55%)oklch(53.1% 0.148 287.3)2.98 低于 AA
青color6#d63865rgb(214 56 101)hsl(343 66% 53%)oklch(59.0% 0.195 8.9)3.63 AA 大字号
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.53 AAA
亮黑color8#1d1d19rgb(29 29 25)hsl(60 7% 11%)oklch(22.9% 0.008 107.0)1.02 低于 AA
亮红color9#d22a24rgb(210 42 36)hsl(2 71% 48%)oklch(56.1% 0.204 28.2)3.23 AA 大字号
亮绿color10#a7d42crgb(167 212 44)hsl(76 66% 50%)oklch(80.9% 0.189 124.3)9.52 AAA
亮黄color11#ff8949rgb(255 137 73)hsl(21 100% 64%)oklch(75.0% 0.163 47.1)7.03 AAA
亮蓝color12#61b9d0rgb(97 185 208)hsl(192 54% 60%)oklch(74.0% 0.091 217.0)7.37 AAA
亮品红color13#695abcrgb(105 90 188)hsl(249 42% 55%)oklch(53.1% 0.148 287.3)2.98 低于 AA
亮青color14#d63865rgb(214 56 101)hsl(343 66% 53%)oklch(59.0% 0.195 8.9)3.63 AA 大字号
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.53 AAA

关于 Flatland

Flatland 采用中性色调的深色背景(#1d1f21),默认前景色为 #b8dbef。正文的 WCAG 对比度为 11.35:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.24:1,最低 2.98:1。

色板整体色彩饱和度适中,其中红色为 #f18339、绿色为 #9fd364、蓝色为 #5096be、品红为 #695abc。

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

与 Flatland 相似的配色

数据来源:iTerm2 Color Schemes (MIT)