Warcraft III resources & community, 2003–2006 · archived

How to put colour into text

5 posts
#1

How to put colour into text

How do you change the colour of text :?: i see some maps that have coloured titles and text and i don't know how could somone plz show me :D
#2
Download any of the color programs here from the site, then choose the color you like and click on it (in the program ofc.) and the code for the color shows up. That code you then place infront of the text youd like to have that color. :)
#3
Yeah, download a Color Managerfrom the website, they are very easy to use :D
#4
Just learn hex, you won't have to mess with programs at all. to make color text in world editor, type
|cff######(text)|r

The first two #s are the amount of red, the next two are blue, then green. If you want red text, type
|cffff0000(text)|r

For blue,
|cff00ff00(text)|r

And green,
|cff0000ff(text)|r

FF is the highest amount, because the digit system is different. The digits go 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f. So what is normally "10" is actually one digit "a".
#5
Color syntax: c|ffffffff

c| begins color definition
First ff descripts transparency.
ff, ff and ff descripts red, green and blue color. Min. value is 00 and max. is FF [255 in decimal]. Values are in hexadecimal code.

|r returns default color.