void = SetTemplateColorName(nIdx, nColorName)
list of the colors defined in a template
// at the beginning of diary generation
// set the second template color to CYAN
sColorName = SetTemplateColorName(2, 'CYAN')
•The value of the parameter nIdx is limited to the values 1, 2, or 3.
•This function changes the color referred to by one of the template colors; it does not simply rename it. This means that there must already be a color of the name nColorName in the list of colors in the current template.
•The change made by a call to this function remains for the remainder of the current diary generation (or until another call is made to the same function).