List of 256 color codes for Xterm including an example of the color, Xterm Name, Xterm Number, HEX, RGB and HSL code.
Branch: master
Clone or download

256 Colors Cheat Sheet

Errata Exists: There seem to be duplicate color names in the list, and there are clashes between web and X11 colors in the CSS color scheme, as described here. Beware.

Comprehensive list of all 256 color codes for Xterm including:

  • color examples
  • Xterm Name
  • Xterm Number
  • HEX code
  • RGB code
  • HSL code


256 Color Codes Cheat Sheet


Warranty and Liability

The 256 color cheat sheet is a small, private project. The author makes absolutely no claims and representations to warranties regarding the accuracy or completeness of the information provided. However, you can use the information in this repository AT YOUR OWN RISK.


Colors by Jonas Jacek is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Permissions beyond the scope of this license may be available upon request at


Found a mistake? Open an issue or send a pull request! Want to help in another way? Contact me!