跳到主要內容

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/zh-hk/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)