Ghostty · cobalt2 · dark · unknown

Cobalt2 Default for Ghostty

Cobalt2 Default for Ghostty: #122738 background, 15.3:1 body contrast, and the full 16-color ANSI palette. Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config. The same palette also exports to the other supported terminals.

Download themeAll terminalsOpen in editor

Preview

Palette

ANSI

black
red
green
yellow
blue
magenta
cyan
white
b.Black
b.Red
b.Green
b.Yellow
b.Blue
b.Magenta
b.Cyan
b.White

Base colors

Background
Foreground
Cursor
Selection

Contrast

WCAG · vs #122738
ColorHexRatioLevel
Foreground#ffffff15.29:1AAA
Cursor#ffffff15.29:1AAA
Selection#0050a41.95:1—
black#0000001.37:1—
red#ff628c5.37:1AA
green#3ad9008.09:1AAA
yellow#ffc6009.71:1AAA
blue#0088ff4.34:1AA large
magenta#fb94ff7.85:1AAA
cyan#80fcff12.59:1AAA
white#ffffff15.29:1AAA
brightBlack#0050a41.95:1—
brightRed#ff628c5.37:1AA
brightGreen#3ad9008.09:1AAA
brightYellow#ffc6009.71:1AAA
brightBlue#0088ff4.34:1AA large
brightMagenta#fb94ff7.85:1AAA
brightCyan#80fcff12.59:1AAA
brightWhite#ffffff15.29:1AAA

Install for Ghostty

Documentation
  1. Save the file to ~/.config/ghostty/themes/<name>.
  2. Add theme = <name> to ~/.config/ghostty/config.
  3. Reload Ghostty or open a new window.
One-line installcobalt2-default.conf
mkdir -p "$HOME/.config/ghostty/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/ghostty/cobalt2-default.conf" -o "$HOME/.config/ghostty/themes/cobalt2-default" && { grep -qxF 'theme = cobalt2-default' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'cobalt2-default' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.
Full configuration
background = #122738
foreground = #ffffff
cursor-color = #ffffff
cursor-text = #122738
selection-background = #0050a4
selection-foreground = #ffffff

palette = 0=#000000
palette = 1=#ff628c
palette = 2=#3ad900
palette = 3=#ffc600
palette = 4=#0088ff
palette = 5=#fb94ff
palette = 6=#80fcff
palette = 7=#ffffff
palette = 8=#0050a4
palette = 9=#ff628c
palette = 10=#3ad900
palette = 11=#ffc600
palette = 12=#0088ff
palette = 13=#fb94ff
palette = 14=#80fcff
palette = 15=#ffffff
Downloadcobalt2-default.conf

Let an agent install it

Give this prompt to your coding agent. It includes the Ghostty install page, native file, steps, and safety constraints.

Help me install the Cobalt2 Default theme for Ghostty on this machine.

Read the install page: https://terminalthemes.iwwi.app/ghostty/themes/cobalt2/default/
Native theme file: https://terminalthemes.iwwi.app/ports/ghostty/cobalt2-default.conf

Follow these steps:
1. Save the file to ~/.config/ghostty/themes/<name>.
2. Add theme = <name> to ~/.config/ghostty/config.
3. Reload Ghostty or open a new window.

One-line install:
mkdir -p "$HOME/.config/ghostty/themes" && curl -fsSL "https://terminalthemes.iwwi.app/ports/ghostty/cobalt2-default.conf" -o "$HOME/.config/ghostty/themes/cobalt2-default" && { grep -qxF 'theme = cobalt2-default' "$HOME/.config/ghostty/config" 2>/dev/null || printf '\ntheme = %s\n' 'cobalt2-default' >> "$HOME/.config/ghostty/config"; }
# Open a new Ghostty window.

Inspect and back up my existing configuration first. Change only what this theme needs; do not overwrite unrelated settings. Ask before changing my default theme. After installing, verify the file exists and tell me which files changed.

FAQ

Frequently asked questions

Where does the Cobalt2 Default theme go in Ghostty?

Save the file to ~/.config/ghostty/themes/<name>. Add theme = <name> to ~/.config/ghostty/config.

How do I install Cobalt2 Default in Ghostty?

Download the Cobalt2 Default configuration file from this page, run the one-line install command, or place the file in the Ghostty location above. Reload Ghostty or open a new window.

Does Cobalt2 Default keep its colors in Ghostty?

Yes. It uses #122738 for the background, #ffffff for the foreground, and the full 16-color ANSI palette, with 15.3:1 body contrast. Only the Ghostty file format changes.

Can I use Cobalt2 Default in another terminal?

Yes. The same palette exports to Herdr App, Ghostty, Alacritty, Kitty, iTerm2, and Windows Terminal; only the install path and file format change.