1//This is in RGB since it's the one I'm most used to
2function FontColor(r,g,b,textHolder){
3 textHolder.style.color = "rgb("+r+","+g+","+b+")"
4}
5
6//This will make the font color of the "text" box yellow
7const text = document.getElementById("TextHolder")
8FontColor(255,255,0,text)