本文へスキップ

GitLab Dark

GitLab Dark はダーク系のターミナル配色。背景色 #28262b、文字色 #ffffff、コントラスト比 15.0:1

設定を取得
背景色
#28262b
前景色
#ffffff
文字のコントラスト
14.97:1AAA
アクセントのコントラスト
7.22:1最小 4.29
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
❯

GitLab Dark の設定ファイル

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

GitLab Dark

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

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

palette = 0=#000000
palette = 1=#f57f6c
palette = 2=#52b87a
palette = 3=#d99530
palette = 4=#7fb6ed
palette = 5=#f88aaf
palette = 6=#32c5d2
palette = 7=#ffffff
palette = 8=#666666
palette = 9=#fcb5aa
palette = 10=#91d4a8
palette = 11=#e9be74
palette = 12=#498dd1
palette = 13=#fcacc5
palette = 14=#5edee3
palette = 15=#ffffff
background = #28262b
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #ffffff
selection-background = #ad95e9
selection-foreground = #28262b

GitLab Dark のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#28262brgb(40 38 43)hsl(264 6% 16%)oklch(27.3% 0.010 303.8)—
前景色foreground#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.97 AAA
カーソルcursor#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.97 AAA
カーソルの文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.97 AAA
選択範囲selection#ad95e9rgb(173 149 233)hsl(257 66% 75%)oklch(72.3% 0.122 296.4)5.88 AA
選択範囲の文字selectionText#28262brgb(40 38 43)hsl(264 6% 16%)oklch(27.3% 0.010 303.8)1.00 AA 未満
黒color0#000000rgb(0 0 0)hsl(0 0% 0%)oklch(0.0% 0.000 0)1.40 AA 未満
赤color1#f57f6crgb(245 127 108)hsl(8 87% 69%)oklch(72.6% 0.148 30.5)5.80 AA
緑color2#52b87argb(82 184 122)hsl(144 42% 52%)oklch(70.6% 0.132 154.3)6.06 AA
黄color3#d99530rgb(217 149 48)hsl(36 69% 52%)oklch(72.1% 0.137 72.2)5.91 AA
青color4#7fb6edrgb(127 182 237)hsl(210 75% 71%)oklch(75.9% 0.098 249.2)7.00 AAA
マゼンタcolor5#f88aafrgb(248 138 175)hsl(340 89% 76%)oklch(76.2% 0.139 359.4)6.59 AA
シアンcolor6#32c5d2rgb(50 197 210)hsl(185 64% 51%)oklch(75.5% 0.119 204.0)7.17 AAA
白color7#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.97 AAA
明るい黒color8#666666rgb(102 102 102)hsl(0 0% 40%)oklch(51.0% 0.000 0)2.61 AA 未満
明るい赤color9#fcb5aargb(252 181 170)hsl(8 93% 83%)oklch(83.7% 0.085 28.9)8.79 AAA
明るい緑color10#91d4a8rgb(145 212 168)hsl(141 44% 70%)oklch(81.3% 0.092 155.0)8.69 AAA
明るい黄color11#e9be74rgb(233 190 116)hsl(38 73% 68%)oklch(82.4% 0.105 80.1)8.62 AAA
明るい青color12#498dd1rgb(73 141 209)hsl(210 60% 55%)oklch(63.0% 0.124 250.4)4.29 AA(大きな文字)
明るいマゼンタcolor13#fcacc5rgb(252 172 197)hsl(341 93% 83%)oklch(82.8% 0.098 359.1)8.45 AAA
明るいシアンcolor14#5edee3rgb(94 222 227)hsl(182 70% 63%)oklch(83.2% 0.112 198.8)9.29 AAA
明るい白color15#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)14.97 AAA

GitLab Dark について

GitLab Dark はニュートラルのダーク背景(#28262b)を採用し、標準の前景色に #ffffff を使ったターミナル配色です。本文の WCAG コントラスト比は 14.97:1(AAA)、12 色の ANSI カラーは平均 7.22:1、最小 4.29:1 です。

パレット全体は適度な彩度で、赤 #f57f6c、緑 #52b87a、青 #7fb6ed、マゼンタ #f88aaf を基調としています。

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

GitLab Dark に似た配色

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