本文へスキップ

Flat

Flat はダーク系のターミナル配色(寒色)。背景色 #002240、文字色 #2cc55d、コントラスト比 7.1:1

設定を取得
背景色
#002240
前景色
#2cc55d
文字のコントラスト
7.10:1AAA
アクセントのコントラスト
4.26:1最小 1.88
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
❯

Flat の設定ファイル

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

Flat

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

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

palette = 0=#222d3f
palette = 1=#a82320
palette = 2=#32a548
palette = 3=#e58d11
palette = 4=#3167ac
palette = 5=#781aa0
palette = 6=#2c9370
palette = 7=#b0b6ba
palette = 8=#212c3c
palette = 9=#d4312e
palette = 10=#2d9440
palette = 11=#e5be0c
palette = 12=#3c7dd2
palette = 13=#8230a7
palette = 14=#35b387
palette = 15=#e7eced
background = #002240
foreground = #2cc55d
cursor-color = #e5be0c
cursor-text = #ffffff
selection-background = #792b9c
selection-foreground = #ffffff

Flat のパレット

パレット各スロットの色値と背景に対する WCAG コントラスト比
カラースロットHEXRGBHSLOKLCHコントラスト
背景色background#002240rgb(0 34 64)hsl(208 100% 13%)oklch(24.7% 0.069 249.3)—
前景色foreground#2cc55drgb(44 197 93)hsl(139 63% 47%)oklch(72.4% 0.191 148.8)7.10 AAA
カーソルcursor#e5be0crgb(229 190 12)hsl(49 90% 47%)oklch(81.2% 0.165 93.8)8.98 AAA
カーソルの文字cursorText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.12 AAA
選択範囲selection#792b9crgb(121 43 156)hsl(281 57% 39%)oklch(45.7% 0.180 313.1)2.03 AA 未満
選択範囲の文字selectionText#ffffffrgb(255 255 255)hsl(0 0% 100%)oklch(100.0% 0.000 0)16.12 AAA
黒color0#222d3frgb(34 45 63)hsl(217 30% 19%)oklch(29.6% 0.036 260.1)1.16 AA 未満
赤color1#a82320rgb(168 35 32)hsl(1 68% 39%)oklch(47.9% 0.170 27.4)2.25 AA 未満
緑color2#32a548rgb(50 165 72)hsl(131 53% 42%)oklch(63.7% 0.167 146.5)5.07 AA
黄color3#e58d11rgb(229 141 17)hsl(35 86% 48%)oklch(71.9% 0.157 66.0)6.26 AA
青color4#3167acrgb(49 103 172)hsl(214 56% 43%)oklch(51.2% 0.124 255.7)2.81 AA 未満
マゼンタcolor5#781aa0rgb(120 26 160)hsl(282 72% 36%)oklch(44.4% 0.200 312.6)1.88 AA 未満
シアンcolor6#2c9370rgb(44 147 112)hsl(160 54% 37%)oklch(59.6% 0.108 166.1)4.23 AA(大きな文字)
白color7#b0b6bargb(176 182 186)hsl(204 7% 71%)oklch(77.3% 0.009 236.6)7.86 AAA
明るい黒color8#212c3crgb(33 44 60)hsl(216 29% 18%)oklch(29.0% 0.033 257.7)1.14 AA 未満
明るい赤color9#d4312ergb(212 49 46)hsl(1 66% 51%)oklch(57.1% 0.200 27.1)3.28 AA(大きな文字)
明るい緑color10#2d9440rgb(45 148 64)hsl(131 53% 38%)oklch(58.9% 0.154 146.4)4.16 AA(大きな文字)
明るい黄color11#e5be0crgb(229 190 12)hsl(49 90% 47%)oklch(81.2% 0.165 93.8)8.98 AAA
明るい青color12#3c7dd2rgb(60 125 210)hsl(214 62% 53%)oklch(58.9% 0.146 256.2)3.88 AA(大きな文字)
明るいマゼンタcolor13#8230a7rgb(130 48 167)hsl(281 55% 42%)oklch(48.2% 0.187 313.1)2.25 AA 未満
明るいシアンcolor14#35b387rgb(53 179 135)hsl(159 54% 45%)oklch(68.7% 0.127 165.2)6.10 AA
明るい白color15#e7ecedrgb(231 236 237)hsl(190 14% 92%)oklch(94.0% 0.006 211.0)13.52 AAA

Flat について

Flat は寒色寄りのダーク背景(#002240)を採用し、標準の前景色に #2cc55d を使ったターミナル配色です。本文の WCAG コントラスト比は 7.10:1(AAA)、12 色の ANSI カラーは平均 4.26:1、最小 1.88:1 です。

パレット全体は適度な彩度で、赤 #a82320、緑 #32a548、青 #3167ac、マゼンタ #781aa0 を基調としています。

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

Flat に似た配色

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