title: How to set font color for Excel header text using JAVA
body: <p>I am trying to set a font color of header text of Excel sheet using Apache POI. As attached screenshot. My code is,</p>
  <pre><code>    Footer footer = sheet.getFooter();
      footer.setLeft(HSSFHeader.font(footerFontName, &quot;Regular&quot;) +
                               HSSFHeader.fontSize((short) footerFontSize) +
                               footerInfo);
  </code></pre>
  <p>How to set header text in red color using JAVA Code.</p>
  <p><a href="https://i.stack.imgur.com/JXWzr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JXWzr.png" alt="enter image description here" /></a></p>