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

[General] How do you do coloured text?

Status
Not open for further replies.
Level 8
Joined
Apr 26, 2016
Messages
392
I thought this unit was meant to be one of Van Durce's elite soldiers, that's what it looked like to me at least


BTW Shar if you want the Corrosion Aura to be displayed in red like a negative buff rather than in green re-title it to |CFFFF0000Corrosion Aura|r in the buff editor.
How do you change the colour of take devotion aura for example and I want the word devotion to be blue text yeah how do you do that?
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
Its the hex representation of the rgba color format.
Rgba color codes are made out of 4 numbers, each in the range of 0 and 255.
R for red
G for green
B for blue
A for alpha (but in tooltips, this value is not used)

If you want a green color for example, you could take R0 G255 B0 A0
On the internet you can find massive lists of nice looking combinations

Hex representation displays each number in a 2 character, base 16 format. 00 being 0 and FF being 255
This is done to always have the color codes in the same length (6 characters for rgb or 8 for rgba)

If you google for something like "rgb to hex" you will find many converters to give you the hex format.
If you type in the color code itself in google, it will even convert it for you by itself.

In warcraft 3, i think that the order is ARGB, so 00FF0000 would be red
 
Level 11
Joined
Aug 6, 2009
Messages
697
How do you change the colour of take devotion aura for example and I want the word devotion to be blue text yeah how do you do that?

This is what you are looking for: Warcraft 3 Colorizer Just type in your text and click the color you want, and then hit generate. You can use this or Jass New Gen, it has colorizer features built into the object editor.
 
Status
Not open for further replies.
Top