本文へスキップ

12-bit Rainbow

12-bit Rainbow はダーク系のターミナル配色(トゥルーブラック)。背景色 #040404、文字色 #feffff、コントラスト比 20.5:1

設定を取得
背景色
#040404
前景色
#feffff
文字のコントラスト
20.47:1AAA
アクセントのコントラスト
6.60:1最小 2.17
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
❯

12-bit Rainbow の設定ファイル

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

12-bit Rainbow

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

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

palette = 0=#000000
palette = 1=#a03050
palette = 2=#40d080
palette = 3=#e09040
palette = 4=#3060b0
palette = 5=#603090
palette = 6=#0090c0
palette = 7=#dbded8
palette = 8=#685656
palette = 9=#c06060
palette = 10=#90d050
palette = 11=#e0d000
palette = 12=#00b0c0
palette = 13=#801070
palette = 14=#20b0c0
palette = 15=#ffffff
background = #040404
foreground = #feffff
cursor-color = #e0d000
cursor-text = #000000
selection-background = #606060
selection-foreground = #ffffff

12-bit Rainbow のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#040404rgb(4 4 4)hsl(0 0% 2%)oklch(10.7% 0.000 0)—
前景色foreground#feffffrgb(254 255 255)hsl(180 100% 100%)oklch(99.9% 0.001 197.1)20.47 AAA
カーソルcursor#e0d000rgb(224 208 0)hsl(56 100% 44%)oklch(84.4% 0.178 103.9)12.88 AAA
カーソルの文字cursorText#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.02 AA 未満
選択範囲selection#606060rgb(96 96 96)hsl(0 0% 38%)oklch(48.9% 0.000 0)3.26 AA(大きな文字)
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)20.50 AAA
黒color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.02 AA 未満
赤color1#a03050rgb(160 48 80)hsl(343 54% 41%)oklch(48.6% 0.148 7.4)2.96 AA 未満
緑color2#40d080rgb(64 208 128)hsl(147 61% 53%)oklch(76.3% 0.167 154.4)10.30 AAA
黄color3#e09040rgb(224 144 64)hsl(30 72% 56%)oklch(72.1% 0.135 62.5)8.04 AAA
青color4#3060b0rgb(48 96 176)hsl(218 57% 44%)oklch(49.9% 0.138 260.0)3.34 AA(大きな文字)
マゼンタcolor5#603090rgb(96 48 144)hsl(270 50% 38%)oklch(42.2% 0.153 303.4)2.27 AA 未満
シアンcolor6#0090c0rgb(0 144 192)hsl(195 100% 38%)oklch(61.3% 0.123 230.9)5.61 AA
白color7#dbded8rgb(219 222 216)hsl(90 8% 86%)oklch(89.7% 0.009 128.6)15.09 AAA
明るい黒color8#685656rgb(104 86 86)hsl(0 9% 37%)oklch(47.1% 0.024 18.0)2.98 AA 未満
明るい赤color9#c06060rgb(192 96 96)hsl(0 43% 56%)oklch(60.4% 0.124 21.4)4.96 AA
明るい緑color10#90d050rgb(144 208 80)hsl(90 58% 56%)oklch(78.8% 0.172 131.8)11.06 AAA
明るい黄color11#e0d000rgb(224 208 0)hsl(56 100% 44%)oklch(84.4% 0.178 103.9)12.88 AAA
明るい青color12#00b0c0rgb(0 176 192)hsl(185 100% 38%)oklch(69.2% 0.118 206.3)7.78 AAA
明るいマゼンタcolor13#801070rgb(128 16 112)hsl(309 78% 28%)oklch(41.7% 0.173 335.3)2.17 AA 未満
明るいシアンcolor14#20b0c0rgb(32 176 192)hsl(186 71% 44%)oklch(69.4% 0.113 206.9)7.84 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)20.50 AAA

12-bit Rainbow について

12-bit Rainbow はニュートラルのダーク背景(#040404)を採用し、標準の前景色に #feffff を使ったターミナル配色です。本文の WCAG コントラスト比は 20.47:1(AAA)、12 色の ANSI カラーは平均 6.60:1、最小 2.17:1 です。

パレット全体は適度な彩度で、赤 #a03050、緑 #40d080、青 #3060b0、マゼンタ #603090 を基調としています。

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

上流リポジトリでは同一パレットが 12 Bit Rainbow の名称でも公開されています

12-bit Rainbow に似た配色

データ出典:iTerm2 Color Schemes (CC0-1.0)