Skip to main content

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

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tailwind_colors-1.3.0.tar.gz (14.4 kB view hashes)

Uploaded Source

Built Distribution

tailwind_colors-1.3.0-py3-none-any.whl (13.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page