跳到正文

Rainbows and Unicorns

Rainbows and Unicorns 是一套深色终端配色,背景色 #0e0e13,文字色 #e6e3d8,对比度 15.0:1

获取配置
背景色
#0e0e13
前景色
#e6e3d8
文字对比度
14.98:1AAA
强调色对比度
8.73:1最低 4.67
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
❯

Rainbows and Unicorns 的配置文件

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

Rainbows and Unicorns

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

更多 Ghostty 配色
原始文件
# Theme: Rainbows and Unicorns (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/schemes/rainbows-and-unicorns?format=ghostty

palette = 0=#23232d
palette = 1=#e0453f
palette = 2=#62bb47
palette = 3=#fcb827
palette = 4=#1d9be3
palette = 5=#bb62c0
palette = 6=#35c9be
palette = 7=#c9c6bc
palette = 8=#6f6e7d
palette = 9=#f5821f
palette = 10=#8ad46b
palette = 11=#ffd35c
palette = 12=#5db9f0
palette = 13=#d68adb
palette = 14=#6fddd3
palette = 15=#fffdf5
background = #0e0e13
foreground = #e6e3d8
cursor-color = #fcb827
cursor-text = #0e0e13
selection-background = #963d97
selection-foreground = #fffdf5

Rainbows and Unicorns 色板

色板各槽位的色值及其相对背景的 WCAG 对比度
颜色槽位HEXRGBHSLOKLCH对比度
背景色background#0e0e13rgb(14 14 19)hsl(240 15% 6%)oklch(16.6% 0.010 285.2)—
前景色foreground#e6e3d8rgb(230 227 216)hsl(47 22% 87%)oklch(91.5% 0.015 94.2)14.98 AAA
光标cursor#fcb827rgb(252 184 39)hsl(41 97% 57%)oklch(82.5% 0.162 80.1)11.02 AAA
光标文字cursorText#0e0e13rgb(14 14 19)hsl(240 15% 6%)oklch(16.6% 0.010 285.2)1.00 低于 AA
选区selection#963d97rgb(150 61 151)hsl(299 42% 42%)oklch(51.5% 0.164 327.2)3.13 AA 大字号
选区文字selectionText#fffdf5rgb(255 253 245)hsl(48 100% 98%)oklch(99.3% 0.011 95.2)18.90 AAA
黑color0#23232drgb(35 35 45)hsl(240 13% 16%)oklch(26.1% 0.019 285.0)1.24 低于 AA
红color1#e0453frgb(224 69 63)hsl(2 72% 56%)oklch(61.2% 0.193 26.7)4.67 AA
绿color2#62bb47rgb(98 187 71)hsl(106 46% 51%)oklch(71.2% 0.175 139.1)7.99 AAA
黄color3#fcb827rgb(252 184 39)hsl(41 97% 57%)oklch(82.5% 0.162 80.1)11.02 AAA
蓝color4#1d9be3rgb(29 155 227)hsl(202 78% 50%)oklch(66.0% 0.147 241.3)6.28 AA
品红color5#bb62c0rgb(187 98 192)hsl(297 43% 57%)oklch(63.4% 0.165 325.3)5.15 AA
青color6#35c9bergb(53 201 190)hsl(176 58% 50%)oklch(75.9% 0.121 187.5)9.40 AAA
白color7#c9c6bcrgb(201 198 188)hsl(46 11% 76%)oklch(82.6% 0.014 93.0)11.26 AAA
亮黑color8#6f6e7drgb(111 110 125)hsl(244 6% 46%)oklch(54.4% 0.023 288.7)3.85 AA 大字号
亮红color9#f5821frgb(245 130 31)hsl(28 91% 54%)oklch(72.2% 0.172 54.0)7.42 AAA
亮绿color10#8ad46brgb(138 212 107)hsl(102 55% 63%)oklch(79.8% 0.157 137.2)10.73 AAA
亮黄color11#ffd35crgb(255 211 92)hsl(44 100% 68%)oklch(88.3% 0.144 88.7)13.50 AAA
亮蓝color12#5db9f0rgb(93 185 240)hsl(202 83% 65%)oklch(75.2% 0.118 237.5)8.86 AAA
亮品红color13#d68adbrgb(214 138 219)hsl(296 53% 70%)oklch(73.8% 0.140 324.7)7.81 AAA
亮青color14#6fddd3rgb(111 221 211)hsl(175 62% 65%)oklch(83.0% 0.103 187.6)11.88 AAA
亮白color15#fffdf5rgb(255 253 245)hsl(48 100% 98%)oklch(99.3% 0.011 95.2)18.90 AAA

关于 Rainbows and Unicorns

Rainbows and Unicorns 采用中性色调的深色背景(#0e0e13),默认前景色为 #e6e3d8。正文的 WCAG 对比度为 14.98:1(AAA),12 种 ANSI 彩色槽位平均对比度 8.73:1,最低 4.67:1。

色板整体色彩饱和度适中,其中红色为 #e0453f、绿色为 #62bb47、蓝色为 #1d9be3、品红为 #bb62c0。

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

与 Rainbows and Unicorns 相似的配色

数据来源:iTerm2 Color Schemes (MIT OR Apache-2.0)