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.
Preview
Palette
ANSI
Base colors
Contrast
WCAG · vs #122738| Color | Hex | Ratio | Level |
|---|---|---|---|
| Foreground | #ffffff | 15.29:1 | AAA |
| Cursor | #ffffff | 15.29:1 | AAA |
| Selection | #0050a4 | 1.95:1 | — |
| black | #000000 | 1.37:1 | — |
| red | #ff628c | 5.37:1 | AA |
| green | #3ad900 | 8.09:1 | AAA |
| yellow | #ffc600 | 9.71:1 | AAA |
| blue | #0088ff | 4.34:1 | AA large |
| magenta | #fb94ff | 7.85:1 | AAA |
| cyan | #80fcff | 12.59:1 | AAA |
| white | #ffffff | 15.29:1 | AAA |
| brightBlack | #0050a4 | 1.95:1 | — |
| brightRed | #ff628c | 5.37:1 | AA |
| brightGreen | #3ad900 | 8.09:1 | AAA |
| brightYellow | #ffc600 | 9.71:1 | AAA |
| brightBlue | #0088ff | 4.34:1 | AA large |
| brightMagenta | #fb94ff | 7.85:1 | AAA |
| brightCyan | #80fcff | 12.59:1 | AAA |
| brightWhite | #ffffff | 15.29:1 | AAA |
Install for Ghostty
Documentation- Save the file to ~/.config/ghostty/themes/<name>.
- Add theme = <name> to ~/.config/ghostty/config.
- Reload Ghostty or open a new window.
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
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.
Similar themes
Similar themes
ΔE00 8.5
ΔE00 8.5
ΔE00 10.0
ΔE00 11.0