跳到正文

Chocolate Light

Chocolate Light 是一套浅色终端配色(单色),背景色 #ffffff,文字色 #150f08,对比度 19.0:1

获取配置
背景色
#ffffff
前景色
#150f08
文字对比度
19.03:1AAA
强调色对比度
4.32:1最低 1.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
❯

Chocolate Light 的配置文件

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

Chocolate Light

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

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

palette = 0=#ffffff
palette = 1=#ba0e2e
palette = 2=#5b472c
palette = 3=#a08f76
palette = 4=#b5a48d
palette = 5=#8e744f
palette = 6=#5b472c
palette = 7=#271c0f
palette = 8=#ffffff
palette = 9=#e61f44
palette = 10=#a07d4d
palette = 11=#cac0b2
palette = 12=#ddd5cb
palette = 13=#bca687
palette = 14=#a07d4d
palette = 15=#4c371d
background = #ffffff
foreground = #150f08
cursor-color = #222222
cursor-text = #150f08
selection-background = #8b6e46
selection-foreground = #ffffff

Chocolate Light 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)—
前景色foreground#150f08rgb(21 15 8)hsl(32 45% 6%)oklch(17.4% 0.017 71.1)19.03 AAA
光标cursor#222222rgb(34 34 34)hsl(0 0% 13%)oklch(25.2% 0.000 0)15.91 AAA
光标文字cursorText#150f08rgb(21 15 8)hsl(32 45% 6%)oklch(17.4% 0.017 71.1)19.03 AAA
选区selection#8b6e46rgb(139 110 70)hsl(35 33% 41%)oklch(55.7% 0.067 74.6)4.75 AA
选区文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低于 AA
黑color0#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低于 AA
红color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)6.58 AA
绿color2#5b472crgb(91 71 44)hsl(34 35% 26%)oklch(41.2% 0.049 74.1)8.81 AAA
黄color3#a08f76rgb(160 143 118)hsl(36 18% 55%)oklch(65.8% 0.041 77.4)3.14 AA 大字号
蓝color4#b5a48drgb(181 164 141)hsl(35 21% 63%)oklch(72.7% 0.038 75.4)2.43 低于 AA
品红color5#8e744frgb(142 116 79)hsl(35 29% 43%)oklch(57.5% 0.062 75.8)4.41 AA 大字号
青color6#5b472crgb(91 71 44)hsl(34 35% 26%)oklch(41.2% 0.049 74.1)8.81 AAA
白color7#271c0frgb(39 28 15)hsl(33 44% 11%)oklch(23.6% 0.029 70.4)16.68 AAA
亮黑color8#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)1.00 低于 AA
亮红color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.52 AA
亮绿color10#a07d4drgb(160 125 77)hsl(35 35% 46%)oklch(61.3% 0.078 74.2)3.79 AA 大字号
亮黄color11#cac0b2rgb(202 192 178)hsl(35 18% 75%)oklch(81.2% 0.022 76.5)1.80 低于 AA
亮蓝color12#ddd5cbrgb(221 213 203)hsl(33 21% 83%)oklch(87.7% 0.016 73.7)1.45 低于 AA
亮品红color13#bca687rgb(188 166 135)hsl(35 28% 63%)oklch(73.6% 0.050 76.3)2.35 低于 AA
亮青color14#a07d4drgb(160 125 77)hsl(35 35% 46%)oklch(61.3% 0.078 74.2)3.79 AA 大字号
亮白color15#4c371drgb(76 55 29)hsl(33 45% 21%)oklch(35.4% 0.050 71.0)11.22 AAA

关于 Chocolate Light

Chocolate Light 采用中性色调的浅色背景(#ffffff),默认前景色为 #150f08。正文的 WCAG 对比度为 19.03:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.32:1,最低 1.45:1。

色板整体色彩饱和度偏低,其中红色为 #ba0e2e、绿色为 #5b472c、蓝色为 #b5a48d、品红为 #8e744f。

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

与 Chocolate Light 相似的配色

数据来源:Rainglow (MIT)