https://github.com/blueskyson/ansi-escape-code-color
ANSI escape code color lookup
https://github.com/blueskyson/ansi-escape-code-color
ansi-colors colors cpp python terminal
Last synced: 2 months ago
JSON representation
ANSI escape code color lookup
- Host: GitHub
- URL: https://github.com/blueskyson/ansi-escape-code-color
- Owner: blueskyson
- License: mit
- Created: 2021-09-19T12:34:40.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-12-11T07:45:15.000Z (over 3 years ago)
- Last Synced: 2025-02-09T00:29:25.873Z (over 1 year ago)
- Topics: ansi-colors, colors, cpp, python, terminal
- Language: C++
- Homepage:
- Size: 911 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aecc
**A**NSI **e**scape **c**ode **c**olor
A tool for looking up terminal color codes.
## Screenshots
Show background color labels:

Show font color labels:

Get ANSI escape codes by labels.

## Build
C++
```
$ cd cpp
$ make
$ ./aecc
```
Python
```
$ python python/aecc256.py
```
## Usage
```
Usage: [options] font background
ANSI escape code color lookup (256 colors)
Positional arguments:
font Specicfy font color by a number (e.g. 3). B[number] represents bold font (e.g. B122). 256 is the default color.
background Specicfy background color by a number (e.g. 5). 256 is the default background color.
Optional arguments:
-h --help shows help message and exits
-v --version prints version information and exits
-f --font Display font numbers.
-b --background Display background numbers.
```