本文へスキップ

Cai

Cai はダーク系のターミナル配色(寒色)。背景色 #09111a、文字色 #d9e6f2、コントラスト比 15.0:1

設定を取得
背景色
#09111a
前景色
#d9e6f2
文字のコントラスト
14.96:1AAA
アクセントのコントラスト
8.21:1最小 2.71
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
❯

Cai の設定ファイル

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

Cai

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

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

palette = 0=#000000
palette = 1=#ca274d
palette = 2=#4dca27
palette = 3=#caa427
palette = 4=#274dca
palette = 5=#a427ca
palette = 6=#27caa4
palette = 7=#808080
palette = 8=#808080
palette = 9=#e98da3
palette = 10=#a3e98d
palette = 11=#e9d48d
palette = 12=#8da3e9
palette = 13=#d48de9
palette = 14=#8de9d4
palette = 15=#ffffff
background = #09111a
foreground = #d9e6f2
cursor-color = #d9e6f2
cursor-text = #09111a
selection-background = #353e49
selection-foreground = #d9e6f2

Cai のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#09111argb(9 17 26)hsl(212 49% 7%)oklch(17.4% 0.022 251.9)—
前景色foreground#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)14.96 AAA
カーソルcursor#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)14.96 AAA
カーソルの文字cursorText#09111argb(9 17 26)hsl(212 49% 7%)oklch(17.4% 0.022 251.9)1.00 AA 未満
選択範囲selection#353e49rgb(53 62 73)hsl(213 16% 25%)oklch(36.0% 0.023 253.6)1.75 AA 未満
選択範囲の文字selectionText#d9e6f2rgb(217 230 242)hsl(209 49% 90%)oklch(91.9% 0.022 245.9)14.96 AAA
黒color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.11 AA 未満
赤color1#ca274drgb(202 39 77)hsl(346 68% 47%)oklch(55.1% 0.196 14.3)3.53 AA(大きな文字)
緑color2#4dca27rgb(77 202 39)hsl(106 68% 47%)oklch(74.0% 0.222 139.9)8.85 AAA
黄color3#caa427rgb(202 164 39)hsl(46 68% 47%)oklch(73.3% 0.139 90.5)8.00 AAA
青color4#274dcargb(39 77 202)hsl(226 68% 47%)oklch(47.7% 0.198 265.9)2.71 AA 未満
マゼンタcolor5#a427cargb(164 39 202)hsl(286 68% 47%)oklch(54.6% 0.239 316.5)3.36 AA(大きな文字)
シアンcolor6#27caa4rgb(39 202 164)hsl(166 68% 47%)oklch(75.1% 0.138 171.9)9.10 AAA
白color7#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)4.80 AA
明るい黒color8#808080rgb(128 128 128)hsl(0 0% 50%)oklch(60.0% 0.000 0)4.80 AA
明るい赤color9#e98da3rgb(233 141 163)hsl(346 68% 73%)oklch(74.5% 0.114 4.8)7.95 AAA
明るい緑color10#a3e98drgb(163 233 141)hsl(106 68% 73%)oklch(86.6% 0.141 138.5)13.19 AAA
明るい黄color11#e9d48drgb(233 212 141)hsl(46 68% 73%)oklch(87.1% 0.093 93.5)12.89 AAA
明るい青color12#8da3e9rgb(141 163 233)hsl(226 68% 73%)oklch(72.6% 0.105 270.3)7.72 AAA
明るいマゼンタcolor13#d48de9rgb(212 141 233)hsl(286 68% 73%)oklch(74.7% 0.148 318.3)7.94 AAA
明るいシアンcolor14#8de9d4rgb(141 233 212)hsl(166 68% 73%)oklch(87.1% 0.094 177.7)13.32 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.98 AAA

Cai について

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

パレット全体は適度な彩度で、赤 #ca274d、緑 #4dca27、青 #274dca、マゼンタ #a427ca を基調としています。

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

Cai に似た配色

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