跳到正文

Petrified

Petrified 是一套深色终端配色(粉彩、暖色),背景色 #403637,文字色 #fff0dc,对比度 10.4:1

获取配置
背景色
#403637
前景色
#fff0dc
文字对比度
10.41:1AAA
强调色对比度
6.34:1最低 5.14
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
❯

Petrified 的配置文件

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

Petrified

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

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

palette = 0=#c7c0ba
palette = 1=#ee9676
palette = 2=#82c794
palette = 3=#e5c05c
palette = 4=#80bdd2
palette = 5=#cc9fc1
palette = 6=#75ccc7
palette = 7=#fff0dc
palette = 8=#d6d0ca
palette = 9=#f4aa8d
palette = 10=#9bd4a7
palette = 11=#efd17d
palette = 12=#9dcddd
palette = 13=#dab6cf
palette = 14=#94dad5
palette = 15=#fff9ed
background = #403637
foreground = #fff0dc
cursor-color = #f0b65c
cursor-text = #403637
selection-background = #625456
selection-foreground = #fff8ea

Petrified 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#403637rgb(64 54 55)hsl(354 8% 23%)oklch(34.4% 0.014 11.0)—
前景色foreground#fff0dcrgb(255 240 220)hsl(34 100% 93%)oklch(96.2% 0.031 75.2)10.41 AAA
光标cursor#f0b65crgb(240 182 92)hsl(36 83% 65%)oklch(81.2% 0.126 76.3)6.41 AA
光标文字cursorText#403637rgb(64 54 55)hsl(354 8% 23%)oklch(34.4% 0.014 11.0)1.00 低于 AA
选区selection#625456rgb(98 84 86)hsl(351 8% 36%)oklch(46.0% 0.019 8.1)1.62 低于 AA
选区文字selectionText#fff8eargb(255 248 234)hsl(40 100% 96%)oklch(98.1% 0.020 84.6)11.03 AAA
黑color0#c7c0bargb(199 192 186)hsl(28 10% 75%)oklch(81.2% 0.011 63.3)6.48 AA
红color1#ee9676rgb(238 150 118)hsl(16 78% 70%)oklch(75.6% 0.116 40.7)5.14 AA
绿color2#82c794rgb(130 199 148)hsl(136 38% 65%)oklch(77.0% 0.101 151.7)5.86 AA
黄color3#e5c05crgb(229 192 92)hsl(44 72% 63%)oklch(82.1% 0.126 89.1)6.68 AA
蓝color4#80bdd2rgb(128 189 210)hsl(195 48% 66%)oklch(76.4% 0.069 221.6)5.62 AA
品红color5#cc9fc1rgb(204 159 193)hsl(315 31% 71%)oklch(75.4% 0.070 335.1)5.16 AA
青color6#75ccc7rgb(117 204 199)hsl(177 46% 63%)oklch(78.9% 0.085 190.8)6.23 AA
白color7#fff0dcrgb(255 240 220)hsl(34 100% 93%)oklch(96.2% 0.031 75.2)10.41 AAA
亮黑color8#d6d0cargb(214 208 202)hsl(30 13% 82%)oklch(86.1% 0.011 67.7)7.63 AAA
亮红color9#f4aa8drgb(244 170 141)hsl(17 82% 75%)oklch(80.2% 0.096 42.2)6.10 AA
亮绿color10#9bd4a7rgb(155 212 167)hsl(133 40% 72%)oklch(81.9% 0.086 150.6)6.87 AA
亮黄color11#efd17drgb(239 209 125)hsl(44 78% 71%)oklch(86.8% 0.109 90.4)7.82 AAA
亮蓝color12#9dcdddrgb(157 205 221)hsl(195 48% 74%)oklch(82.0% 0.055 220.3)6.78 AA
亮品红color13#dab6cfrgb(218 182 207)hsl(318 33% 78%)oklch(81.5% 0.053 337.3)6.43 AA
亮青color14#94dad5rgb(148 218 213)hsl(176 49% 72%)oklch(84.1% 0.070 190.3)7.36 AAA
亮白color15#fff9edrgb(255 249 237)hsl(40 100% 96%)oklch(98.4% 0.017 84.6)11.12 AAA

关于 Petrified

Petrified 采用暖色调的深色背景(#403637),默认前景色为 #fff0dc。正文的 WCAG 对比度为 10.41:1(AAA),12 种 ANSI 彩色槽位平均对比度 6.34:1,最低 5.14:1。

色板整体色彩饱和度适中,其中红色为 #ee9676、绿色为 #82c794、蓝色为 #80bdd2、品红为 #cc9fc1。

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

与 Petrified 相似的配色

数据来源:iTerm2 Color Schemes (MIT)