本文へスキップ

Halflife Contrast

Halflife Contrast はダーク系のターミナル配色(トゥルーブラック)。背景色 #000000、文字色 #cccccc、コントラスト比 13.1:1

設定を取得
背景色
#000000
前景色
#cccccc
文字のコントラスト
13.08:1AAA
アクセントのコントラスト
9.46:1最小 3.19
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
❯

Halflife Contrast の設定ファイル

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

Halflife Contrast

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

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

palette = 0=#0d0d0d
palette = 1=#ba0e2e
palette = 2=#fc913a
palette = 3=#7d8991
palette = 4=#f9d423
palette = 5=#7d8991
palette = 6=#f85931
palette = 7=#d9d9d9
palette = 8=#262626
palette = 9=#e61f44
palette = 10=#fec99e
palette = 11=#b4bbc0
palette = 12=#fce786
palette = 13=#b4bbc0
palette = 14=#fba894
palette = 15=#f2f2f2
background = #000000
foreground = #cccccc
cursor-color = #f8f8f0
cursor-text = #cccccc
selection-background = #f85931
selection-foreground = #ffffff

Halflife Contrast のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)—
前景色foreground#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)13.08 AAA
カーソルcursor#f8f8f0rgb(248 248 240)hsl(60 36% 96%)oklch(97.7% 0.011 106.6)19.68 AAA
カーソルの文字cursorText#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)13.08 AAA
選択範囲selection#f85931rgb(248 89 49)hsl(12 93% 58%)oklch(67.1% 0.202 35.0)6.46 AA
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)21.00 AAA
黒color0#0d0d0drgb(13 13 13)hsl(0 0% 5%)oklch(15.9% 0.000 0)1.08 AA 未満
赤color1#ba0e2ergb(186 14 46)hsl(349 86% 39%)oklch(50.3% 0.196 21.1)3.19 AA(大きな文字)
緑color2#fc913argb(252 145 58)hsl(27 97% 61%)oklch(75.7% 0.161 55.5)9.25 AAA
黄color3#7d8991rgb(125 137 145)hsl(204 8% 53%)oklch(62.3% 0.019 236.9)5.86 AA
青color4#f9d423rgb(249 212 35)hsl(50 95% 56%)oklch(87.6% 0.174 95.6)14.47 AAA
マゼンタcolor5#7d8991rgb(125 137 145)hsl(204 8% 53%)oklch(62.3% 0.019 236.9)5.86 AA
シアンcolor6#f85931rgb(248 89 49)hsl(12 93% 58%)oklch(67.1% 0.202 35.0)6.46 AA
白color7#d9d9d9rgb(217 217 217)hsl(0 0% 85%)oklch(88.5% 0.000 0)14.88 AAA
明るい黒color8#262626rgb(38 38 38)hsl(0 0% 15%)oklch(26.9% 0.000 0)1.39 AA 未満
明るい赤color9#e61f44rgb(230 31 68)hsl(349 80% 51%)oklch(59.5% 0.225 19.4)4.64 AA
明るい緑color10#fec99ergb(254 201 158)hsl(27 98% 81%)oklch(87.3% 0.083 60.5)14.06 AAA
明るい黄color11#b4bbc0rgb(180 187 192)hsl(205 9% 73%)oklch(78.8% 0.011 238.6)10.81 AAA
明るい青color12#fce786rgb(252 231 134)hsl(49 95% 76%)oklch(92.5% 0.120 97.4)16.91 AAA
明るいマゼンタcolor13#b4bbc0rgb(180 187 192)hsl(205 9% 73%)oklch(78.8% 0.011 238.6)10.81 AAA
明るいシアンcolor14#fba894rgb(251 168 148)hsl(12 93% 78%)oklch(80.8% 0.103 34.2)11.13 AAA
明るい白color15#f2f2f2rgb(242 242 242)hsl(0 0% 95%)oklch(96.1% 0.000 0)18.76 AAA

Halflife Contrast について

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

パレット全体は適度な彩度で、赤 #ba0e2e、緑 #fc913a、青 #f9d423、マゼンタ #7d8991 を基調としています。

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

Halflife Contrast に似た配色

データ出典:Rainglow (MIT)