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, Otty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty, Vim
Screenshots below and in the screenshots directory.
There are 3 ways to install an iTerm theme:
Direct way via keyboard shortcut:
Launch iTerm 2. Get the latest version at iterm2.com
Click on Color Presets and choose a color scheme
Via iTerm preferences (go to the same configuration location as above):
Launch iTerm 2. Get the latest version at iterm2.com
Select the .itermcolors file(s) of the schemes you'd like to use * Click on Color Presets and choose a color scheme
Via Bash script
Launch iTerm 2. Get the latest version at iterm2.com
```sh # Import all color schemes tools/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 path tools/import-scheme.sh 'SpaceGray Eighties' # by scheme name tools/import-scheme.sh Molokai 'SpaceGray Eighties' # import multiple ```
If docker is installed, the script generate-all.sh will do most of the
steps described in Prerequisites, except for the instructions
related to pyenv as this is not required in a docker container dedicated to
generating the required files.
With docker, there is no need to install python and its dependencies on your computer.
The remaining manual tasks are to update README.md to include your theme and
screenshot, and to update CREDITS.md to credit yourself for your contribution.
In cases where new tools have to be tested, ./generate-all.sh debug will start
an interactive terminal session inside the container.
pyenv install inside project folder to install python version from .python-version file.pip install -r requirements.txt to install the project dependencies.Have a great theme? Send it to me via a Pull Request!
Name source files exactly as the theme should be displayed. Use the human-readable name — no slugification, no replacing spaces with underscores.
schemes/Your Theme Name.itermcolorsyaml/Your Theme Name.yml (see yaml/README.md)Quote names with spaces in shell commands: python3 tools/gen.py -s "Your Theme Name".
.itermcolors file.
- Launch iTerm 2
- Type CMD+i (⌘+i)
- Navigate to Colors tab
- Click on Color Presets
- Click on Export
- Save the .itermcolors file/schemes/, named as you want it displayed.
- mv <your-itermcolors-file> schemes/"Your Theme Name.itermcolors"tools/kitty_to_yaml.py and tools/ghostty_to_yaml.py.
These tools accept configuration file streamed into stdin, and output a YAML fragment to stdout.yaml/ as Your Theme Name.yml.gen.py script.
- python3 tools/gen.py -s "Your Theme Name".itermcolors only; YAML themes must be generated first).
- python3 tools/wcag_check.py -s "Your Theme Name"
- Failing checks are OK — gen.py may adjust colors during generation to meet the minimum contrast threshold (1.75:1).screenshot_gen tool.
- pushd tools && python3 -m screenshot_gen && popd. This will generate new screenshots where they are missing.
- If you have oxipng or zopflipng installed, the screenshot will be optimized for you.licenses.yml, under its display name:yaml
Your Theme Name:
license: MIT
source: https://github.com/you/your-theme
license is an SPDX identifier. Use unknown if there is no licence and nonfree if the licence does not allow redistribution.source links to where the theme or its licence comes from (use '' if there is none). An optional note can explain anything unusual.
2. Check the file with python3 tools/check_licenses.py. A pull request that adds a theme without an entry fails this check.Scripts that add, rename or remove themes (such as the daily sync) can keep licenses.yml in step with tools/set_license.py, which leaves every other entry untouched and keeps the alphabetical order:
python3 tools/set_license.py set "Your Theme Name" --license MIT --source https://github.com/you/your-themepython3 tools/set_license.py rename "Old Name" "New Name"python3 tools/set_license.py remove "Old Name"CREDITS.md (optional)CREDITS.md to credit yourself for your contribution.licenses.yml records the licence of every theme. Packagers who can only ship themes with a known open licence can generate that subset into a directory of their choice, leaving out every theme marked unknown or nonfree:
cd tools/ && python3 gen.py --redistributable -o /path/to/outputWithout --redistributable and -o, gen.py behaves as before and writes every theme into the repository.
Do you want to convert existing iTerm themes to themes for your favorite terminal/editor/etc?
{{ 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
tools/converter.pytool/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 as editor/scheme_name.extcd tools/ && ./gen.py. Or, if you only want to generate schemas for your template, you can use the -t flag../gen.py -t kittyrequirements.txt or .python-version.The screenshots are categorized.

![Screenshot](https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/HEAD/screenshots/12-bit-rainbow
| 日期 | 榜单 | 排名 | 周期新增 | 总 STAR |
|---|