Initial implementation of coloured output using painter