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

The text color of the cell. Supports hex CSS-like values that start with "#" e.g. "#ff00ff".

Example - set 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
Not finding the help you need?