Colors
Basic Colors
Set the fundamental terminal colors:Colors can be specified as:
- Hex with hash:
#RRGGBB - Hex without hash:
RRGGBB - Named X11 colors:
black,white,red, etc.
Terminal Color Palette
Customize the 256-color palette:What palette indices should I set?
What palette indices should I set?
For most themes, you only need to set the first 16 colors (indices 0-15). Ghostty can automatically generate the extended palette (16-255) from these base colors.See the 256 colors cheat sheet for palette index definitions.
What is palette-generate?
What is palette-generate?
When enabled (default since 1.3.0), Ghostty automatically generates palette colors 16-255 from your base 16 ANSI colors:This creates a cohesive color scheme. Explicitly set colors via
palette are never overwritten.Palette Formats
Palette indices can be specified in multiple number formats:Themes
Using Themes
Ghostty includes many built-in themes:Theme Locations
Themes are searched in this order:- Absolute path (if specified)
$XDG_CONFIG_HOME/ghostty/themes/- Built-in themes directory
Light and Dark Themes
Specify different themes for light and dark mode:Whitespace around values is trimmed. Order doesn’t matter. Both light and dark must be specified.
Creating Custom Themes
Theme files are just Ghostty config files:Cursor
Cursor Colors
Cursor Style
Why does my cursor style change?
Why does my cursor style change?
Shell integration automatically sets the cursor to a bar at the prompt. Disable this with:Running programs can also request cursor styles via escape sequences (DECSCUSR).
Cursor Blinking
Cursor Opacity
Selection Colors
How do I disable selection?
How do I disable selection?
If not set, selection uses inverted window background/foreground colors (default behavior).
Background Customization
Background Opacity
macOS: Background opacity is disabled in native fullscreen mode. Changing this requires restarting Ghostty.
Background Blur
- macOS
- Linux
macOS 26.0+ supports native glass effects:
Background Image
What image formats are supported?
What image formats are supported?
Currently PNG and JPEG only. Other formats are not yet supported (as of 1.2.0).
Split and Window Styling
Unfocused Split Appearance
Split Divider
Color Space
Alpha Blending
Control how colors are blended:Which alpha blending should I use?
Which alpha blending should I use?
- native: Best default on macOS
- linear-corrected: Best default on Linux - eliminates color fringing without affecting text weight
- linear: Only if you want very thin/thick text rendering
Window Color Space
Window Theme
Control the window chrome theme:On macOS with
macos-titlebar-style = tabs or transparent, window theme is automatically set based on background luminosity.Contrast
Ensure readable text:Advanced Visual Settings
Window Padding Color
When does 'extend' disable?
When does 'extend' disable?
On primary screen (not Vim, etc.), extending is disabled if:
- Nearest row has default background cells
- Nearest row is a prompt (requires shell integration)
- Nearest row contains powerline characters
Search Colors
Color Resources
256 Color Chart
Terminal color palette reference
X11 Color Names
Named color reference
Built-in Themes
Browse included themes
WCAG Contrast
Accessibility guidelines