DEV Community

Cover image for I made a tool for looking up ANSI color code
Jack Lin
Jack Lin

Posted on

I made a tool for looking up ANSI color code

Repo: https://github.com/blueskyson/ANSI-escape-code-color

This small program can help me select ANSI color by specific numbers, then automatically generate color codes. Like the following picture:

Image description

  1. Execute ./aecc -f to look up font colors..
  2. Execute ./aecc -b to look up background colors.
  3. Execute ./aecc 10 1 to generate the code of green font and red background. If you want to generate a bold font, execute ./aecc B10 1.

This program is written in both cpp and python.

Top comments (0)