title: creating pdf with solid color as background pdfmake
body: <p>I’m developing an app that creates pdfs automatically. Using the pdfmake, I can create the pdf easily but I can’t find anywhere how to put a background on the pdf. I found how to put images as a background but I can’t find how to put a solid color.</p>
  
  <pre><code>var docDefinition = {
    pageSize: 'A3',
    content: [{
      text: $globals.mural.name,
      style: 'header'
    }, {
      image: uri,
      width: size.width,
      height: size.height,
      margin: size.margin,
      alignment: 'center',
    }],
    styles: {
      header: {
        alignment: 'center',
        fontSize: '70',
        font: 'LaneNarrow',
        color: $globals.mural.layout.textColor
      }
    }
  };
  </code></pre>