Kernel for coloured output