TODO
----

- document PALETTE_SIZE
- colours as negative numbers (undocumented TC feature): add 16?
- documentation: provide an example for each function

Your suggestions are welcome!
