HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to create/use color codes

12-18-2002, 08:38 PM#1
Guest
Color codes are those weird combinations of symbols and stuff, like "|c000080FF|r" --> (This code will display text messages in orange, I have read this it in a totorial)

There are many codes, but I can't figure out how to make my own combinations so I can't create my own colors.

First of all, I know the basic structures of color codes.
They alway start with "|c" and (sometimes) end with "|r"
But there are combinations of letters and stuff inbetween them.
I tried to search for a totorial, but I can't find anything. Only one, but the explanation wasn't there.

Here are a few examples of codes I found in other w3 maps -->
-------------------------------------------------------------------------------
|cff00ffff = Lightblue
|cFFFFFF00 = Yellow
|c00ff2222 = Red
|cffffcc00 = Gold
|c000000ff = Green
|c0000ad00 = Blue
|r = End of script :...:
--------------------------------------------------------------------------------
Please explain how I can create them myself.

In my Towerdefense map, I use these codes too, just to display text messages to other players in color. I imported all the codes from existing wc3 maps. (becouse I didn't know how to make them myself, duh!:Heh:)

:(I hope someone can help me!:(