跳到正文

Canvased Pastel

Canvased Pastel 是一套深色终端配色(柔和、单色),背景色 #170f0d,文字色 #746c48,对比度 3.6:1

获取配置
背景色
#170f0d
前景色
#746c48
文字对比度
3.58:1AA 大字号
强调色对比度
6.09:1最低 1.43
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
❯

Canvased Pastel 的配置文件

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

Canvased Pastel

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

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

palette = 0=#26251c
palette = 1=#323027
palette = 2=#3d4339
palette = 3=#443b2c
palette = 4=#534d35
palette = 5=#646756
palette = 6=#7b8574
palette = 7=#837b61
palette = 8=#999f91
palette = 9=#9b9773
palette = 10=#b2b08c
palette = 11=#c4bb8c
palette = 12=#c4b67a
palette = 13=#cfc995
palette = 14=#d3d4b6
palette = 15=#d6d3ac
background = #170f0d
foreground = #746c48
cursor-color = #746c48
cursor-text = #170f0d
selection-background = #2c241b
selection-foreground = #746c48

Canvased Pastel 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#170f0drgb(23 15 13)hsl(12 28% 7%)oklch(17.8% 0.014 34.4)—
前景色foreground#746c48rgb(116 108 72)hsl(49 23% 37%)oklch(52.9% 0.053 97.1)3.58 AA 大字号
光标cursor#746c48rgb(116 108 72)hsl(49 23% 37%)oklch(52.9% 0.053 97.1)3.58 AA 大字号
光标文字cursorText#170f0drgb(23 15 13)hsl(12 28% 7%)oklch(17.8% 0.014 34.4)1.00 低于 AA
选区selection#2c241brgb(44 36 27)hsl(32 24% 14%)oklch(26.7% 0.020 70.1)1.24 低于 AA
选区文字selectionText#746c48rgb(116 108 72)hsl(49 23% 37%)oklch(52.9% 0.053 97.1)3.58 AA 大字号
黑color0#26251crgb(38 37 28)hsl(54 15% 13%)oklch(26.2% 0.016 102.2)1.23 低于 AA
红color1#323027rgb(50 48 39)hsl(49 12% 17%)oklch(30.8% 0.016 96.8)1.43 低于 AA
绿color2#3d4339rgb(61 67 57)hsl(96 8% 24%)oklch(37.4% 0.018 132.7)1.86 低于 AA
黄color3#443b2crgb(68 59 44)hsl(38 21% 22%)oklch(35.7% 0.028 80.3)1.72 低于 AA
蓝color4#534d35rgb(83 77 53)hsl(48 22% 27%)oklch(41.9% 0.038 95.8)2.23 低于 AA
品红color5#646756rgb(100 103 86)hsl(71 9% 37%)oklch(50.6% 0.026 115.5)3.26 AA 大字号
青color6#7b8574rgb(123 133 116)hsl(95 7% 49%)oklch(60.3% 0.028 132.3)4.91 AA
白color7#837b61rgb(131 123 97)hsl(46 15% 45%)oklch(58.3% 0.039 93.0)4.48 AA 大字号
亮黑color8#999f91rgb(153 159 145)hsl(86 7% 60%)oklch(69.4% 0.021 126.0)6.95 AA
亮红color9#9b9773rgb(155 151 115)hsl(54 17% 53%)oklch(67.0% 0.051 102.4)6.36 AA
亮绿color10#b2b08crgb(178 176 140)hsl(57 20% 62%)oklch(74.9% 0.049 104.9)8.54 AAA
亮黄color11#c4bb8crgb(196 187 140)hsl(50 32% 66%)oklch(78.8% 0.064 98.5)9.76 AAA
亮蓝color12#c4b67argb(196 182 122)hsl(49 39% 62%)oklch(77.4% 0.080 96.6)9.29 AAA
亮品红color13#cfc995rgb(207 201 149)hsl(54 38% 70%)oklch(82.8% 0.069 102.2)11.20 AAA
亮青color14#d3d4b6rgb(211 212 182)hsl(62 26% 77%)oklch(86.1% 0.040 108.8)12.48 AAA
亮白color15#d6d3acrgb(214 211 172)hsl(56 34% 76%)oklch(85.9% 0.052 103.8)12.40 AAA

关于 Canvased Pastel

Canvased Pastel 采用暖色调的深色背景(#170f0d),默认前景色为 #746c48。正文的 WCAG 对比度为 3.58:1(AA 大字号),12 种 ANSI 彩色槽位平均对比度 6.09:1,最低 1.43:1。

色板整体色彩饱和度偏低,其中红色为 #323027、绿色为 #3d4339、蓝色为 #534d35、品红为 #646756。

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

与 Canvased Pastel 相似的配色

数据来源:terminal.sexy (MIT)