$rtf->prolog( 'title' => "Color Test", 'colors' => [ undef, [0,0,0], [255,0,0], [0,255,0], [0,0,255], [255,128,0], [255,255,0], ], ); #PRINT ERRORS IN RED $rtf->printf( \'{\fs20\lang1036\noproof\cf2\chcbpat1 %s} \par ', "$_\n"); }