本文へスキップ

Hive Contrast

Hive Contrast はダーク系のターミナル配色(ハイコントラスト・落ち着いた)。背景色 #0f1016、文字色 #ffffff、コントラスト比 19.0:1

設定を取得
背景色
#0f1016
前景色
#ffffff
文字のコントラスト
18.99:1AAA
アクセントのコントラスト
9.72:1最小 2.88
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
❯

Hive Contrast の設定ファイル

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

Hive Contrast

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

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

palette = 0=#191b25
palette = 1=#ba0e2e
palette = 2=#7cb8ba
palette = 3=#6e81a0
palette = 4=#ffffff
palette = 5=#7cb8ba
palette = 6=#6e81a0
palette = 7=#ffffff
palette = 8=#2e3143
palette = 9=#e61f44
palette = 10=#bfdcdd
palette = 11=#acb7c8
palette = 12=#ffffff
palette = 13=#bfdcdd
palette = 14=#acb7c8
palette = 15=#ffffff
background = #0f1016
foreground = #ffffff
cursor-color = #f8f8f0
cursor-text = #ffffff
selection-background = #7cb8ba
selection-foreground = #ffffff

Hive Contrast のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#0f1016rgb(15 16 22)hsl(231 19% 7%)oklch(17.5% 0.013 277.6)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.99 AAA
カーソルcursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)17.79 AAA
カーソルの文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.99 AAA
選択範囲selection#7cb8bargb(124 184 186)hsl(182 31% 61%)oklch(74.2% 0.062 198.6)8.52 AAA
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.99 AAA
黒color0#191b25rgb(25 27 37)hsl(230 19% 12%)oklch(22.5% 0.020 275.9)1.11 AA 未満
赤color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)2.88 AA 未満
緑color2#7cb8bargb(124 184 186)hsl(182 31% 61%)oklch(74.2% 0.062 198.6)8.52 AAA
黄color3#6e81a0rgb(110 129 160)hsl(217 21% 53%)oklch(60.0% 0.053 260.1)4.80 AA
青color4#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.99 AAA
マゼンタcolor5#7cb8bargb(124 184 186)hsl(182 31% 61%)oklch(74.2% 0.062 198.6)8.52 AAA
シアンcolor6#6e81a0rgb(110 129 160)hsl(217 21% 53%)oklch(60.0% 0.053 260.1)4.80 AA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.99 AAA
明るい黒color8#2e3143rgb(46 49 67)hsl(231 19% 22%)oklch(31.8% 0.032 277.0)1.48 AA 未満
明るい赤color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.20 AA(大きな文字)
明るい緑color10#bfdcddrgb(191 220 221)hsl(182 31% 81%)oklch(87.4% 0.031 199.2)13.11 AAA
明るい黄color11#acb7c8rgb(172 183 200)hsl(216 20% 73%)oklch(77.6% 0.027 259.0)9.37 AAA
明るい青color12#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.99 AAA
明るいマゼンタcolor13#bfdcddrgb(191 220 221)hsl(182 31% 81%)oklch(87.4% 0.031 199.2)13.11 AAA
明るいシアンcolor14#acb7c8rgb(172 183 200)hsl(216 20% 73%)oklch(77.6% 0.027 259.0)9.37 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.99 AAA

Hive Contrast について

Hive Contrast は寒色寄りのダーク背景(#0f1016)を採用し、標準の前景色に #ffffff を使ったターミナル配色です。本文の WCAG コントラスト比は 18.99:1(AAA)、12 色の ANSI カラーは平均 9.72:1、最小 2.88:1 です。

パレット全体は彩度が控えめで、赤 #ba0e2e、緑 #7cb8ba、青 #ffffff、マゼンタ #7cb8ba を基調としています。

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

Hive Contrast に似た配色

データ出典:Rainglow (MIT)