本文へスキップ

Hackthebox

Hackthebox はダーク系のターミナル配色(パステル・寒色)。背景色 #1a2332、文字色 #a4b1cd、コントラスト比 7.3:1

設定を取得
背景色
#1a2332
前景色
#a4b1cd
文字のコントラスト
7.33:1AAA
アクセントのコントラスト
9.45:1最小 6.66
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
❯

Hackthebox の設定ファイル

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

Hackthebox

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

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

palette = 0=#616161
palette = 1=#ff8484
palette = 2=#c5f467
palette = 3=#ffcc5c
palette = 4=#5cb2ff
palette = 5=#cf8dfb
palette = 6=#5cecc6
palette = 7=#c5d1eb
palette = 8=#8e8e8e
palette = 9=#ffa0a0
palette = 10=#c1f080
palette = 11=#ffda8a
palette = 12=#84c5ff
palette = 13=#cfadfb
palette = 14=#18efc6
palette = 15=#dfe5ee
background = #1a2332
foreground = #a4b1cd
cursor-color = #a0ef00
cursor-text = #1a2332
selection-background = #394355
selection-foreground = #a4b1cd

Hackthebox のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1a2332rgb(26 35 50)hsl(218 32% 15%)oklch(25.5% 0.031 260.4)—
前景色foreground#a4b1cdrgb(164 177 205)hsl(221 29% 72%)oklch(76.0% 0.043 265.6)7.33 AAA
カーソルcursor#a0ef00rgb(160 239 0)hsl(80 100% 47%)oklch(86.7% 0.232 129.7)11.16 AAA
カーソルの文字cursorText#1a2332rgb(26 35 50)hsl(218 32% 15%)oklch(25.5% 0.031 260.4)1.00 AA 未満
選択範囲selection#394355rgb(57 67 85)hsl(219 20% 28%)oklch(38.1% 0.034 262.1)1.58 AA 未満
選択範囲の文字selectionText#a4b1cdrgb(164 177 205)hsl(221 29% 72%)oklch(76.0% 0.043 265.6)7.33 AAA
黒color0#616161rgb(97 97 97)hsl(0 0% 38%)oklch(49.3% 0.000 0)2.55 AA 未満
赤color1#ff8484rgb(255 132 132)hsl(0 100% 76%)oklch(75.1% 0.150 21.3)6.68 AA
緑color2#c5f467rgb(197 244 103)hsl(80 87% 68%)oklch(90.6% 0.176 125.3)12.41 AAA
黄color3#ffcc5crgb(255 204 92)hsl(41 100% 68%)oklch(87.0% 0.140 84.4)10.56 AAA
青color4#5cb2ffrgb(92 178 255)hsl(208 100% 68%)oklch(74.3% 0.140 247.9)6.97 AA
マゼンタcolor5#cf8dfbrgb(207 141 251)hsl(276 93% 77%)oklch(75.1% 0.166 310.6)6.66 AA
シアンcolor6#5cecc6rgb(92 236 198)hsl(164 79% 64%)oklch(85.5% 0.135 172.5)10.73 AAA
白color7#c5d1ebrgb(197 209 235)hsl(221 49% 85%)oklch(86.0% 0.038 265.8)10.29 AAA
明るい黒color8#8e8e8ergb(142 142 142)hsl(0 0% 56%)oklch(64.7% 0.000 0)4.82 AA
明るい赤color9#ffa0a0rgb(255 160 160)hsl(0 100% 81%)oklch(80.2% 0.114 19.9)8.11 AAA
明るい緑color10#c1f080rgb(193 240 128)hsl(85 79% 72%)oklch(89.8% 0.149 127.8)12.06 AAA
明るい黄color11#ffda8argb(255 218 138)hsl(41 100% 77%)oklch(90.2% 0.107 85.5)11.76 AAA
明るい青color12#84c5ffrgb(132 197 255)hsl(208 100% 76%)oklch(80.2% 0.106 246.5)8.58 AAA
明るいマゼンタcolor13#cfadfbrgb(207 173 251)hsl(266 91% 83%)oklch(80.5% 0.113 303.9)8.29 AAA
明るいシアンcolor14#18efc6rgb(24 239 198)hsl(169 87% 52%)oklch(85.1% 0.159 174.0)10.67 AAA
明るい白color15#dfe5eergb(223 229 238)hsl(216 31% 90%)oklch(92.0% 0.014 258.3)12.46 AAA

Hackthebox について

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

パレット全体は適度な彩度で、赤 #ff8484、緑 #c5f467、青 #5cb2ff、マゼンタ #cf8dfb を基調としています。

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

Hackthebox に似た配色

データ出典:Warp Themes (Apache-2.0)