sheets.rows.cells.color String (default: null)

The text color of the cell. Supports hex CSS-like values that start with #, for example, #ff00ff.

Example - setting the cell text color

<script>
var workbook = new kendo.ooxml.Workbook({
  sheets: [
      {
          rows: [
            { cells: [ { value: "red", color: "#ff0000" } ] }
          ]
      }
  ]
});
kendo.saveAs({
  dataURI: workbook.toDataURL(),
  fileName: "Test.xlsx"
});
</script>
In this article