C
Chris
Guest
I was just wondering how you add colour to your in game text messages.
sqrage said:here i found this, is should convert the 6digit ones to the ones WC3 uses for you...
As you say, for blue there's #0000FF. Take off the # sign, then put |cff before that, the text after, and |r at the very end. For example:chris said:Oh! stupid me i read something wrong. I got it now, but I have one more question. On the tutorial page, there's a link that brings u to a site where there are alot of custom colours. it has 2 codes on the right side. for example, for blue there is 0 0 255 and #0000FF. How would i apply this to my text messages?
Laika. said:What do you mean? WC3 does use the 6 digit ones:
|cffRRGGBB[TEXT HERE]|r
The "|c" means 'this is the start of a color code', like the html tag <color>. The first "ff" is for transparency, which is always 100%, FF or 255; In percent, hex and decimal, respectively. Then you have the SIX DIGIT hex color code. Then the text to change, and finally the "|r" which is like the closing tag </color>.