canvas color attribute code example Example: javascript context color context.fillStyle = "Green"; context.fillStyle = "#FF0000";