Rank Prefixe's Changing color, Please help <3

Hey! I’m pretty new to lua :slight_smile: And I’ve just made myself a deathrun server, it’s going pretty well with a decent playerbase, and I’ve also managed to get myself Chat Tags v.2 or smth.
And I’ve seen some pretty fancy tags that change colors on other servers, for example [VIP] <— If that’s the rank, it changes frm gold to black, and back to gold again.
I think you get my point, any nice developers out there that can tell me how to make this work?

The GM12 wiki has a great tutorial here: https://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index6395.html#Fading_Between_Two_Colors

Lerp is a great function for transitioning between two points at the same rate, whether that be colours, vectors, or a single value.

Thanks for such a quick response <3

[editline]20th July 2015[/editline]

I’m a very new coder, So I’ll probably not even figure out how it works.