change template color google doc code example Example: google sheet script change text color myRange.setColor("black");