跳到正文

Citrus Ink

Citrus Ink 是一套深色终端配色(高对比度、冷色),背景色 #0b1413,文字色 #eaf0e2,对比度 16.1:1

获取配置
背景色
#0b1413
前景色
#eaf0e2
文字对比度
16.07:1AAA
强调色对比度
11.14:1最低 6.68
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
❯

Citrus Ink 的配置文件

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

Citrus Ink

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

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

palette = 0=#14201e
palette = 1=#ff6b5b
palette = 2=#5fd3a0
palette = 3=#e6c84a
palette = 4=#c2ef45
palette = 5=#f2b441
palette = 6=#cfe89a
palette = 7=#eaf0e2
palette = 8=#4f6b5e
palette = 9=#ff8174
palette = 10=#72d8ab
palette = 11=#f2a23e
palette = 12=#b8e62e
palette = 13=#b8e62e
palette = 14=#d5eba6
palette = 15=#ffffff
background = #0b1413
foreground = #eaf0e2
cursor-color = #b8e62e
cursor-text = #0b1413
selection-background = #1f302d
selection-foreground = #4b5453

Citrus Ink 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#0b1413rgb(11 20 19)hsl(173 29% 6%)oklch(18.2% 0.014 187.4)—
前景色foreground#eaf0e2rgb(234 240 226)hsl(86 32% 91%)oklch(94.7% 0.020 125.8)16.07 AAA
光标cursor#b8e62ergb(184 230 46)hsl(75 79% 54%)oklch(86.2% 0.201 123.6)12.81 AAA
光标文字cursorText#0b1413rgb(11 20 19)hsl(173 29% 6%)oklch(18.2% 0.014 187.4)1.00 低于 AA
选区selection#1f302drgb(31 48 45)hsl(169 22% 15%)oklch(29.3% 0.023 182.5)1.35 低于 AA
选区文字selectionText#4b5453rgb(75 84 83)hsl(173 6% 31%)oklch(43.8% 0.012 188.7)2.40 低于 AA
黑color0#14201ergb(20 32 30)hsl(170 23% 10%)oklch(23.1% 0.017 183.3)1.12 低于 AA
红color1#ff6b5brgb(255 107 91)hsl(6 100% 68%)oklch(70.9% 0.184 28.7)6.68 AA
绿color2#5fd3a0rgb(95 211 160)hsl(154 57% 60%)oklch(78.6% 0.130 162.2)10.07 AAA
黄color3#e6c84argb(230 200 74)hsl(48 76% 60%)oklch(83.6% 0.145 95.6)11.32 AAA
蓝color4#c2ef45rgb(194 239 69)hsl(76 84% 60%)oklch(89.0% 0.195 123.4)14.00 AAA
品红color5#f2b441rgb(242 180 65)hsl(39 87% 60%)oklch(80.8% 0.145 79.1)10.13 AAA
青color6#cfe89argb(207 232 154)hsl(79 63% 76%)oklch(89.4% 0.104 123.0)13.94 AAA
白color7#eaf0e2rgb(234 240 226)hsl(86 32% 91%)oklch(94.7% 0.020 125.8)16.07 AAA
亮黑color8#4f6b5ergb(79 107 94)hsl(152 15% 36%)oklch(50.2% 0.039 164.7)3.20 AA 大字号
亮红color9#ff8174rgb(255 129 116)hsl(6 100% 73%)oklch(74.4% 0.156 27.5)7.69 AAA
亮绿color10#72d8abrgb(114 216 171)hsl(154 57% 65%)oklch(80.8% 0.116 163.2)10.79 AAA
亮黄color11#f2a23ergb(242 162 62)hsl(33 87% 60%)oklch(77.5% 0.146 68.1)8.91 AAA
亮蓝color12#b8e62ergb(184 230 46)hsl(75 79% 54%)oklch(86.2% 0.201 123.6)12.81 AAA
亮品红color13#b8e62ergb(184 230 46)hsl(75 79% 54%)oklch(86.2% 0.201 123.6)12.81 AAA
亮青color14#d5eba6rgb(213 235 166)hsl(79 63% 79%)oklch(90.7% 0.093 122.6)14.47 AAA
亮白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.69 AAA

关于 Citrus Ink

Citrus Ink 采用冷色调的深色背景(#0b1413),默认前景色为 #eaf0e2。正文的 WCAG 对比度为 16.07:1(AAA),12 种 ANSI 彩色槽位平均对比度 11.14:1,最低 6.68:1。

色板整体色彩饱和度适中,其中红色为 #ff6b5b、绿色为 #5fd3a0、蓝色为 #c2ef45、品红为 #f2b441。

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

与 Citrus Ink 相似的配色

数据来源:iTerm2 Color Schemes (MIT)