Properly apply palette

Applies the palette during the draw stage.

We still need to get rid of the sub series of columns and rows, as they
do not respect the provided colours.
Fix Testing issues

A few corners of the library which appear to be being tested for the
first time with unexpected parameters (empty arrays, empty strings, etc.)
50 shades of blue

Well, 5 shades.