• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Color Coding Text

It took me a long time to understand what the other tutorials for color coding meant, so I posted this.

To color code text, you have to type |c at the beginning of what you want to color. After that, but before any of the colored text, put 00, and then the code for the color.

To find A code for colors, use the simple math equation # x 16, where # is the number being multiplied (chart of possible numbers listed below). Then, add another number to the equation. Use addition add the answer to the first equation to the number you've chosen as the second. The answer to that is a number between 0 and 255. Then we use the RGB color system, like what you use for coloring units in the editor.

After those, you should have this: |c00RRGGBBText. Then you add |r to the end. Replace the R's with the number (what you used in the order that you used them) for red, G's for green, and B's for blue. Example below:

Chart on the right side, example in the middle. Don't use numbers in (), use the letter that they are next to.


1 Green
2 16
3 x 8 (8)
4 = 128
5
6 128
7 + 12 (C)
8 = 140
9
A (10) |c00008C00Text|r
B (11)
C (12) 8 was used first, and this is for a green, so we use that instead of
D (13) the first G. C (12) was used second, so we use that instead of the
E (14) second G.
F (15)


Questions? Comments? Send me a private chat message. If you want a list of certain color type, private chat me and I will send you some.
 
Top