• 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.

colors of wc3

Status
Not open for further replies.
Level 4
Joined
Dec 15, 2007
Messages
108
hi guys where i can find a chart where i find this |cffffcc00D| and the color which is bind on it? :con: so color number and color :p
 
Level 18
Joined
Aug 13, 2007
Messages
1,584
Ok, here we go.

Color system in Warcraft is 256 RGB, in other words, it mixes red, green and blue.

Colors values are from 0 to 255 in 16 count system.


0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
a = 10
b = 11
c = 12
d = 13
e = 14
f = 15

There are two symbols for each letter, the first is multiplied by 10, the second is multiplied by 1
So, red value of f5 for example is equal to f*10 + 5*1 = 15*10 + 5*1 = 155, not so red.
If it is 5f, this is 5*10 + f*1 = 50 + 16 = 66, less red.

So, the code in warcraft has two more symbols: for trasparency, they are the second 2. 00 means transparent text, ff means opaque text.

So:

The code begins with |c
Then the two symbols for transparency
The the two for red
The two for green
The two for blue

|cxxxxxxxx <text> |r

Color 000000 is black, color ffffff is white.

If you calculate properly, you will achieve the desired color.

I forgot, there is a table. Here you go.
 

Attachments

  • net216-2.jpg
    net216-2.jpg
    66.6 KB · Views: 176
Status
Not open for further replies.
Top