跳到正文

LiquidCarbon

LiquidCarbon 是一套深色终端配色,背景色 #2f2f2f,文字色 #afc2c2,对比度 7.2:1

获取配置
背景色
#2f2f2f
前景色
#afc2c2
文字对比度
7.22:1AAA
强调色对比度
4.76:1最低 3.63
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
❯

LiquidCarbon 的配置文件

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

LiquidCarbon

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

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

palette = 0=#000000
palette = 1=#ff2f2f
palette = 2=#549a6f
palette = 3=#ccac00
palette = 4=#0099cc
palette = 5=#cc68c8
palette = 6=#79c4cc
palette = 7=#bccccc
palette = 8=#000000
palette = 9=#ff2f2f
palette = 10=#549a6f
palette = 11=#ccac00
palette = 12=#0099cc
palette = 13=#cc68c8
palette = 14=#79c4cc
palette = 15=#bccccc
background = #2f2f2f
foreground = #afc2c2
cursor-color = #ffffff
cursor-text = #2f2f2f
selection-background = #7cbeff
selection-foreground = #2f2f2f

LiquidCarbon 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)—
前景色foreground#afc2c2rgb(175 194 194)hsl(180 13% 72%)oklch(80.0% 0.021 196.7)7.22 AAA
光标cursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.39 AAA
光标文字cursorText#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)1.00 低于 AA
选区selection#7cbeffrgb(124 190 255)hsl(210 100% 74%)oklch(78.3% 0.115 249.1)6.80 AA
选区文字selectionText#2f2f2frgb(47 47 47)hsl(0 0% 18%)oklch(30.5% 0.000 0)1.00 低于 AA
黑color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.57 低于 AA
红color1#ff2f2frgb(255 47 47)hsl(0 100% 59%)oklch(64.6% 0.240 27.2)3.63 AA 大字号
绿color2#549a6frgb(84 154 111)hsl(143 29% 47%)oklch(62.8% 0.097 155.4)3.97 AA 大字号
黄color3#ccac00rgb(204 172 0)hsl(51 100% 40%)oklch(75.0% 0.154 95.6)6.04 AA
蓝color4#0099ccrgb(0 153 204)hsl(195 100% 40%)oklch(64.1% 0.129 231.1)4.10 AA 大字号
品红color5#cc68c8rgb(204 104 200)hsl(302 50% 60%)oklch(66.7% 0.173 328.8)4.07 AA 大字号
青color6#79c4ccrgb(121 196 204)hsl(186 45% 64%)oklch(77.4% 0.075 204.4)6.75 AA
白color7#bcccccrgb(188 204 204)hsl(180 14% 77%)oklch(83.3% 0.017 196.8)8.06 AAA
亮黑color8#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.57 低于 AA
亮红color9#ff2f2frgb(255 47 47)hsl(0 100% 59%)oklch(64.6% 0.240 27.2)3.63 AA 大字号
亮绿color10#549a6frgb(84 154 111)hsl(143 29% 47%)oklch(62.8% 0.097 155.4)3.97 AA 大字号
亮黄color11#ccac00rgb(204 172 0)hsl(51 100% 40%)oklch(75.0% 0.154 95.6)6.04 AA
亮蓝color12#0099ccrgb(0 153 204)hsl(195 100% 40%)oklch(64.1% 0.129 231.1)4.10 AA 大字号
亮品红color13#cc68c8rgb(204 104 200)hsl(302 50% 60%)oklch(66.7% 0.173 328.8)4.07 AA 大字号
亮青color14#79c4ccrgb(121 196 204)hsl(186 45% 64%)oklch(77.4% 0.075 204.4)6.75 AA
亮白color15#bcccccrgb(188 204 204)hsl(180 14% 77%)oklch(83.3% 0.017 196.8)8.06 AAA

关于 LiquidCarbon

LiquidCarbon 采用中性色调的深色背景(#2f2f2f),默认前景色为 #afc2c2。正文的 WCAG 对比度为 7.22:1(AAA),12 种 ANSI 彩色槽位平均对比度 4.76:1,最低 3.63:1。

色板整体色彩饱和度适中,其中红色为 #ff2f2f、绿色为 #549a6f、蓝色为 #0099cc、品红为 #cc68c8。

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

与 LiquidCarbon 相似的配色

数据来源:Kitty Themes (MIT)