本文へスキップ

DotGov

DotGov はダーク系のターミナル配色(寒色)。背景色 #252b35、文字色 #eaeaea、コントラスト比 11.8:1

設定を取得
背景色
#252b35
前景色
#eaeaea
文字のコントラスト
11.83:1AAA
アクセントのコントラスト
5.05:1最小 1.91
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
❯

DotGov の設定ファイル

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

DotGov

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

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

palette = 0=#181818
palette = 1=#bf081d
palette = 2=#3d9751
palette = 3=#f6bb33
palette = 4=#16b1df
palette = 5=#772fb0
palette = 6=#8bd1ed
palette = 7=#ffffff
palette = 8=#181818
palette = 9=#bf081d
palette = 10=#3d9751
palette = 11=#f6bb33
palette = 12=#16b1df
palette = 13=#772fb0
palette = 14=#8bd1ed
palette = 15=#ffffff
background = #252b35
foreground = #eaeaea
cursor-color = #d9002f
cursor-text = #252b35
selection-background = #194080
selection-foreground = #252b35

DotGov のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#252b35rgb(37 43 53)hsl(218 18% 18%)oklch(28.8% 0.020 260.6)—
前景色foreground#eaeaeargb(234 234 234)hsl(0 0% 92%)oklch(93.7% 0.000 0)11.83 AAA
カーソルcursor#d9002frgb(217 0 47)hsl(347 100% 43%)oklch(55.9% 0.225 22.4)2.70 AA 未満
カーソルの文字cursorText#252b35rgb(37 43 53)hsl(218 18% 18%)oklch(28.8% 0.020 260.6)1.00 AA 未満
選択範囲selection#194080rgb(25 64 128)hsl(217 67% 30%)oklch(38.2% 0.117 259.9)1.41 AA 未満
選択範囲の文字selectionText#252b35rgb(37 43 53)hsl(218 18% 18%)oklch(28.8% 0.020 260.6)1.00 AA 未満
黒color0#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)1.25 AA 未満
赤color1#bf081drgb(191 8 29)hsl(353 92% 39%)oklch(50.9% 0.203 25.6)2.21 AA 未満
緑color2#3d9751rgb(61 151 81)hsl(133 42% 42%)oklch(60.5% 0.135 148.3)3.89 AA(大きな文字)
黄color3#f6bb33rgb(246 187 51)hsl(42 92% 58%)oklch(82.5% 0.156 83.2)8.18 AAA
青color4#16b1dfrgb(22 177 223)hsl(194 82% 48%)oklch(70.9% 0.132 225.6)5.68 AA
マゼンタcolor5#772fb0rgb(119 47 176)hsl(273 58% 44%)oklch(47.4% 0.194 305.5)1.91 AA 未満
シアンcolor6#8bd1edrgb(139 209 237)hsl(197 73% 74%)oklch(82.4% 0.080 225.2)8.43 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.23 AAA
明るい黒color8#181818rgb(24 24 24)hsl(0 0% 9%)oklch(20.9% 0.000 0)1.25 AA 未満
明るい赤color9#bf081drgb(191 8 29)hsl(353 92% 39%)oklch(50.9% 0.203 25.6)2.21 AA 未満
明るい緑color10#3d9751rgb(61 151 81)hsl(133 42% 42%)oklch(60.5% 0.135 148.3)3.89 AA(大きな文字)
明るい黄color11#f6bb33rgb(246 187 51)hsl(42 92% 58%)oklch(82.5% 0.156 83.2)8.18 AAA
明るい青color12#16b1dfrgb(22 177 223)hsl(194 82% 48%)oklch(70.9% 0.132 225.6)5.68 AA
明るいマゼンタcolor13#772fb0rgb(119 47 176)hsl(273 58% 44%)oklch(47.4% 0.194 305.5)1.91 AA 未満
明るいシアンcolor14#8bd1edrgb(139 209 237)hsl(197 73% 74%)oklch(82.4% 0.080 225.2)8.43 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.23 AAA

DotGov について

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

パレット全体は適度な彩度で、赤 #bf081d、緑 #3d9751、青 #16b1df、マゼンタ #772fb0 を基調としています。

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

DotGov に似た配色

データ出典:Kitty Themes (MIT)