Skip to content

dostuffthatmatters/python-tailwind-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

poetry add tailwind_colors
# or
pip install tailwind_colors

Usage:

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)