# Emacs ANSI colors

DevFeed: [Emacs ANSI colors](<https://devfeed.tech/articles/emacs-ansi-colors-34426.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2011/07/emacs-ansi-colors/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2011-07-29T08:00:00Z

Content type: tutorial

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [Emacs](<https://devfeed.tech/topics/emacs.md>), [color](<https://devfeed.tech/topics/color.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [ssh](<https://devfeed.tech/topics/ssh.md>)

Tags: [color](<https://devfeed.tech/tags/color.md>), [emacs](<https://devfeed.tech/tags/emacs.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

## AI overview

A tutorial on improving the readability of ANSI colors in Emacs's M-x term terminal emulator when using the Tango color theme. It addresses the problem of an unreadable default ANSI blue palette color.

## Source excerpt

Emacs comes with a pretty good implementation of a terminal emulator, M-x term. Well not that good actually, but given what I use it for, it's just what I need. Particulary if you add to that my cssh tool, so that connecting with ssh to a remote host is just a =C-= runs the command cssh-term-remote-open away, and completes on the host name thanks to ~/.ssh/known_hosts. Now, a problem that I still had to solve was the colors used in the terminal. As I'm using the tango color theme for emacs, the default ANSI palette's blue color was not readable. Here's how to fix that: