本文へスキップ

Rainbow

Rainbow はダーク系のターミナル配色(寒色)。背景色 #192835、文字色 #aada4f、コントラスト比 9.2:1

設定を取得
背景色
#192835
前景色
#aada4f
文字のコントラスト
9.20:1AAA
アクセントのコントラスト
5.20:1最小 2.37
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
❯

Rainbow の設定ファイル

16 種類の形式を、ひとつのパレットから生成

Rainbow

~/.config/ghostty/themes/Rainbow に保存し、config または config.ghostty に theme = Rainbow を書く

Ghostty の配色をもっと見る
元ファイル
# Theme: Rainbow (Ghostty)
# Preview & customize online: https://tintdex.afengim.com/ja/schemes/rainbow?format=ghostty

palette = 0=#5b4375
palette = 1=#426bb6
palette = 2=#2286b5
palette = 3=#5ab782
palette = 4=#93ca5b
palette = 5=#c6c842
palette = 6=#8a5135
palette = 7=#c54646
palette = 8=#5b4375
palette = 9=#426bb6
palette = 10=#2286b5
palette = 11=#5ab782
palette = 12=#93ca5b
palette = 13=#c6c842
palette = 14=#8a5135
palette = 15=#c54646
background = #192835
foreground = #aada4f
cursor-color = #aada4f
cursor-text = #192835
selection-background = #385143
selection-foreground = #aada4f

Rainbow のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#192835rgb(25 40 53)hsl(208 36% 15%)oklch(27.0% 0.032 245.5)—
前景色foreground#aada4frgb(170 218 79)hsl(81 65% 58%)oklch(82.8% 0.174 126.2)9.20 AAA
カーソルcursor#aada4frgb(170 218 79)hsl(81 65% 58%)oklch(82.8% 0.174 126.2)9.20 AAA
カーソルの文字cursorText#192835rgb(25 40 53)hsl(208 36% 15%)oklch(27.0% 0.032 245.5)1.00 AA 未満
選択範囲selection#385143rgb(56 81 67)hsl(146 18% 27%)oklch(41.0% 0.039 159.6)1.74 AA 未満
選択範囲の文字selectionText#aada4frgb(170 218 79)hsl(81 65% 58%)oklch(82.8% 0.174 126.2)9.20 AAA
黒color0#5b4375rgb(91 67 117)hsl(269 27% 36%)oklch(43.1% 0.085 305.2)1.79 AA 未満
赤color1#426bb6rgb(66 107 182)hsl(219 47% 49%)oklch(53.5% 0.127 261.5)2.87 AA 未満
緑color2#2286b5rgb(34 134 181)hsl(199 68% 42%)oklch(58.7% 0.113 234.6)3.69 AA(大きな文字)
黄color3#5ab782rgb(90 183 130)hsl(146 39% 54%)oklch(70.8% 0.119 156.5)6.11 AA
青color4#93ca5brgb(147 202 91)hsl(90 51% 57%)oklch(77.7% 0.154 131.1)7.76 AAA
マゼンタcolor5#c6c842rgb(198 200 66)hsl(61 55% 52%)oklch(80.7% 0.152 110.2)8.41 AAA
シアンcolor6#8a5135rgb(138 81 53)hsl(20 45% 37%)oklch(49.5% 0.087 46.3)2.37 AA 未満
白color7#c54646rgb(197 70 70)hsl(0 52% 52%)oklch(57.0% 0.163 23.8)3.11 AA(大きな文字)
明るい黒color8#5b4375rgb(91 67 117)hsl(269 27% 36%)oklch(43.1% 0.085 305.2)1.79 AA 未満
明るい赤color9#426bb6rgb(66 107 182)hsl(219 47% 49%)oklch(53.5% 0.127 261.5)2.87 AA 未満
明るい緑color10#2286b5rgb(34 134 181)hsl(199 68% 42%)oklch(58.7% 0.113 234.6)3.69 AA(大きな文字)
明るい黄color11#5ab782rgb(90 183 130)hsl(146 39% 54%)oklch(70.8% 0.119 156.5)6.11 AA
明るい青color12#93ca5brgb(147 202 91)hsl(90 51% 57%)oklch(77.7% 0.154 131.1)7.76 AAA
明るいマゼンタcolor13#c6c842rgb(198 200 66)hsl(61 55% 52%)oklch(80.7% 0.152 110.2)8.41 AAA
明るいシアンcolor14#8a5135rgb(138 81 53)hsl(20 45% 37%)oklch(49.5% 0.087 46.3)2.37 AA 未満
明るい白color15#c54646rgb(197 70 70)hsl(0 52% 52%)oklch(57.0% 0.163 23.8)3.11 AA(大きな文字)

Rainbow について

Rainbow は寒色寄りのダーク背景(#192835)を採用し、標準の前景色に #aada4f を使ったターミナル配色です。本文の WCAG コントラスト比は 9.20:1(AAA)、12 色の ANSI カラーは平均 5.20:1、最小 2.37:1 です。

パレット全体は適度な彩度で、赤 #426bb6、緑 #2286b5、青 #93ca5b、マゼンタ #c6c842 を基調としています。

Ghostty、iTerm2、Kitty、Alacritty、WezTerm、Windows Terminal、Warp、foot、Rio、XFCE4 Terminal、Xresources 向けの設定ファイルを書き出せるほか、VS Code・Zed の統合ターミナル、CSS 変数、Tailwind CSS、JSON 形式にも対応しています。

Rainbow に似た配色

データ出典:Gogh (MIT OR Apache-2.0)