Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I change the colors in a Cygwin mintty session which is already open? Is it possible?

Use case:

Under environment-imposed time constraints, multiple terminal windows have been opened without forethought. In order to reduce the risk of typing the commands for system A into the terminal for system B, it would be nice if they were different colors. Is there some escape sequence or whatnot that can change the color scheme for a running session?

share|improve this question
up vote 5 down vote accepted

See here:

share|improve this answer
this didnt work in mintty 1.0.1, but I upgraded to 1.0.2 and can now change on the fly :) – thetoolman Apr 11 '12 at 22:06

You can set the colours in the ~/.minttyrc file. Even better you can get a prebuilt theme from here:

Here is what I have in my ~/.minttyrc file:


ForegroundColour=131, 148, 150
BackgroundColour= 0, 43, 54
CursorColour= 220, 50, 47
Black= 7, 54, 66
BoldBlack= 0, 43, 54
Red= 220, 50, 47
BoldRed= 203, 75, 22
Green= 86, 222, 99
BoldGreen= 11, 170, 34
Yellow= 250, 250, 0
BoldYellow= 250, 246, 172
Blue= 38, 139, 210
BoldBlue= 13, 148, 150
Magenta= 211, 54, 130
BoldMagenta= 108, 113, 196
Cyan= 115, 205, 204
BoldCyan= 180, 212, 212
White= 238, 232, 213
BoldWhite= 253, 246, 227

And here is the result:

Mintty screenshot

share|improve this answer

It turns out that mintty has a menu, and one of the choices is Options

a color picker

share|improve this answer
This only allows edits of 3 colors, not the full ANSI pallette. Currently you need to use the xterm control sequences to edit the other colors, as ak2s link suggests. – thetoolman Apr 11 '12 at 21:17

As a weekend project, I just created mintty-colors, that can be used to switch between color schemes on the fly.

It comes with a few predefined themes, and you can add additional themes by creating a config file in your home directory.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.