跳到正文

Alabaster

Alabaster 是一套浅色终端配色(柔和),背景色 #f7f7f7,文字色 #000000,对比度 19.6:1

获取配置
背景色
#f7f7f7
前景色
#000000
文字对比度
19.60:1AAA
强调色对比度
3.77:1最低 1.56
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
❯

Alabaster 的配置文件

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

Alabaster

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

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

palette = 0=#000000
palette = 1=#aa3731
palette = 2=#448c27
palette = 3=#cb9000
palette = 4=#325cc0
palette = 5=#7a3e9d
palette = 6=#0083b2
palette = 7=#f7f7f7
palette = 8=#777777
palette = 9=#f05050
palette = 10=#60cb00
palette = 11=#ffbc5d
palette = 12=#007acc
palette = 13=#e64ce6
palette = 14=#00aacb
palette = 15=#f7f7f7
background = #f7f7f7
foreground = #000000
cursor-color = #007acc
cursor-text = #bfdbfe
selection-background = #bfdbfe
selection-foreground = #000000

Alabaster 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)—
前景色foreground#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)19.60 AAA
光标cursor#007accrgb(0 122 204)hsl(204 100% 40%)oklch(56.7% 0.155 248.5)4.21 AA 大字号
光标文字cursorText#bfdbfergb(191 219 254)hsl(213 97% 87%)oklch(88.2% 0.057 254.1)1.33 低于 AA
选区selection#bfdbfergb(191 219 254)hsl(213 97% 87%)oklch(88.2% 0.057 254.1)1.33 低于 AA
选区文字selectionText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)19.60 AAA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)19.60 AAA
红color1#aa3731rgb(170 55 49)hsl(3 55% 43%)oklch(50.4% 0.152 27.0)5.94 AA
绿color2#448c27rgb(68 140 39)hsl(103 56% 35%)oklch(57.2% 0.153 138.3)3.90 AA 大字号
黄color3#cb9000rgb(203 144 0)hsl(43 100% 40%)oklch(69.3% 0.144 79.4)2.60 低于 AA
蓝color4#325cc0rgb(50 92 192)hsl(222 59% 47%)oklch(50.2% 0.164 264.2)5.72 AA
品红color5#7a3e9drgb(122 62 157)hsl(278 43% 43%)oklch(48.3% 0.155 311.1)6.53 AA
青color6#0083b2rgb(0 131 178)hsl(196 100% 35%)oklch(57.4% 0.118 232.6)4.01 AA 大字号
白color7#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)1.00 低于 AA
亮黑color8#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)4.18 AA 大字号
亮红color9#f05050rgb(240 80 80)hsl(0 84% 63%)oklch(65.2% 0.197 24.4)3.28 AA 大字号
亮绿color10#60cb00rgb(96 203 0)hsl(92 100% 40%)oklch(74.8% 0.225 136.5)1.95 低于 AA
亮黄color11#ffbc5drgb(255 188 93)hsl(35 100% 68%)oklch(83.9% 0.135 73.6)1.56 低于 AA
亮蓝color12#007accrgb(0 122 204)hsl(204 100% 40%)oklch(56.7% 0.155 248.5)4.21 AA 大字号
亮品红color13#e64ce6rgb(230 76 230)hsl(300 75% 60%)oklch(68.5% 0.251 327.9)3.00 低于 AA
亮青color14#00aacbrgb(0 170 203)hsl(190 100% 40%)oklch(68.1% 0.123 218.3)2.58 低于 AA
亮白color15#f7f7f7rgb(247 247 247)hsl(0 0% 97%)oklch(97.6% 0.000 0)1.00 低于 AA

关于 Alabaster

Alabaster 采用中性色调的浅色背景(#f7f7f7),默认前景色为 #000000。正文的 WCAG 对比度为 19.60:1(AAA),12 种 ANSI 彩色槽位平均对比度 3.77:1,最低 1.56:1。

色板整体色彩饱和度适中,其中红色为 #aa3731、绿色为 #448c27、蓝色为 #325cc0、品红为 #7a3e9d。

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

与 Alabaster 相似的配色

数据来源:iTerm2 Color Schemes (MIT)