title: Libxl background colors
body: <p>I am trying to get custom colors working in libXL, 
  I noticed there are like 80 basic colors or so in the library,
  does anyone know how to set a custom color for a cell using this library since in the documentation there is not any kind of information related to it. </p>
  
  <p>Right now I have tried to do the following: </p>
  
  <pre><code> $doc = new XL_excel(true);
   $createSheet = $doc-&gt;createSheet();
            for( $i=0; $i&lt;32000; $i++ ){
               $format = $doc-&gt;excel-&gt;addFormat();
               $format-&gt;patternForegroundColor($i);
               $format-&gt;fillPattern(ExcelFormat::FILLPATTERN_SOLID);
               $doc-&gt;excel-&gt;getSheet()-&gt;setCellFormat(8+$i, 2, $format);
           }
  </code></pre>
  
  <p>All the colors I get for this library are Integers from 1 to 80
  after that I get no colors or repeated ones, I have tried using integers until 32000</p>
  
  <p><a href="https://i.stack.imgur.com/u5Epm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u5Epm.jpg" alt="enter image description here"></a></p>