本文へスキップ

One Dark

One Dark はダーク系のターミナル配色(ソフト・寒色)。背景色 #1e2127、文字色 #5c6370、コントラスト比 2.7:1

設定を取得
背景色
#1e2127
前景色
#5c6370
文字のコントラスト
2.67:1AA 未満
アクセントのコントラスト
6.45:1最小 5.05
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
❯

One Dark の設定ファイル

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

One Dark

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

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

palette = 0=#000000
palette = 1=#e06c75
palette = 2=#98c379
palette = 3=#d19a66
palette = 4=#61afef
palette = 5=#c678dd
palette = 6=#56b6c2
palette = 7=#abb2bf
palette = 8=#5c6370
palette = 9=#e06c75
palette = 10=#98c379
palette = 11=#d19a66
palette = 12=#61afef
palette = 13=#c678dd
palette = 14=#56b6c2
palette = 15=#fffefe
background = #1e2127
foreground = #5c6370
cursor-color = #5c6370
cursor-text = #1e2127
selection-background = #2c3038
selection-foreground = #5c6370

One Dark のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#1e2127rgb(30 33 39)hsl(220 13% 14%)oklch(24.7% 0.012 264.3)—
前景色foreground#5c6370rgb(92 99 112)hsl(219 10% 40%)oklch(49.8% 0.022 262.9)2.67 AA 未満
カーソルcursor#5c6370rgb(92 99 112)hsl(219 10% 40%)oklch(49.8% 0.022 262.9)2.67 AA 未満
カーソルの文字cursorText#1e2127rgb(30 33 39)hsl(220 13% 14%)oklch(24.7% 0.012 264.3)1.00 AA 未満
選択範囲selection#2c3038rgb(44 48 56)hsl(220 12% 20%)oklch(30.9% 0.015 264.3)1.22 AA 未満
選択範囲の文字selectionText#5c6370rgb(92 99 112)hsl(219 10% 40%)oklch(49.8% 0.022 262.9)2.67 AA 未満
黒color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.30 AA 未満
赤color1#e06c75rgb(224 108 117)hsl(355 65% 65%)oklch(67.1% 0.145 17.0)5.05 AA
緑color2#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)8.00 AAA
黄color3#d19a66rgb(209 154 102)hsl(29 54% 61%)oklch(72.7% 0.095 63.8)6.55 AA
青color4#61afefrgb(97 175 239)hsl(207 82% 66%)oklch(73.0% 0.121 245.3)6.83 AA
マゼンタcolor5#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)5.48 AA
シアンcolor6#56b6c2rgb(86 182 194)hsl(187 47% 55%)oklch(72.3% 0.092 206.3)6.81 AA
白color7#abb2bfrgb(171 178 191)hsl(219 14% 71%)oklch(76.2% 0.020 263.0)7.57 AAA
明るい黒color8#5c6370rgb(92 99 112)hsl(219 10% 40%)oklch(49.8% 0.022 262.9)2.67 AA 未満
明るい赤color9#e06c75rgb(224 108 117)hsl(355 65% 65%)oklch(67.1% 0.145 17.0)5.05 AA
明るい緑color10#98c379rgb(152 195 121)hsl(95 38% 62%)oklch(76.8% 0.110 133.0)8.00 AAA
明るい黄color11#d19a66rgb(209 154 102)hsl(29 54% 61%)oklch(72.7% 0.095 63.8)6.55 AA
明るい青color12#61afefrgb(97 175 239)hsl(207 82% 66%)oklch(73.0% 0.121 245.3)6.83 AA
明るいマゼンタcolor13#c678ddrgb(198 120 221)hsl(286 60% 67%)oklch(69.4% 0.164 318.2)5.48 AA
明るいシアンcolor14#56b6c2rgb(86 182 194)hsl(187 47% 55%)oklch(72.3% 0.092 206.3)6.81 AA
明るい白color15#fffefergb(255 254 254)hsl(0 100% 100%)oklch(99.8% 0.001 17.2)16.02 AAA

One Dark について

One Dark は寒色寄りのダーク背景(#1e2127)を採用し、標準の前景色に #5c6370 を使ったターミナル配色です。本文の WCAG コントラスト比は 2.67:1(AA 未満)、12 色の ANSI カラーは平均 6.45:1、最小 5.05:1 です。

パレット全体は適度な彩度で、赤 #e06c75、緑 #98c379、青 #61afef、マゼンタ #c678dd を基調としています。One Dark & One Light テーマファミリーに属する配色です。

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

One Dark に似た配色

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