Guide To Colour Codes

Posted by bL4cK_m0p on Sunday, May 2, 2010

What are Colour Codes? What are They for?

Colour codes are just a code placed in a tool tip or description in the Warcraft WE. Colour codes allow you to colour your text.
With it you can make many different colours. It is great when you want to highlight a specific thing.

Now. Before I get any further you must know one thing. The colour code is shown like this: |cTTRRGGBB"Ooo! Nice Text!"|r
-----------------------------------------------------------------
What Does it mean?

|c - This is extremely important! It tells Warcraft that it needs to use the colour code after it. Without it your text would look like this: "005599FFOoo! Nice Text|r"

TT - This is less important. This is the transparency of the text. Type FF or 00 or what you want. They game doesn't use it, but it checks to see if its there, if not, then the colour code wont work.

RR - This is how much red is in the colour you are mixing up.

GG - This is how much green is in the colour you are mixing up.

BB - This is how much blue is in the colour you are mixing up.

Getting the | - to get the | you can press shift+\, or to get the |, you must press Alternative Gr. + 6 : |
(Alt Gr if you don't understand, at right of the espace button)
~depends on keyboard

|r - This is important too. It tells Warcraft that the colour code is done and to stop colouring text, it is not needed if you want all after the code to be coloured.
--------------------------------------------------------------------------
The Code

So, now you know what a colour code is and the basic layout. But, you don’t know what you replace "TTRRGGBB" with. I will explain that here.

The colour code is split into 4 sections, transparency, red, green, and blue. You know that but you replace them with numbers and a few letters in increase the amount of that colour. Like when you change blue and green on a unit in the object editor to 0, it will be red. So, when the blue and green in the colour code are empty the text will be red.

There is 15 numbers used in the colour code that replace the "TTRRGGBB" .But, there is only 10 single diget numbers, looks like you need to improvise. They are replaced with 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A(10), B(11), C(12), D(13), E(14), F(15). Each section is made up of two of the digets combined to make a tint or tone of the colour.

Colour Code........0-255
00.....................0
11.....................17
22.....................34
33.....................51
44.....................68
55.....................85
66.....................102
77.....................119
88.....................136
99.....................153
AA.....................170
BB......................187
CC.....................204
DD.....................221
EE.....................238
FF.....................255


 --------------------------------------------------------------------------
Some Helpful Colours

That show help you with creating those nice tooltips. But here are some that you would probably use most.

Red FFFF0000
Lime FF00FF00
Blue FF0000FF
Orange FFFFA500
Green FF008000
Purple FF800080
Pink FFC0CB
Gold FFFFD700
Black FF000000



White FFFFFFFF

Click like button.

Share to your friends :

{ 0 comments...Please Leave Your Comment }

Post a Comment