Binary package “python3-colour” in ubuntu jammy
converts and manipulates various color representation - Python 2.X
Converts and manipulates common color representation (RGB, HSL, web, ...)
.
Features:
.
* Damn simple and pythonic way to manipulate color representation
* Full conversion between RGB, HSL, 6-digit hex, 3-digit hex, human
color
* One object (Color) or bunch of single purpose function (rgb2hex,
hsl2rgb, ...)
* web format that use the smallest representation between 6-digit
(e.g. #fa3b2c), 3-digit (e.g. #fbb), fully spelled color
(e.g. white), following W3C color naming for compatible CSS or HTML
color specifications.
* smooth intuitive color scale generation choosing N color gradients.
* can pick colors for you to identify objects of your application.