title: Creating Excel document with OpenXml sdk 2.0
body: <p>I have created an Excel document using OpenXml SDK 2.0, now I have to style It, but I can`t.</p>
  
  <p>I don't know how to paint the background color or change the font size in different cells.</p>
  
  <p>My code to create a cell is: </p>
  
  <pre><code>private static Cell CreateTextCell(string header, string text, UInt32Value index)
  {
      Cell c = new Cell();
      c.DataType = CellValues.InlineString;
      c.CellReference = header + index;
      InlineString inlineString = new InlineString();
      DocumentFormat.OpenXml.Spreadsheet.Text t = new DocumentFormat.OpenXml.Spreadsheet.Text();
      t.Text = text;
      inlineString.AppendChild(t);
      c.AppendChild(inlineString);
      return c;
  } 
  </code></pre>