Metadata-Version: 2.1
Name: colordithering
Version: 0.6
Summary: Color strings using ANSI escape codes. Uses "dithering" to attempt to match the specified RGB value as close as possible.
Home-page: https://github.com/ingobeans/terminal-rgb-color-dithering
Author: ingobeans
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: colorama>=0.4.6

A package to color text with ANSI escape codes, but takes in an RGB value and uses dithering to try match it.

The colorize_text function accepts a string and a RGB tuple. It returns the colorized string.
To see the package in use you can try the run_example function.

Example usage:
```python
import colordithering

text = '''
███████████████████████████████████
██████████ Hello World! ███████████
███████████████████████████████████
'''

color = (255, 125, 0) # orange color
print(colordithering.colorize_text(text, color))

```
