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

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,480
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