charettes / django-colorful

Extension to the Django web framework that provides database and form color fields
https://pypi.python.org/pypi/django-colorful
MIT License
169 stars 58 forks source link

return RGBa #53

Open hazho opened 3 years ago

hazho commented 3 years ago

Type of Issue: feature suggestion

description: sometimes there is a need for alpha value side by side the RGB value, we can achieve this by adding another field for alpha, but imagine a use-case that needs to add more than a single color(for example a global theming colors of a website), therefore, it will be better to save and return the entire value as single value (RGBa). this is a great feature for serializers within APIs and headless front-ends as well