Well, you need to add a var, so at the top where all of the vars already there, you need to add this:
Code:
var font_color = "#C100C1"; //You can change this to any hex code you want, or rgb. Doesn't matter.
Then change this line of code:
Code:
output += "<font style='font-size: "+ q +"pt'>" +tekst[s].substring(w,w+1)+ "</font>";
To this:
Code:
output += "<font style='font-size: "+ q +"pt;color: "+font_color+"'>" +tekst[s].substring(w,w+1)+ "</font>";
What this is doing is adding the color thing to your style with the var font_color, then you need to cahnge this line[a few lines under the previous]:
Code:
output += "<font style='font-size: " + size + "pt'>" +tekst[s].substring(k,k+1)+ "</font>";
To this:
Code:
output += "<font style='font-size: " + size + "pt';color: "+font_color+"'>" +tekst[s].substring(k,k+1)+ "</font>";
Bookmarks