An open API service indexing awesome lists of open source software.

https://github.com/dostuffthatmatters/python-tailwind-colors

Use the default color palette from TailwindCSS in your Python code
https://github.com/dostuffthatmatters/python-tailwind-colors

color colorpalette css design library matplotlib plotting pyplot python tailwind tailwindcss

Last synced: 6 months ago
JSON representation

Use the default color palette from TailwindCSS in your Python code

Awesome Lists containing this project

README

          

# Python Tailwind Colors

Use the default color palette from TailwindCSS (https://tailwindcss.com/docs/customizing-colors) in your python code for plotting, image generation, etc..


**Installation:**

```bash
poetry add tailwind_colors
# or
pip install tailwind_colors
```


**Usage:**

```python
from tailwind_colors import TAILWIND_COLORS_HEX, TAILWIND_COLORS_RGB

print(TAILWIND_COLORS_HEX.FUCHSIA_600) # prints '#c026d3'
print(TAILWIND_COLORS_RGB.FUCHSIA_600) # prints (192, 38, 211)
```