• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Text colour & hotkey text

Status
Not open for further replies.
Level 3
Joined
Apr 9, 2008
Messages
42
I want to make it so in the spells name it has a letter which is coloured for the hotkey. Also if anyone knows how to change the colour of text that'd be awesome thanks.
 
Level 28
Joined
Jun 4, 2007
Messages
1,479
Color codes are built up with 8 numbers. Each number symbolizes a color.
First two = I'm not sure about those
Second = Red
Third = Green
Fourth = Blue
So they look like this:
|c??RRGGBB

The numbers are taken from the hexadecimal system of numbers. There are a total of 16 numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F. Higher number makes a brighter tone of the color. The highest number (F) on all makes the color white. The lowest (0) makes it black.

Red Code: |c00FF0000
Green Code: |c0000FF00
Blue Code: |c000000FF
Yellow Code: |c00FFFF00
The one used to display hotkeys in WE is |cffffcc00
 
Status
Not open for further replies.
Top