本文へスキップ

Hardcore

Hardcore はダーク系のターミナル配色。背景色 #121212、文字色 #a0a0a0、コントラスト比 7.2:1

設定を取得
背景色
#121212
前景色
#a0a0a0
文字のコントラスト
7.16:1AAA
アクセントのコントラスト
8.83:1最小 3.65
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
❯

Hardcore の設定ファイル

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

Hardcore

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

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

palette = 0=#1b1d1e
palette = 1=#f92672
palette = 2=#a6e22e
palette = 3=#fd971f
palette = 4=#66d9ef
palette = 5=#9e6ffe
palette = 6=#5e7175
palette = 7=#ccccc6
palette = 8=#505354
palette = 9=#ff669d
palette = 10=#beed5f
palette = 11=#e6db74
palette = 12=#66d9ef
palette = 13=#9e6ffe
palette = 14=#a3babf
palette = 15=#f8f8f2
background = #121212
foreground = #a0a0a0
cursor-color = #bbbbbb
cursor-text = #ffffff
selection-background = #453b39
selection-foreground = #b6bbc0

Hardcore のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#121212rgb(18 18 18)hsl(0 0% 7%)oklch(18.2% 0.000 0)—
前景色foreground#a0a0a0rgb(160 160 160)hsl(0 0% 63%)oklch(70.6% 0.000 0)7.16 AAA
カーソルcursor#bbbbbbrgb(187 187 187)hsl(0 0% 73%)oklch(79.2% 0.000 0)9.76 AAA
カーソルの文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)18.73 AAA
選択範囲selection#453b39rgb(69 59 57)hsl(10 10% 25%)oklch(36.2% 0.014 31.2)1.73 AA 未満
選択範囲の文字selectionText#b6bbc0rgb(182 187 192)hsl(210 7% 73%)oklch(79.0% 0.009 247.9)9.69 AAA
黒color0#1b1d1ergb(27 29 30)hsl(200 5% 11%)oklch(22.9% 0.004 229.0)1.11 AA 未満
赤color1#f92672rgb(249 38 114)hsl(338 95% 56%)oklch(64.2% 0.240 7.5)4.95 AA
緑color2#a6e22ergb(166 226 46)hsl(80 76% 53%)oklch(84.1% 0.204 127.3)12.08 AAA
黄color3#fd971frgb(253 151 31)hsl(32 98% 56%)oklch(76.7% 0.168 62.4)8.58 AAA
青color4#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)11.36 AAA
マゼンタcolor5#9e6ffergb(158 111 254)hsl(260 99% 72%)oklch(65.7% 0.204 295.4)5.49 AA
シアンcolor6#5e7175rgb(94 113 117)hsl(190 11% 41%)oklch(53.5% 0.023 211.8)3.65 AA(大きな文字)
白color7#ccccc6rgb(204 204 198)hsl(60 6% 79%)oklch(84.4% 0.008 106.6)11.61 AAA
明るい黒color8#505354rgb(80 83 84)hsl(195 2% 32%)oklch(44.0% 0.004 219.6)2.41 AA 未満
明るい赤color9#ff669drgb(255 102 157)hsl(338 100% 70%)oklch(71.7% 0.192 0.8)6.81 AA
明るい緑color10#beed5frgb(190 237 95)hsl(80 80% 65%)oklch(88.5% 0.176 125.3)13.80 AAA
明るい黄color11#e6db74rgb(230 219 116)hsl(54 70% 68%)oklch(87.9% 0.125 103.2)13.16 AAA
明るい青color12#66d9efrgb(102 217 239)hsl(190 81% 67%)oklch(82.7% 0.108 212.0)11.36 AAA
明るいマゼンタcolor13#9e6ffergb(158 111 254)hsl(260 99% 72%)oklch(65.7% 0.204 295.4)5.49 AA
明るいシアンcolor14#a3babfrgb(163 186 191)hsl(191 18% 69%)oklch(77.3% 0.026 212.3)9.22 AAA
明るい白color15#f8f8f2rgb(248 248 242)hsl(60 30% 96%)oklch(97.7% 0.008 106.5)17.57 AAA

Hardcore について

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

パレット全体は適度な彩度で、赤 #f92672、緑 #a6e22e、青 #66d9ef、マゼンタ #9e6ffe を基調としています。

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

Hardcore に似た配色

データ出典:iTerm2 Color Schemes (MIT)