本文へスキップ

Dehydration

Dehydration はダーク系のターミナル配色。背景色 #333333、文字色 #cccccc、コントラスト比 7.9:1

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

Dehydration の設定ファイル

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

Dehydration

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

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

palette = 0=#333333
palette = 1=#ff5555
palette = 2=#5fd38d
palette = 3=#ff9955
palette = 4=#3771c8
palette = 5=#bc5fd3
palette = 6=#5fd3bc
palette = 7=#999999
palette = 8=#666666
palette = 9=#ff8080
palette = 10=#87deaa
palette = 11=#ffb380
palette = 12=#5f8dd3
palette = 13=#cd87de
palette = 14=#87decd
palette = 15=#cccccc
background = #333333
foreground = #cccccc
cursor-color = #cccccc
cursor-text = #333333
selection-background = #565656
selection-foreground = #cccccc

Dehydration のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)—
前景色foreground#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)7.87 AAA
カーソルcursor#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)7.87 AAA
カーソルの文字cursorText#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)1.00 AA 未満
選択範囲selection#565656rgb(86 86 86)hsl(0 0% 34%)oklch(45.3% 0.000 0)1.72 AA 未満
選択範囲の文字selectionText#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)7.87 AAA
黒color0#333333rgb(51 51 51)hsl(0 0% 20%)oklch(32.1% 0.000 0)1.00 AA 未満
赤color1#ff5555rgb(255 85 85)hsl(0 100% 67%)oklch(68.2% 0.206 24.4)4.02 AA(大きな文字)
緑color2#5fd38drgb(95 211 141)hsl(144 57% 60%)oklch(78.2% 0.146 154.5)6.73 AA
黄color3#ff9955rgb(255 153 85)hsl(24 100% 67%)oklch(77.7% 0.148 52.5)5.98 AA
青color4#3771c8rgb(55 113 200)hsl(216 57% 50%)oklch(55.5% 0.148 258.5)2.62 AA 未満
マゼンタcolor5#bc5fd3rgb(188 95 211)hsl(288 57% 60%)oklch(64.1% 0.189 319.3)3.44 AA(大きな文字)
シアンcolor6#5fd3bcrgb(95 211 188)hsl(168 57% 60%)oklch(79.4% 0.111 178.3)6.94 AA
白color7#999999rgb(153 153 153)hsl(0 0% 60%)oklch(68.3% 0.000 0)4.43 AA(大きな文字)
明るい黒color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.20 AA 未満
明るい赤color9#ff8080rgb(255 128 128)hsl(0 100% 75%)oklch(74.4% 0.155 21.5)5.21 AA
明るい緑color10#87deaargb(135 222 170)hsl(144 57% 70%)oklch(83.1% 0.112 156.7)7.86 AAA
明るい黄color11#ffb380rgb(255 179 128)hsl(24 100% 75%)oklch(82.8% 0.111 54.4)7.23 AAA
明るい青color12#5f8dd3rgb(95 141 211)hsl(216 57% 60%)oklch(64.1% 0.117 258.5)3.75 AA(大きな文字)
明るいマゼンタcolor13#cd87dergb(205 135 222)hsl(288 57% 70%)oklch(72.5% 0.143 319.6)4.88 AA
明るいシアンcolor14#87decdrgb(135 222 205)hsl(168 57% 70%)oklch(84.1% 0.088 180.2)8.04 AAA
明るい白color15#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)7.87 AAA

Dehydration について

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

パレット全体は適度な彩度で、赤 #ff5555、緑 #5fd38d、青 #3771c8、マゼンタ #bc5fd3 を基調としています。

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

Dehydration に似た配色

データ出典:Gogh (MIT OR Apache-2.0)