Colourettu is a collection of colour related functions.
Colourettu is a small collection of colour functions in Python. These can be used to determine the (relative) luminosity of a colour and the contrast between two colours. There is also the palette class for dealing with a ‘list’ of colours.
pip install colourettu
Full documentation is available at http://minchin.ca/colourettu/
Full changelog is available at http://minchin.ca/colourettu/changelog.html
Colourettu is licensed under the MIT license.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.