title: Set background color for heading in export CSV format in laravel maatwebsite
body: <p>I am trying to set background color for the below export CSV file. But background color is not setting for the first row. Its only works for the xls format. Please help. Thanks in advance.</p>
  
  <pre><code>$fileName = $filename."_".date('dmYHis');                                                                                                                       
          \Excel::create($fileName,function($excel) use($newarray){
              $excel-&gt;setTitle('Tasks');
              $excel-&gt;setCreator('Admin');
              $excel-&gt;setCompany('Company');
              $excel-&gt;setDescription('Time Sheet');
              $excel-&gt;sheet('sheet1',function($sheet) use($newarray){                             
                  $sheet-&gt;fromArray($newarray, null, 'A1', false, false);
                  $sheet-&gt;cells('A1:N1', function($cells) {
                           $cells-&gt;setBackground('#AAAAFF'); 
                  });
              });
  
          })-&gt;download('csv');                                                            
  </code></pre>