Colourettu version 2.1 documentation


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.

To install colourettu, the easiest way is to use pip:

pip install colourettu

Find what to read more using the Documentation Table of Contents (or use the ‘next’ button).

Note on Spelling

I have used the Canadian/British spelling of colour through this and the code.


Colourettu is licensed under the MIT license. Read full license.