跳到正文

Charcoal Light

Charcoal Light 是一套浅色终端配色(单色、暖色),背景色 #cabda0,文字色 #382e1b,对比度 7.2:1

获取配置
背景色
#cabda0
前景色
#382e1b
文字对比度
7.17:1AAA
强调色对比度
9.06:1最低 7.17
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
❯

Charcoal Light 的配置文件

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

Charcoal Light

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

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

palette = 0=#cabda0
palette = 1=#382e1b
palette = 2=#110e06
palette = 3=#110e06
palette = 4=#251e0f
palette = 5=#382e1b
palette = 6=#110e06
palette = 7=#382e1b
palette = 8=#645538
palette = 9=#382e1b
palette = 10=#110e06
palette = 11=#110e06
palette = 12=#251e0f
palette = 13=#382e1b
palette = 14=#110e06
palette = 15=#bcad8c
background = #cabda0
foreground = #382e1b
cursor-color = #382e1b
cursor-text = #cabda0
selection-background = #a3967c
selection-foreground = #382e1b

Charcoal Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#cabda0rgb(202 189 160)hsl(41 28% 71%)oklch(80.2% 0.042 86.7)—
前景色foreground#382e1brgb(56 46 27)hsl(39 35% 16%)oklch(30.7% 0.034 82.8)7.17 AAA
光标cursor#382e1brgb(56 46 27)hsl(39 35% 16%)oklch(30.7% 0.034 82.8)7.17 AAA
光标文字cursorText#cabda0rgb(202 189 160)hsl(41 28% 71%)oklch(80.2% 0.042 86.7)1.00 低于 AA
选区selection#a3967crgb(163 150 124)hsl(40 17% 56%)oklch(67.7% 0.040 84.5)1.57 低于 AA
选区文字selectionText#382e1brgb(56 46 27)hsl(39 35% 16%)oklch(30.7% 0.034 82.8)7.17 AAA
黑color0#cabda0rgb(202 189 160)hsl(41 28% 71%)oklch(80.2% 0.042 86.7)1.00 低于 AA
红color1#382e1brgb(56 46 27)hsl(39 35% 16%)oklch(30.7% 0.034 82.8)7.17 AAA
绿color2#110e06rgb(17 14 6)hsl(44 48% 5%)oklch(16.5% 0.017 91.0)10.37 AAA
黄color3#110e06rgb(17 14 6)hsl(44 48% 5%)oklch(16.5% 0.017 91.0)10.37 AAA
蓝color4#251e0frgb(37 30 15)hsl(41 42% 10%)oklch(23.9% 0.028 85.3)8.89 AAA
品红color5#382e1brgb(56 46 27)hsl(39 35% 16%)oklch(30.7% 0.034 82.8)7.17 AAA
青color6#110e06rgb(17 14 6)hsl(44 48% 5%)oklch(16.5% 0.017 91.0)10.37 AAA
白color7#382e1brgb(56 46 27)hsl(39 35% 16%)oklch(30.7% 0.034 82.8)7.17 AAA
亮黑color8#645538rgb(100 85 56)hsl(40 28% 31%)oklch(45.7% 0.048 83.3)3.90 AA 大字号
亮红color9#382e1brgb(56 46 27)hsl(39 35% 16%)oklch(30.7% 0.034 82.8)7.17 AAA
亮绿color10#110e06rgb(17 14 6)hsl(44 48% 5%)oklch(16.5% 0.017 91.0)10.37 AAA
亮黄color11#110e06rgb(17 14 6)hsl(44 48% 5%)oklch(16.5% 0.017 91.0)10.37 AAA
亮蓝color12#251e0frgb(37 30 15)hsl(41 42% 10%)oklch(23.9% 0.028 85.3)8.89 AAA
亮品红color13#382e1brgb(56 46 27)hsl(39 35% 16%)oklch(30.7% 0.034 82.8)7.17 AAA
亮青color14#110e06rgb(17 14 6)hsl(44 48% 5%)oklch(16.5% 0.017 91.0)10.37 AAA
亮白color15#bcad8crgb(188 173 140)hsl(41 26% 64%)oklch(75.2% 0.048 86.4)1.19 低于 AA

关于 Charcoal Light

Charcoal Light 采用暖色调的浅色背景(#cabda0),默认前景色为 #382e1b。正文的 WCAG 对比度为 7.17:1(AAA),12 种 ANSI 彩色槽位平均对比度 9.06:1,最低 7.17:1。

色板整体色彩饱和度偏低,其中红色为 #382e1b、绿色为 #110e06、蓝色为 #251e0f、品红为 #382e1b。

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

与 Charcoal Light 相似的配色

数据来源:Gogh (MIT OR Apache-2.0)