• 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

Status
Not open for further replies.
Level 13
Joined
Jul 4, 2005
Messages
1,064
It is really impossible to list all colors.

Colors are stored as 3 2-char hex values [from 00 - 0 to FF - 255], in RGB order [first value defines red, second green and last blue], plus 2-char hex value descripting transparency, so standard color code looks like:

|c00ffffff|r

Syntax:
|c - defines start of color definition
00 - 2-char hex value [0 - 0, 1 - 1... etc. A - 10, B - 11... etc. F - 15, FF - 255 [max]] descripting transparency
ff - same as above, destripting red color
ff - same as above, but green
ff - same as with transparency, but blue
|r - end of color definition

All colors set to 00 gives black, all colors set to FF gives white. 00FF00 gives green and FFFF00 gives yellow. But I strongly suggest to use any of color managers, as they are easy in use.
 
Level 9
Joined
Oct 28, 2004
Messages
533
meh, i just look up HTML Colors on google, and pick one of them, then just add it to |cff######TEXT|r
Pour Example: (dont ask)
|cff######TEXT|r
+
00ffffZyl Soulsucker
=
|cff00ffffZyl Soulsucker|r
 
Status
Not open for further replies.
Top