- Notifications
You must be signed in to change notification settings - Fork6.5k
Over 400 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty, Ghostty, and many more
License
mbadolato/iTerm2-Color-Schemes
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- Intro
- Installation Instructions
- Contribute
- Screenshots
- Credits
- Extra
- Previewing color schemes
- X11 Installation
- Konsole color schemes
- Terminator color schemes
- Mac OS Terminal color schemes
- PuTTY color schemes
- Xfce Terminal color schemes
- FreeBSD vt(4) color schemes
- MobaXterm color schemes
- LXTerminal color schemes
- Visual Studio Code color schemes
- Windows Terminal color schemes
- Alacritty color schemes
- Ghostty color schemes
- Termux color schemes
- Generic color schemes
This is a set of color schemes for iTerm (aka iTerm2). It also includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, Ghostty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty
Screenshots below and in thescreenshots directory.
There are 3 ways to install an iTerm theme:
Direct way via keyboard shortcut:
- Launch iTerm 2. Get the latest version atiterm2.com
- Type CMD+i (⌘+i)
- Navigate toColors tab
- Click onColor Presets
- Click onImport
- Click on theschemes folder
- Select the.itermcolors profiles you would like to import
- Click onColor Presets and choose a color scheme
Via iTerm preferences (go to the same configuration location as above):
- Launch iTerm 2. Get the latest version atiterm2.com
- Click oniTerm2 menu title
- SelectPreferences... option
- SelectProfiles
- Navigate toColors tab
- Click onColor Presets
- Click onImport
- Select the .itermcolors file(s) of theschemes you'd like to use * Click onColor Presets and choose a color scheme
Via Bash script
- Launch iTerm 2. Get the latest version atiterm2.com
- Run the following command:
# Import all color schemestools/import-scheme.sh schemes/*# Import all color schemes (verbose mode)tools/import-scheme.sh -v schemes/*# Import specific color schemes (quotations are needed for schemes with spaces in name)tools/import-scheme.sh'schemes/SpaceGray Eighties.itermcolors'# by file pathtools/import-scheme.sh'SpaceGray Eighties'# by scheme nametools/import-scheme.sh Molokai'SpaceGray Eighties'# import multiple
- Restart iTerm 2. (Need to quit iTerm 2 to reload the configuration file.)
If docker is installed, the scriptgenerate-all.sh
will do most of thesteps described inPrerequisits, except for the instructionsrelated topyenv
as this is not required in a docker container dedicated togenerating the required files.
With docker, there is no need to install python and its dependencies on yourcomputer.
The remaining manual tasks are to updateREADME.md
to include your theme andscreenshot, and to updateCREDITS.md
to credit yourself for your contribution.
In cases where new tools have to be tested,./generate-all.sh debug
will startan interactive terminal session inside the container.
- For convenient work with generation scripts, it is recommended to installpyenv.
- Run
pyenv install
inside project folder to install python version from.python-version
file. - Run
pip install -r requirements.txt
to install the project dependencies.
Have a great theme? Send it to me via a Pull Request!
- Get your theme's
.itermcolors
file.- Launch iTerm 2
- Type CMD+i (⌘+i)
- Navigate toColors tab
- Click onColor Presets
- Click onExport
- Save the .itermcolors file
- Adjust theColor Space
- Put your theme file into
/schemes/
mv <your-itermcolors-file> schemes/
- Continue with the "Create derived versions" below.
iTerm seems to store the colors in its color presets in P3 color space.The tools only can handle sRGB color space.To convert an.itermcolors
file int sRGB color space, use the providedp3tosRGB.py
tool:
python3 tools/p3tosRGB.py schemes/YOUR_SCHEME
When using Docker:
./generate-all.sh debugpython3 tools/p3tosRGB.py schemes/YOUR_SCHEME
This will overwrite your scheme with a converted version.
- Convert it to the YAML format specified in
yaml/README.md
.This is an extension of the format supported by theGogh project.- If it helps, you can use
tools/kitty_to_yaml.py
andtools/ghostty_to_yaml.py
.These tools accept configuration file streamed into stdin, and output a YAML fragment to stdout.
- If it helps, you can use
- Put the YAML file in
yaml/
, with the.yml
extension. - Continue with the "Create derived versions" below.
If you havemake
installed, steps 1 to 4 can be run withmake
from the root of the repository.
- Generate other formats for your theme using the
gen.py
script.python3 tools/gen.py
- If you only want to generate files for your theme, you can specify this with the
-s
flag.python3 tools/gen.py -s Dracula
- Generate a screenshot of your theme using the
screenshot_gen
tool.pushd tools && python3 -m screenshot_gen && popd
. This will generate new screenshots where they are missing.- If you have
oxipng
orzopflipng
installed, the screenshot will be optimized for you.
- Run
generate_screenshots_readme.py
to include your theme's screenshot in thescreenshots/README.md
file:python3 tools/generate_screenshots_readme.py
- Update
README.md
to include your theme and screenshot. Also updateCREDITS.md
to credit yourself for your contribution.
Do you want to convert existing iTerm themes to themes for your favorite terminal/editor/etc?
- Get config file from your terminal/editor/etc.
- Change actual colors in config to template placeholders from the list below.
{{ Background_Color }} {{ Bold_Color }} {{ Cursor_Color }} {{ Cursor_Text_Color }} {{ Foreground_Color }} {{ Selected_Text_Color }} {{ Selection_Color }} {{ Ansi_0_Color }} // black {{ Ansi_1_Color }} // red {{ Ansi_2_Color }} // green {{ Ansi_3_Color }} // yellow {{ Ansi_4_Color }} // blue {{ Ansi_5_Color }} // magenta {{ Ansi_6_Color }} // cyan {{ Ansi_7_Color }} // white {{ Ansi_8_Color }} // bright black {{ Ansi_9_Color }} // bright red {{ Ansi_10_Color }} // bright green {{ Ansi_11_Color }} // bright yellow {{ Ansi_12_Color }} // bright blue {{ Ansi_13_Color }} // bright magenta {{ Ansi_14_Color }} // bright cyan {{ Ansi_15_Color }} // bright white Each color has these fields: - {{ Background_Color.hex }} for hex representation - {{ Background_Color.rgb }} for rgb representation as a "(r, g, b)" string - {{ Backgroun_Color.guint16 }} for guint16 representation Also you have access to this metadata fields: - {{ Guint16_Palette }} with a string containing all ansi colors as guint16 values - {{ Dark_Theme }} which contains a sign that the theme is dark
- If you need a new value type for color, add it too
tools/converter.py
- Put your template file into
tool/templates
. A folder with schemas will be created based on the filename. And the file extension will remain with all generated ones. Example:editor.ext
file will generate schemas aseditor/scheme_name.ext
- Generate all existing themes for all templates
cd tools/ && ./gen.py
. Or, if you only want to generate schemas for your template, you can use the-t
flag.
./gen.py -t kitty
- If in the process you had to add new dependencies or update the version of python, do not forget to indicate this in
requirements.txt
or.python-version
.
Some applications assume the ANSI color code 8 is a gray color. Solarized treatsthis code as equal to the background. This theme is for people who prefer theformer. See issues#59,#62, and#63 formore information.
- The schemesNovel,Espresso,Grass,Homebrew,Ocean,Pro,Man Page,Red Sands, andTerminal Basic are ports of the schemes of the same name included with the Mac Terminal application. All of Terminal's schemes have now been ported, with the exception ofSolid Colors (random backgrounds, which iTerm doesn't support) andAerogel (which is hideous).
- The schemesiTerm2 Default,iTerm2 Dark Background,iTerm2 Light Background,iTerm2 Pastel (Dark Background),iTerm2 Smoooooth,iTerm2 Solarized Dark,iTerm2 Solarized Light,iTerm2 Tango Dark, andiTerm2 Tango Light are ports from the built-in color schemes of iTerm2 (current source is iTerm2 v3.4.19).
- Credits for all other themes are listed inCREDITS.md
If there are other color schemes you'd like to see included, drop me a line!
To install under theX Window System:
Import the .xrdb file of the scheme you'd like to use:
#include "/home/mbadolato/iTerm2-Color-Schemes/xrdb/Blazer.xrdb"
Use the
#define
s provided by the imported .xrdb file:Rxvtcolor0: Ansi_0_ColorRxvtcolor1: Ansi_1_ColorRxvtcolor2: Ansi_2_ColorRxvtcolor3: Ansi_3_ColorRxvtcolor4: Ansi_4_ColorRxvtcolor5: Ansi_5_ColorRxvtcolor6: Ansi_6_ColorRxvtcolor7: Ansi_7_ColorRxvtcolor8: Ansi_8_ColorRxvtcolor9: Ansi_9_ColorRxvtcolor10: Ansi_10_ColorRxvtcolor11: Ansi_11_ColorRxvtcolor12: Ansi_12_ColorRxvtcolor13: Ansi_13_ColorRxvtcolor14: Ansi_14_ColorRxvtcolor15: Ansi_15_ColorRxvtcolorBD: Bold_ColorRxvtcolorIT: Italic_ColorRxvtcolorUL: Underline_ColorRxvtforeground: Foreground_ColorRxvtbackground: Background_ColorRxvtcursorColor: Cursor_Color
XTermcolor0: Ansi_0_ColorXTermcolor1: Ansi_1_ColorXTermcolor2: Ansi_2_ColorXTermcolor3: Ansi_3_ColorXTermcolor4: Ansi_4_ColorXTermcolor5: Ansi_5_ColorXTermcolor6: Ansi_6_ColorXTermcolor7: Ansi_7_ColorXTermcolor8: Ansi_8_ColorXTermcolor9: Ansi_9_ColorXTermcolor10: Ansi_10_ColorXTermcolor11: Ansi_11_ColorXTermcolor12: Ansi_12_ColorXTermcolor13: Ansi_13_ColorXTermcolor14: Ansi_14_ColorXTermcolor15: Ansi_15_ColorXTermcolorBD: Bold_ColorXTermcolorIT: Italic_ColorXTermcolorUL: Underline_ColorXTermforeground: Foreground_ColorXTermbackground: Background_ColorXTermcursorColor: Cursor_Color
Store the above snippets in a file and pass it in:
xrdb -merge YOUR_FILE_CONTAINING_ABOVE_SNIPPETS
Open new XTerm or Rxvt windows to see the changes.
Adapt this procedure to other terminals as needed.
Edit your Terminator configuration file (located in:$HOME/.config/terminator/config
) and add the configurations for the theme(s) you'd like to use the[profiles]
section. Theterminator/
directory contains the config snippets you'll need. Just paste the configurations into the[profiles]
sections, and you're good to go!
At a minimum, this is all you need. You can customize the fonts and other aspects as well, if you wish. See the Terminator documentation for more details.
An example config file that includes the code snippet for the Symfonic theme would look like this:
[global_config] [keybindings] [profiles] [[default]]palette ="#1a1a1a:#f4005f:#98e024:#fa8419:#9d65ff:#f4005f:#58d1eb:#c4c5b5:#625e4c:#f4005f:#98e024:#e0d561:#9d65ff:#f4005f:#58d1eb:#f6f6ef"background_image = Noneuse_system_font = Falsecursor_color ="#f6f7ec"foreground_color ="#c4c5b5"font = Source Code Pro Light 11background_color ="#1a1a1a" [[Symfonic]]palette ="#000000:#dc322f:#56db3a:#ff8400:#0084d4:#b729d9:#ccccff:#ffffff:#1b1d21:#dc322f:#56db3a:#ff8400:#0084d4:#b729d9:#ccccff:#ffffff"background_color ="#000000"cursor_color ="#dc322f"foreground_color ="#ffffff"background_image = None [layouts] [[default]] [[[child1]]]type = Terminalparent = window0 [[[window0]]]type = Windowparent ="" [plugins]
Copy the themes from thekonsole
directory to$HOME/.config/konsole
(in some versions of KDE, the theme directory may be located at$HOME/.local/share/konsole
), restart Konsole and choose your new theme from the profile preferences window.
If you want to make the themes available to all users, copy the .colorscheme files to/usr/share/konsole
.
Just double click on selected theme interminal
directory
This method creates a new blank session with JUST colors set properly.
Download the appropriatecolorscheme.reg
file and import the registry changes by right-clicking and choosing Merge. Choose "Yes" when prompted if you're sure. Color scheme will show up as a new PuTTY session with all defaults except entries atWindow > Colours > Adjust the precise colours PuTTY displays
.
This method modifies an existing session and changes JUST the color settings.
Download the appropriatecolorscheme.reg
file. Open the file with a text editor and change the color scheme portion (Molokai
below) to match the session you want to modify:
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\Molokai]- CHANGE TO (EXAMPLE) -[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\root@localhost]
NOTE: Some special characters will need to be changed to their Percent-encoded representation (IE, Space as%20
). To quickly find the right session name view the top-level entries atHKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\
withregedit.exe
.
Window > Appearance Font: Consolas, bold, 14-point Font quality: ( ) Antialiased ( ) Non-Antialiased (O) ClearType ( ) DefaultWindow > Colours [X] Allow terminal to specify ANSI colours [X] Allow terminal to use xterm 256-colour mode Indicate bolded text by changing: ( ) The font (O) The colour ( ) Both [ ] Attempt to use logical palettes [ ] Use system colours
Copy thecolorschemes
folder to~/.local/share/xfce4/terminal/
and restart Terminal.
Append your favourite theme fromfreebsd_vt/
to/boot/loader.conf
or/boot/loader.conf.local
and reboot.
Copy the theme content frommobaxterm/
and paste the content to yourMobaXterm.ini
in the corresponding place ([Colors]
).
Copy the theme content fromlxterminal/
and paste the content to yourlxterminal
in the corresponding place ([general]
).
Copy the theme content fromvscode/
and paste the content to yourUserSettings.json.
Copy the theme content fromwindowsterminal/
and paste the content to yourprofiles.json
in the corresponding place ("schemes"
). Then specify the name of your theme by"colorScheme"
in"profiles"
.
Copy the theme content fromalacritty/
and paste the content to your alacritty config file, at~/.config/alacritty/alacritty.toml
. You can also set your theme by adding the following line at your config's 1st lineimport = ["~/.config/alacritty/themes/mytheme.toml"]
.
If you still need a color scheme with .yml, you can get ithere.
Copy the theme content fromghostty/
and paste the content in your Ghostty config file, at~/.config/ghostty/config
.
Copy the theme file fromrio/
and paste to your rio theme config directory (typically~/.config/rio/themes/
).Then specify the name of your theme in thetheme
field in theconfig file.
Copy the theme content fromtermux/
and paste the content to~/.termux
directory as~/.termux/colors.properties
file and runtermux-reload-settings
to apply the theme.
These schemes work with any terminal emulator with support for the OSC 4 escape code (including the Linux console, GNOME Terminal, and more).
Copy the shell script fromgeneric/
and paste the script to~/bin/set-colors.sh
, or wherever you prefer to put shell scripts.Then addbash ~/bin/set-colors.sh
to your shell's config file (~/.bashrc
,~/.zshrc
, etc).
preview.rb is a simple script that allows you to previewthe color schemes without having to import them. It parses .itermcolors filesand applies the colors to the current session usingiTerm's proprietaryescape codes. As noted inthe linked page, it doesn't run on tmux or screen.
# Apply AdventureTime scheme to the current sessiontools/preview.rb schemes/AdventureTime.itermcolors# Apply the schemes in turn.# - Press (almost) any key to advance; hit CTRL-C or ESC to stop# - Press the delete key to go backtools/preview.rb schemes/*
preview-generic.sh is a script which can previewthe themes in any terminal emulator which has support for the OSC 4 escapecodes. It works by running the shell scripts from thegeneric/
directory.
# Apply AdventureTime scheme to the current sessionbash generic/AdventureTime.sh# Apply the schemes in turn# - Press left/right arrow keys to navigate, press `q` to stop./tools/preview-generic.sh generic/*
iTerm Color Schemes | iTerm2 Color Schemes | iTerm 2 Color Schemes | iTerm Themes | iTerm2 Themes | iTerm 2 Themes
About
Over 400 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty, Ghostty, and many more
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.