Metadata-Version: 2.1
Name: ttpalette
Version: 0.1.1
Summary: A library for coloring texts in the terminal
Author-email: kinite-gp <kinitegp@gmail.com>
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# TTPALETTE
### A library for coloring texts in the terminal

This library works with [ANSI escape code](https://en.wikipedia.org/wiki/ANSI_escape_code)

### 256 Color table

The photo is from [here](https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797)<br>
![256 Color table](https://user-images.githubusercontent.com/995050/47952855-ecb12480-df75-11e8-89d4-ac26c50e80b9.png)


## Install

```
pip install ttpalette
```


## Examples

#### Use a specific color

```python
from ttpalette import ttpalette

ttpalette.BackColor().list_costum_colors(14)
ttpalette.Color().list_costum_colors(14)
```

#### Use a solid color

```python
from ttpalette import ttpalette

ttpalette.Color.RED()
ttpalette.BackColor.RED()
```

#### Fixed colors available

```
BLACK
RED
GREEN
YELLOW
BLUE
MAGENTA
CYAN
WHITE

RESET

```

#### Back to normal

```python
from ttpalette import ttpalette


ttpalette.Color.RESET
ttpalette.BackColor.RESET
```
