本文へスキップ

Kokuban

Kokuban はダーク系のターミナル配色。背景色 #0d4a08、文字色 #d8e2d7、コントラスト比 7.9:1

設定を取得
背景色
#0d4a08
前景色
#d8e2d7
文字のコントラスト
7.89:1AAA
アクセントのコントラスト
5.04:1最小 2.35
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
❯

Kokuban の設定ファイル

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

Kokuban

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

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

palette = 0=#2e8744
palette = 1=#d84e4c
palette = 2=#95da5a
palette = 3=#d6e264
palette = 4=#4b9ed7
palette = 5=#945fc5
palette = 6=#d89b25
palette = 7=#d8e2d7
palette = 8=#34934f
palette = 9=#ff4f59
palette = 10=#aff56a
palette = 11=#fcff75
palette = 12=#57aeff
palette = 13=#ae63e9
palette = 14=#ffaa2b
palette = 15=#fffefe
background = #0d4a08
foreground = #d8e2d7
cursor-color = #d8e2d7
cursor-text = #0d4a08
selection-background = #436e3e
selection-foreground = #d8e2d7

Kokuban のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#0d4a08rgb(13 74 8)hsl(115 80% 16%)oklch(35.8% 0.112 142.0)—
前景色foreground#d8e2d7rgb(216 226 215)hsl(115 16% 86%)oklch(90.2% 0.018 142.8)7.89 AAA
カーソルcursor#d8e2d7rgb(216 226 215)hsl(115 16% 86%)oklch(90.2% 0.018 142.8)7.89 AAA
カーソルの文字cursorText#0d4a08rgb(13 74 8)hsl(115 80% 16%)oklch(35.8% 0.112 142.0)1.00 AA 未満
選択範囲selection#436e3ergb(67 110 62)hsl(114 28% 34%)oklch(49.4% 0.088 141.8)1.77 AA 未満
選択範囲の文字selectionText#d8e2d7rgb(216 226 215)hsl(115 16% 86%)oklch(90.2% 0.018 142.8)7.89 AAA
黒color0#2e8744rgb(46 135 68)hsl(135 49% 35%)oklch(55.4% 0.132 148.4)2.33 AA 未満
赤color1#d84e4crgb(216 78 76)hsl(1 64% 57%)oklch(61.1% 0.174 24.6)2.56 AA 未満
緑color2#95da5argb(149 218 90)hsl(92 63% 60%)oklch(81.6% 0.175 132.8)6.23 AA
黄color3#d6e264rgb(214 226 100)hsl(66 68% 64%)oklch(87.9% 0.150 114.0)7.46 AAA
青color4#4b9ed7rgb(75 158 215)hsl(204 64% 57%)oklch(67.2% 0.117 241.5)3.59 AA(大きな文字)
マゼンタcolor5#945fc5rgb(148 95 197)hsl(271 47% 57%)oklch(58.7% 0.157 306.1)2.35 AA 未満
シアンcolor6#d89b25rgb(216 155 37)hsl(40 71% 50%)oklch(73.0% 0.142 78.1)4.32 AA(大きな文字)
白color7#d8e2d7rgb(216 226 215)hsl(115 16% 86%)oklch(90.2% 0.018 142.8)7.89 AAA
明るい黒color8#34934frgb(52 147 79)hsl(137 48% 39%)oklch(59.0% 0.135 149.6)2.72 AA 未満
明るい赤color9#ff4f59rgb(255 79 89)hsl(357 100% 65%)oklch(67.7% 0.212 21.8)3.26 AA(大きな文字)
明るい緑color10#aff56argb(175 245 106)hsl(90 87% 69%)oklch(89.5% 0.185 131.6)8.05 AAA
明るい黄color11#fcff75rgb(252 255 117)hsl(61 100% 73%)oklch(97.1% 0.160 110.2)9.85 AAA
明るい青color12#57aeffrgb(87 174 255)hsl(209 100% 67%)oklch(73.2% 0.145 249.0)4.45 AA(大きな文字)
明るいマゼンタcolor13#ae63e9rgb(174 99 233)hsl(274 75% 65%)oklch(64.3% 0.200 307.5)2.88 AA 未満
明るいシアンcolor14#ffaa2brgb(255 170 43)hsl(36 100% 58%)oklch(80.3% 0.162 70.8)5.52 AA
明るい白color15#fffefergb(255 254 254)hsl(0 100% 100%)oklch(99.8% 0.001 17.2)10.43 AAA

Kokuban について

Kokuban はニュートラルのダーク背景(#0d4a08)を採用し、標準の前景色に #d8e2d7 を使ったターミナル配色です。本文の WCAG コントラスト比は 7.89:1(AAA)、12 色の ANSI カラーは平均 5.04:1、最小 2.35:1 です。

パレット全体は適度な彩度で、赤 #d84e4c、緑 #95da5a、青 #4b9ed7、マゼンタ #945fc5 を基調としています。

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

Kokuban に似た配色

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