set font color of text in canvas in itext code example Example: canvas font colour context.fillStyle = 'white';