so every time a user types something, i have to use the /color command and echo using that slot?
No, if you use say
/color 8 7693989 it changes the RGB value of $color(8), you can reset it
/color -r 8 or change it again but until you do it will stay as 7693989.