What are the color codes for text?

Status
Not open for further replies.
Level 14
Joined
Mar 23, 2011
Messages
1,431
Can someone give me a list of text color codes?
For Example: |cffffcc00(TEXT)|r
P.S. i need red the most
 
https://www.hiveworkshop.com/forums/tools-560/war3-model-editor-62876/
Download this amazing tool (about 5sec with instaling)
Fire it, and on taskbar click Extras -> clored text, choose whatever you wish.

EDIT for futher using colored text via triggers (using substrings):
  • Text - Change text of (Last created floating text) to (|cffffcc00 + (your text + |r)) using font size 10.00
 
AFAIK those color codes are ARGB codes (alpha-red-green-blue), and in hexadec format (so ff=255, 00=0).
|cffff0000(text)|r is red,
|cff00ff00(text)|r is green,
|cff0000ff(text)|r is blue,
|cffffcc00(text)|r is yellow.
00 means, that you don't use that color, ff means that you use maximal amount, and everything between means less or more color, after that it's just mixing them (like paint).
 
Last edited by a moderator:
Sorry for troubling you people, its just that i have a project that needs work,and im a noob at triggers,i dont even know what JASS means
 
If you have not noticed, it takes a 8 character long string of hex.
The characters refer to it as follows (based on the post by Padman)
AARRGGBB

AA is alpha and should always be max (ff).
RR, GG and BB are red green and blue colour components and are in the range of 00 (0) which is none and ff (255) which is maximum intensity.

Hexadecimal is a base 16 number system.
Deciman is the normal number system.
Binary is a 2 state number system.

bin 01
dec 0123456789
hex 0123456789abcdef
 
Status
Not open for further replies.
Back
Top