本文へスキップ

Decaf

Decaf はダーク系のターミナル配色(パステル)。背景色 #2d2d2d、文字色 #cccccc、コントラスト比 8.6:1

設定を取得
背景色
#2d2d2d
前景色
#cccccc
文字のコントラスト
8.58:1AAA
アクセントのコントラスト
8.15:1最小 5.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
❯

Decaf の設定ファイル

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

Decaf

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

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

palette = 0=#2d2d2d
palette = 1=#ff7f7b
palette = 2=#beda78
palette = 3=#ffd67c
palette = 4=#90bee1
palette = 5=#efb3f7
palette = 6=#bed6ff
palette = 7=#cccccc
palette = 8=#777777
palette = 9=#ff7f7b
palette = 10=#beda78
palette = 11=#ffd67c
palette = 12=#90bee1
palette = 13=#efb3f7
palette = 14=#bed6ff
palette = 15=#ffffff
background = #2d2d2d
foreground = #cccccc
cursor-color = #cccccc
cursor-text = #2d2d2d
selection-background = #515151
selection-foreground = #cccccc

Decaf のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#2d2d2drgb(45 45 45)hsl(0 0% 18%)oklch(29.7% 0.000 0)—
前景色foreground#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)8.58 AAA
カーソルcursor#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)8.58 AAA
カーソルの文字cursorText#2d2d2drgb(45 45 45)hsl(0 0% 18%)oklch(29.7% 0.000 0)1.00 AA 未満
選択範囲selection#515151rgb(81 81 81)hsl(0 0% 32%)oklch(43.5% 0.000 0)1.74 AA 未満
選択範囲の文字selectionText#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)8.58 AAA
黒color0#2d2d2drgb(45 45 45)hsl(0 0% 18%)oklch(29.7% 0.000 0)1.00 AA 未満
赤color1#ff7f7brgb(255 127 123)hsl(2 100% 74%)oklch(74.2% 0.157 23.4)5.62 AA
緑color2#beda78rgb(190 218 120)hsl(77 57% 66%)oklch(84.6% 0.128 122.2)8.85 AAA
黄color3#ffd67crgb(255 214 124)hsl(41 100% 74%)oklch(89.3% 0.118 85.5)9.94 AAA
青color4#90bee1rgb(144 190 225)hsl(206 57% 72%)oklch(78.1% 0.070 241.6)6.98 AA
マゼンタcolor5#efb3f7rgb(239 179 247)hsl(293 81% 84%)oklch(84.4% 0.113 322.5)8.17 AAA
シアンcolor6#bed6ffrgb(190 214 255)hsl(218 100% 87%)oklch(87.2% 0.063 261.1)9.35 AAA
白color7#ccccccrgb(204 204 204)hsl(0 0% 80%)oklch(84.5% 0.000 0)8.58 AAA
明るい黒color8#777777rgb(119 119 119)hsl(0 0% 47%)oklch(56.9% 0.000 0)3.08 AA(大きな文字)
明るい赤color9#ff7f7brgb(255 127 123)hsl(2 100% 74%)oklch(74.2% 0.157 23.4)5.62 AA
明るい緑color10#beda78rgb(190 218 120)hsl(77 57% 66%)oklch(84.6% 0.128 122.2)8.85 AAA
明るい黄color11#ffd67crgb(255 214 124)hsl(41 100% 74%)oklch(89.3% 0.118 85.5)9.94 AAA
明るい青color12#90bee1rgb(144 190 225)hsl(206 57% 72%)oklch(78.1% 0.070 241.6)6.98 AA
明るいマゼンタcolor13#efb3f7rgb(239 179 247)hsl(293 81% 84%)oklch(84.4% 0.113 322.5)8.17 AAA
明るいシアンcolor14#bed6ffrgb(190 214 255)hsl(218 100% 87%)oklch(87.2% 0.063 261.1)9.35 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)13.77 AAA

Decaf について

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

パレット全体は適度な彩度で、赤 #ff7f7b、緑 #beda78、青 #90bee1、マゼンタ #efb3f7 を基調としています。

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

Decaf に似た配色

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