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
- Host: GitHub
- URL: https://github.com/dostuffthatmatters/python-tailwind-colors
- Owner: dostuffthatmatters
- License: mit
- Created: 2023-02-21T00:26:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-13T13:32:29.000Z (7 months ago)
- Last Synced: 2025-06-13T14:05:14.497Z (7 months ago)
- Topics: color, colorpalette, css, design, library, matplotlib, plotting, pyplot, python, tailwind, tailwindcss
- Language: Python
- Homepage: https://pypi.org/project/tailwind-colors/
- Size: 41 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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)
```