跳到正文

Plastic

Plastic 是一套深色终端配色,背景色 #181a1f,文字色 #a9b2c3,对比度 8.2:1

获取配置
背景色
#181a1f
前景色
#a9b2c3
文字对比度
8.16:1AAA
强调色对比度
7.44:1最低 5.45
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
❯

Plastic 的配置文件

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

Plastic

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

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

palette = 0=#5f6672
palette = 1=#e06c75
palette = 2=#98c379
palette = 3=#e5c07b
palette = 4=#61afef
palette = 5=#b57edc
palette = 6=#56b6c2
palette = 7=#a9b2c3
palette = 8=#5f6672
palette = 9=#e06c75
palette = 10=#98c379
palette = 11=#e5c07b
palette = 12=#61afef
palette = 13=#b57edc
palette = 14=#56b6c2
palette = 15=#a9b2c3
background = #181a1f
foreground = #a9b2c3
cursor-color = #1085ff
cursor-text = #181a1f
selection-background = #383b43
selection-foreground = #a9b2c3

Plastic 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#181a1frgb(24 26 31)hsl(223 13% 11%)oklch(21.8% 0.010 268.2)—
前景色foreground#a9b2c3rgb(169 178 195)hsl(219 18% 71%)oklch(76.2% 0.026 263.3)8.16 AAA
光标cursor#1085ffrgb(16 133 255)hsl(211 100% 53%)oklch(62.7% 0.204 255.5)4.83 AA
光标文字cursorText#181a1frgb(24 26 31)hsl(223 13% 11%)oklch(21.8% 0.010 268.2)1.00 低于 AA
选区selection#383b43rgb(56 59 67)hsl(224 9% 24%)oklch(35.3% 0.014 269.3)1.55 低于 AA
选区文字selectionText#a9b2c3rgb(169 178 195)hsl(219 18% 71%)oklch(76.2% 0.026 263.3)8.16 AAA
黑color0#5f6672rgb(95 102 114)hsl(218 9% 41%)oklch(50.8% 0.021 261.3)3.01 AA 大字号
红color1#e06c75rgb(224 108 117)hsl(355 65% 65%)oklch(67.1% 0.145 17.0)5.45 AA
绿color2#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)8.64 AAA
黄color3#e5c07brgb(229 192 123)hsl(39 67% 69%)oklch(82.5% 0.097 82.3)10.08 AAA
蓝color4#61afefrgb(97 175 239)hsl(207 82% 66%)oklch(73.0% 0.121 245.3)7.37 AAA
品红color5#b57edcrgb(181 126 220)hsl(275 57% 68%)oklch(68.4% 0.145 310.0)5.79 AA
青color6#56b6c2rgb(86 182 194)hsl(187 47% 55%)oklch(72.3% 0.092 206.3)7.35 AAA
白color7#a9b2c3rgb(169 178 195)hsl(219 18% 71%)oklch(76.2% 0.026 263.3)8.16 AAA
亮黑color8#5f6672rgb(95 102 114)hsl(218 9% 41%)oklch(50.8% 0.021 261.3)3.01 AA 大字号
亮红color9#e06c75rgb(224 108 117)hsl(355 65% 65%)oklch(67.1% 0.145 17.0)5.45 AA
亮绿color10#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)8.64 AAA
亮黄color11#e5c07brgb(229 192 123)hsl(39 67% 69%)oklch(82.5% 0.097 82.3)10.08 AAA
亮蓝color12#61afefrgb(97 175 239)hsl(207 82% 66%)oklch(73.0% 0.121 245.3)7.37 AAA
亮品红color13#b57edcrgb(181 126 220)hsl(275 57% 68%)oklch(68.4% 0.145 310.0)5.79 AA
亮青color14#56b6c2rgb(86 182 194)hsl(187 47% 55%)oklch(72.3% 0.092 206.3)7.35 AAA
亮白color15#a9b2c3rgb(169 178 195)hsl(219 18% 71%)oklch(76.2% 0.026 263.3)8.16 AAA

关于 Plastic

Plastic 采用中性色调的深色背景(#181a1f),默认前景色为 #a9b2c3。正文的 WCAG 对比度为 8.16:1(AAA),12 种 ANSI 彩色槽位平均对比度 7.44:1,最低 5.45:1。

色板整体色彩饱和度适中,其中红色为 #e06c75、绿色为 #98c379、蓝色为 #61afef、品红为 #b57edc。

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

与 Plastic 相似的配色

数据来源:Warp Themes (Apache-2.0)