• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

What are the color codes for text?

Status
Not open for further replies.
Level 14
Joined
Mar 23, 2011
Messages
1,436
Can someone give me a list of text color codes?
For Example: |cffffcc00(TEXT)|r
P.S. i need red the most
 

Bannar

Code Reviewer
Level 26
Joined
Mar 19, 2008
Messages
3,140
http://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
 
Level 2
Joined
Dec 10, 2010
Messages
8
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:
Level 14
Joined
Mar 23, 2011
Messages
1,436
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
 
Level 14
Joined
Mar 23, 2011
Messages
1,436
Xian, have you read my post? download war3 model editor, it got every aviable color. Once again go: Extras -> colored text.

I Already have that like 3 months ago but i didnt know it can do that
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
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.
Top